0Pricing
Vue Academy · Lesson

Vue CLI Installation

Install and use the Vue CLI to create new projects.

What Is the Vue CLI?

The Vue CLI is the classic command-line tool for scaffolding and managing Vue projects.

  • Creates projects with sensible defaults
  • Manages build configuration through plugins
  • Built on top of webpack

It was the standard for years, though modern Vue now favors Vite.

Installing the Vue CLI Globally

Install the CLI globally so the vue command is available everywhere.

# Install globally with npm
npm install -g @vue/cli

# Verify the installation
vue --version
# @vue/cli 5.0.8

All lessons in this course

  1. Vue CLI Installation
  2. Generated Project Structure
  3. CLI Configuration and Plugins
← Back to Vue Academy