Skip to content

Commit 659be93

Browse files
Merge pull request #878 from pattern-lab/update-installation-instructions
Update README.md
2 parents 31b6ac6 + 8b1e35c commit 659be93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ The below assume a new directory and project is required.
3232
```bash
3333
mkdir new-project
3434
cd new-project
35-
npm init -y && npx -p @pattern-lab/cli -c 'patternlab init'
35+
npm init -y && npx @pattern-lab/cli -c patternlab init
3636
```
3737
> If you get an error stating that `npx` is not installed, ensure you are on `npm 5.2.0` or later by running `npm -v` or install it globally with `npm install -g npx`. [Learn more about npx.](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b)
3838
1. Follow the on-screen prompts to choose your Edition and a Starterkit should you want one.
39+
1. Run `npm install` one last time to ensure any transient packages from the CLI are installed.
3940
1. Open `package.json` and add the following to your `scripts` object
4041
```diff
4142
"scripts": {

0 commit comments

Comments
 (0)