I usually work on Windows and i'm trying to install Vue desperately on my mac with all possible ways but when i check on type Vue
or vue --version
, i systematically receive zsh: command not found: vue
All command i trying :
npm install -g @vue/cli@latest
sudo npm install -g npm@latest
sudo npm install -g npx@latest
sudo npm install --global @vue/cli@latest
yarn global add @vue/cli
npm install -g @vue/cli
I also tried to change the .zhsrc file with /Users/mac/.zshrc
to add :
export PATH=$PATH:/Users/mac/.npm-global/bin
...but still doesent work