how to upgarde vue cli 3 to 4 code example Example: vue cli upgrade npm update -g @vue/cli # OR yarn global upgrade --latest @vue/cli