Installation | vue version
NodeVersionRequirementVueCLI4.xrequiresNode.js[1]version8.9orabove(v10+recommended).YoucanmanagemultipleversionsofNodeonthesamemachinewithn,nvm[2]ornvm-windows[3].Toinstallthenewpackage,useoneofthefollowingcommands.YouneedadministratorprivilegestoexecutetheseunlessnpmwasinstalledonyoursystemthroughaNode.jsversionmanager(e.g.nornvm).npminstall-g@vue/cliyarnglobaladd@vue/cliAfterinstallation,youwillhaveaccesstothevuebinaryinyourcommandline.Youcanverifythatitisproperlyinstalledbysimplyrunningvu...
Node Version Requirement
Vue CLI 4.x requires Node.js[1] version 8.9 or above (v10+ recommended). You can manage multiple versions of Node on the same machine with n, nvm[2] or nvm-windows[3].
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 yarn global add @vue/cliAfter 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 with this command:
UpgradingTo upgrade the global Vue CLI package, you need to run:
npm update -g @vue/cli yarn global upgrade --latest @vue/cli Project DependenciesUpgrade commands shown above apply to the global V...