Warning regarding Previous Versions
The package name changed from
If you have the previous
vue-cli (1.x or 2.x) package installed globally, you need to uninstall it first with
npm uninstall vue-cli -g or
yarn global remove vue-cli.
Node Version Requirement
To install the new package, use one of the following commands. You need administrator privileges to execute these unless npm was installed on your system through a Node.js version manager (e.g. n or nvm).
npm install -g @vue/cli # OR yarn global add @vue/cli
After installation, you will have access to the
vue binary in your command line. You can verify that it is properly installed by simply running
vue, which should present you with a help message listing all available commands.
You can check you have the right version (3.x) with this command: