Vue.js is an open-source front-end framework that has gained popularity due to its developer-friendly language, ease of use, and well-documented features. Vue 3, the latest version released in September 2020, brings significant improvements and introduces some breaking changes. Here’s a step-by-step guide on how to install Vue 3:
1. Install Node.js and NPM:
- Download Node.js and NPM if you don’t have them installed on your computer.
- You can check if Node.js is installed by running
node -v, and NPM withnpm -v. Make sure you have at least Node.js version 10. - If not installed, you can download Node.js from their website. It’s recommended to choose the LTS (Long-Term Support) version for stability.
- Install Node.js as you would with any other software.
2. Setup
Open your terminal and run the command
npm create vue@latest.
If you encounter authorization issues, run the command with sudo on macOS or Linux, and provide your administrator password.
This command will install the official Vue project You will be presented with prompts for several optional features such as TypeScript and testing support:

If you are unsure about an option, simply choose No by hitting enter.
3. Run the Project:
- Once your project is created, navigate to the project directory using
cd my-project-name. - Start the development server by running
npm run dev. - You can also use the Visual Studio Code editor to manage your project. Open your project folder in Visual Studio Code and use its integrated terminal to run
npm run dev.
The development server will launch, and you’ll receive URLs, including a localhost URL for local testing and a Network URL for testing on other devices, such as mobile phones.
With these steps, you’ll have a Vue 3 application up and running on your computer. This guide covers the installation and setup process.
