diff --git a/README.md b/README.md index 4b7f27a5f..89016c3a1 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,11 @@ The below assume a new directory and project is required. ```bash mkdir new-project cd new-project - npm init -y && npx -p @pattern-lab/cli -c 'patternlab init' + npm init -y && npx @pattern-lab/cli -c patternlab init ``` > 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) 1. Follow the on-screen prompts to choose your Edition and a Starterkit should you want one. +1. Run `npm install` one last time to ensure any transient packages from the CLI are installed. 1. Open `package.json` and add the following to your `scripts` object ```diff "scripts": {