
We recommend using a version manager as versions change very quickly. Install nvm-windows, node.js, and npmīesides choosing whether to install on Windows or WSL, there are additional choices to make when installing Node.js. Take your first steps with Vue.If you are using Node.js professionally, find performance speed and system call compatibility important, want to run Docker containers that leverage Linux workspaces and avoid having to maintain both Linux and Windows build scripts, or just prefer using a Bash command line, then install Node.js on Windows Subsystem for Linux (more specifically, WSL 2).Should I install on Windows or Windows Subsystem for Linux (WSL)?.You must use the -g flag to globally install in order to upgrade ( vue upgrade -next): npm install -g learn more about additional plugins that can be added (such as linting or Apollo for integrating GraphQL), visit Vue CLI plugins in the Vue CLI docs. If you are not building a new single-page app, you may not need or want Vue CLI. Vue CLI is a globally installed npm package that handles some of the build complexities (like using Babel or Webpack) for you.

It enables you to quickly scaffold a new project (vue create), prototype new ideas (vue serve), or manage projects using a graphical user interface (vue ui). Vue CLI is a toolkit for working with Vue in your terminal / command line. See the Vue docs for an Explanation of different Vue builds. To install Vue.js using a CDN, rather than NPM, see the Vue.js install docs. Install Vue.js using Node Package Manager (npm):Ĭheck the version number you have installed by using the command: vue -version. Windows Command Prompt or PowerShell).Ĭreate a new project folder: mkdir VueProjects and enter that directory: cd VueProjects. The Node Package Manager (npm) is used to install Vue.js.

For more info, see Should I install on Windows or Windows Subsystem for Linux?. We generally recommend that you install Vue on WSL if you are planning to interact with a NodeJS backend, want parity with a Linux production server, or plan to follow along with a tutorial that utilizes Bash commands. Vue can be installed directly on Windows or on the Windows Subsystem for Linux (WSL). A guide to help you set up a Vue.js development environment on Windows.
