I'm trying to install vue-cli with npm but I always get this error -bash : vue: command not found
when I check the version.
I've tried everything, uninstall and install again, I check here Vue command not found , but it still doesn't work.
Error :
iMac-de-stage02:~ stage02$ vue --version
-bash: vue: command not found
I installed vue-cli with :
npm install -g @vue/cli
My node version :
v10.15.3
My npm version :
6.9.0
when I run npm bin
:
/Users/stage02/node_modules/.bin
OS :
mac high sierra version 10.13.6
I also tried with yarn
but nothing changed.
Thanks in advance for your answer.