# CLI

# Vue CLI Common Commands

Create a project

vue create hello-world
1

or if you prefer a GUI:

vue ui
1

Install dependencies

npm install
1

Compiles and hot-reloads for development

npm run serve
1

Compiles and minifies for production

npm run build
1

Lints and fixes files

npm run lint
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
1