1) You have two ways to install Vue CLI
2) I tried to use "npm install -g @vue/cli" but It was not working for me:P
3) Then I tried to use the other way "yarn global add @vue/cli"
4) It said that YARN is not recognized (I have not installed YARN yet)
5) Then I installed it with "npm install -g yarn"
6) Then I cheked the version of YARN with "yarn --version" to see if It is successfully installed
7) I got an error that said something similar to this "yarn : cannot be loaded because running scripts is disabled on this system."
8) Then I solved it with this "Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass" and i choosed "YES TO ALL"
9) Then I typed "yarn --version" and it said something like 1.22.10 which mean that Yarn is installed
10) Then I tried to use again "yarn global add @vue/cli"
11) Then I checked if is Vue CLI installed with "vue -V" and it said something like @vue/cli 4.5.9 which means that Vue CLI is
installed.
Watch video Vue CLI won't install (npm install -g @vue/cli won't work) online without registration, duration hours minute second in high quality. This video was added by user Weird Blue Sand 20 November 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,017 once and liked it 28 people.