Skip to content

Commit

Permalink
Follow-on improvement to README
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Apr 16, 2020
1 parent ad2eba1 commit 0d62b89
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0d62b89

Please sign in to comment.