update vue and vue cli code example
Example 1: vue cli upgrade
npm update -g @vue/cli
# OR
yarn global upgrade --latest @vue/cli
Example 2: npm install cli vue
npm install -g @vue/cli
# OR
yarn global add @vue/cli
npm update -g @vue/cli
# OR
yarn global upgrade --latest @vue/cli
npm install -g @vue/cli
# OR
yarn global add @vue/cli