npm install -g @vue/cli
//then
vue create hello-world
cd vue_projects
vue create vue-project-name
//the project name MUST NOT have camelcase format
cd vue-project-name
npm run serve
Globally install vue cli:
npm install -g @vue/cli
to check if vue cli is installed:
vue --version
to create vue project, go to your project directory & then:
vue ui
---------------------------------------------------------------------
Update:
npm update -g @vue/cli
vue create my-project
# OR
vue ui
vue create hello-world
npm init vue@latest
The usual answer is given by default: just press enter if you are unsure