Vue CLI 3 uses the same vue binary, so it overwrites Vue CLI 2 (vue-cli).
If we still want to use the vue init
command when the Vue CLI 3 is installed, we need to install a global package :
npm install -g @vue/cli-init
This package enable vue init
command again, @vue/cli-init
is an alias to the old vue-cli@2.x.
Usage
$ vue init <template-name> <project-name>
Example:
$ vue init simple my-project
Go and see the vue-cli official templates list on npmjs.com or vuejs-templates
See also Pulling 2.x Templates (Legacy) on Vue doc