I already have vue-cli 3.5.5 installed. When I run vue create myapp
, it shows message Update available 3.6.2
.
Vue CLI v3.5.5
┌───────────────────────────┐
│ Update available: 3.6.2 │
└───────────────────────────┘
How to upgrade vue-cli to the latest version?
When I run npm i -g vue-cli
it installs vue-cli version 2.9.6 instead of upgrading the existing vue cli version.
OS: Ubuntu 18.04.1.
node version: 10.15.3.
nvm version: 0.34.0.