update global vue version code example
Example 1: vue cli upgrade
npm update -g @vue/cli
# OR
yarn global upgrade --latest @vue/cli
Example 2: install vue cli 3
installing vue cli commands
npm install --global vue-cli is now
npm install -g @vue/cli