diff --git a/README.md b/README.md index 32e4736a39..6db3dec1d6 100644 --- a/README.md +++ b/README.md @@ -21,18 +21,13 @@ This is the fastest way to get started. See the [installation documentation](https://bazelbuild.github.io/rules_nodejs/install.html) for details and alternative methods, or if you already have a Bazel project and you're adding Node/JavaScript support to it. ```sh -$ npm init @bazel myproject # creates './myproject/', sets up Bazel workspace +$ npx @bazel/create my_workspace +$ cd my_workspace ``` -or if you prefer yarn, - -```sh -$ yarn create @bazel myproject -``` - -> These commands are equivalent to `npx @bazel/create` which downloads the latest version of the `@bazel/create` package from npm and runs the program contained. - -See the output of `npm init @bazel` or `yarn create @bazel` for command-line options and next steps. +> The `npx` tool is distributed with node. If you prefer, you can run equivalent commands `npm init @bazel` or `yarn create @bazel`. +> If you've used `@bazel/create` before, you may want to use `npx @bazel/create@latest` to get the most recent version. +> Run without any arguments to see available command-line flags. ## Adopters