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.
Смотрите видео Vue CLI won't install (npm install -g @vue/cli won't work) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Weird Blue Sand 20 Ноябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,017 раз и оно понравилось 28 людям.