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