Skip to content

Commit

Permalink
encourage npx usage for prisma2 init instead of global installation i…
Browse files Browse the repository at this point in the history
…n main README
  • Loading branch information
nikolasburk committed Oct 8, 2019
1 parent 672be6b commit 470c12e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ While each tool can be used standalone (in both [_greenfield_ and _brownfield_ p

## Getting started

The easiest way to get started with [Photon](https://github.com/prisma/photonjs) and/or [Lift](https://github.com/prisma/lift) is by installing the Prisma 2 CLI and running the interactive `init` command:
The easiest way to get started with [Photon](https://github.com/prisma/photonjs) and/or [Lift](https://github.com/prisma/lift) is by using the `init` command of the `prisma2` CLI via [npx](https://github.com/npm/npx):

```
npx prisma2 init hello-prisma
```

Alternatively, you can install the `prisma2` CLI globally and run the `init` command then:

```
npm install -g prisma2
Expand Down

0 comments on commit 470c12e

Please sign in to comment.