add folder to path code example
Example 1: add directory to path windows 10
setx /M PATH "%PATH%;<your-new-path>"
Example 2: how to add a directory to path
export PATH="$HOME/bin:$PATH"
Example 3: how to add a directory to path in linux
export PATH="$HOME/bin:$PATH"
Example 4: how to add a directory to path in linux
nano ~/.bashrc