1# update path only for the current session
2set PATH=%PATH%;C:\your\path\here\
3
4# update the path permanently
5setx /M PATH "%PATH%;C:\your\path\here\"
1Go here
2
3https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
1// Windows
2Settings > System > About > Advanced system settings
3Environment variables
1
2FOR MAC:
3
4 1º - Open Finder
5 2º - Choose Go > Go to folder
6 3º - Go to ~/Library/
7 4º - Look for hidden files: Cmd + Shift + . (dot)
8 5º - Depending on the shell you use, the file can be .bash_profile, or .bashrc, or .zshrc, ...
9 6º - Open that file in the text editor
10 7º - Add the new path like: export PATH="$PATH:"User/new_path/..."
11 8º - Test in your command line if it worked: echo $PATH
12