Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ $ npm install -g vue-cli
$ vue init <template-name> <project-name>
```

> You can also avoid installing the CLI and run **npx vue init <template-name> <project-name>**
Or you may use npx and avoid global install if you are on npm >= 5
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: npx and the workflow are also supported on npm 4.3.


```bash
npx vue init <template-name> <project-name>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, we have to provide vue-cli to npx

```

Example:

Expand Down