# CLI

# Vue CLI Common Commands

Create a project

vue create hello-world
Copied!
1

or if you prefer a GUI:

vue ui
Copied!
1

Install dependencies

npm install
Copied!
1

Compiles and hot-reloads for development

npm run serve
Copied!
1

Compiles and minifies for production

npm run build
Copied!
1

Lints and fixes files

npm run lint
Copied!
1

Customize configuration.

# Instant Prototyping

Or "How to inspect a single component". You can rapidly prototype with just a single Vue file with the vue serve. To install globally a vue-cli-service, run npm install -g @vue/cli-service-global

To serve a single file run the command:

vue serve MyComponent.vue
Copied!
1