You can also set permanently, editing one of these files:
/etc/profile
(for all users)
~/.bash_profile
(for current user)
~/.bash_login
(for current user)
~/.profile
(for current user)
You can also use /etc/environment
to set a permanent PATH environment variable, but it does not support variable expansion.
Extracted from: http://www.sysadmit.com/2016/06/linux-anadir-ruta-al-path.html