Path
Table of Contents
Check the PATH
Linux
To check the PATH, logged in as yourself, run the command (from the system terminal), type
env | grep PATH
Windows
Open git bash and run this
$ echo ~
/c/Users/vardh
“" is usually your ~C:\Users\<your user name>
folder. Typing echo ~
in the Git Bash terminal will tell you what that folder is.
Path issues
If you see an error like this:
The command could not be located because 'usr/bin' is not included in the PATH environment variable
edit .bashrc
in your home directory (.zshrc
in Macbook) and add the the following line:
export PATH="/path/to/dir:$PATH"
You will need to source your .bashrc
or logout/login (or restart the terminal) for the changes to take effect.
To source your .bashrc
, simply type
$ source ~/.bashrc