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