# How to create an app with vue CLI without a global installation

If you check out the [official doc](https://cli.vuejs.org/) the process of generating new app has 2 steps:
```sh
# install globaly
npm install -g @vue/cli
# create app
vue create my-project
```

If you use vue cli only form time to time global installation doesn't make much sense - you probably will upgrade npm before running the `vue` command again. In this case, you can generate your code with:
```sh
$ npx -p @vue/cli vue create my-project
```

Example run:
[![asciicast](https://asciinema.org/a/425180.svg)](https://asciinema.org/a/425180)

# Summary
In this article, we have seen how to run vue cli without a global installation & adding vue executable to our system.

