How to Configure Your Terminal Path
If the terminal is unable to find an installed application, for example if you are using a version of node installed via webstorm so it is not in the standard location, then you may need to tell terminal where to find it.
To do this, you need to update the zprofile with the path to the application.
Open your username folder and show hidden files by pressing ctrl + shift + .
Locate the file called .zprofile and open it with TextEdit.
Add the following line:
export PATH="/Users/username/Library/Application Support/JetBrains/WebStorm2024.3/node/versions/22.13.0/bin:$PATH"
For the example, I have used with Node; you can check that it has worked by running the following terminal commands:
node -v
This will verify that node is installed if it able to give a version number.
which node
This will display the path to the installed version.