vuejs update project from npm code example Example: update vue version npm npm install -g @vue/cli --save # OR yarn global upgrade --latest @vue/cli