How to extend the $PATH environment variable #438
Unanswered
ConnorThomp
asked this question in
Q&A
Replies: 1 comment
-
In the home folder of the user that you are using should be a hidden file called |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I am a total noob when it comes to this sorta stuff, and was hoping someone would be able to help me out.
I am confused by this step:
To make the commands we install with npm available the $PATH environment variable needs to be extended as well. Edit the file ~/.profile (e.g. with nano ~/.profile) and add the PATH="$PATH:/opt/nodejs/bin" to the end of the file. Save, then run source ~/.profile.
Where am I meant to put the extra line of code? Any help would be appreciated, thank you! :)
Beta Was this translation helpful? Give feedback.
All reactions