Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A guide to set up a Vue.js development environment on Windows. For background, see the Vue.js overview.
Vue can be installed directly on Windows or on the Windows Subsystem for Linux (WSL). If you plan to interact with a Node.js backend, deploy to Linux servers, or follow tutorials that use Bash commands, consider installing Vue on WSL instead.
Prerequisites
- Install Node.js on Windows: This includes a version manager, package manager, and Visual Studio Code.
Create a Vue project
The recommended way to start a new Vue 3 project is npm create vue@latest, which uses create-vue — the official Vite-based scaffolding tool:
Open PowerShell or Windows Command Prompt.
Navigate to your projects directory:
cd C:\Users\YourName\ProjectsCreate a new Vue project:
npm create vue@latestThe installer prompts you to name your project and choose optional features (TypeScript, JSX support, Vue Router, Pinia state management, Vitest, ESLint).
Navigate into the project folder, install dependencies, and start the dev server:
cd <your-project-name> npm install npm run devYour app will be available at
http://localhost:5173.
Additional resources
Windows developer