Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1006 Bytes

installation.md

File metadata and controls

26 lines (19 loc) · 1006 Bytes

Installation

::: danger The package name changed from vue-cli to @vue/cli. 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. :::

::: tip Node Version Requirement Vue CLI requires Node.js version 8.9 or above (8.11.0+ recommended). You can manage multiple versions of Node on the same machine with nvm or nvm-windows. :::

To install the new package, use one of those commands:

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:

vue --version