Go setup - export PATH=$PATH:/usr/local/go/bin

Hi everyone!
Started leaning go
I need to run export PATH=$PATH:/usr/local/go/bin everytime for new open terminal (linux ubuntu)
What is proper way to export it only once?

Hi, the best way is to add that command to .profile in your home directory.

Thanks Artur, its works with .bashrc