1. Path [during installation path is shown]/Users/{your_username}/ .npm-global/bin
  2. Open the GUI with:sudo nano ~/.bash_profileenter your password
  3. Paste the copied path asexport PATH=$PATH:/Users/{your_username}/ .npm-global/bin
  4. Run:vue --version

export PATH=$PATH:/Users/siddharthshukla/.npm-global/bin

Leave a Comment