npm install vue cli specific version code example
Example 1: install vue cli
npm install -g @vue/cli
//to see the version installed
vue --version
Example 2: vue create npm package manager
vue create hello --packageManager npm