Post

Env Variable Path

Setting up Environmental Variable Path

  1. 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"
    
  2. 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.