# CLI
# Vue CLI Common Commands
Create a project
vue create hello-worldCopied!
1
or if you prefer a GUI:
vue uiCopied!
1
Install dependencies
npm installCopied!
1
Compiles and hot-reloads for development
npm run serveCopied!
1
Compiles and minifies for production
npm run buildCopied!
1
Lints and fixes files
npm run lintCopied!
1
# 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.vueCopied!
1