Env Variable Path
Setting up Environmental Variable Path
- Write the following to the
.bashrc
:1 2
export PATH_TO_NODE="C:\Users\Hello\AppData\Roaming\npm;C:\'Program Files'\nodejs" export PATH="$PATH:$PATH_TO_NODE"
- Then, use the following command to see your new environment variable.
1
env|grep PATH
This post is licensed under CC BY 4.0 by the author.