install required packages vue code example Example: npm install cli vue npm install -g @vue/cli # OR yarn global add @vue/cli