Skip to content

Commit

Permalink
docs: updated installation docs so that user can copy paste without e…
Browse files Browse the repository at this point in the history
…rror (#3207)
  • Loading branch information
jonmejia committed Feb 23, 2024
1 parent 5252583 commit 694d298
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
For [Node modules projects](https://docs.npmjs.com/getting-started/creating-node-modules) we recommend installing **semantic-release** locally and running the `semantic-release` command with [npx](https://www.npmjs.com/package/npx):

```bash
$ npm install --save-dev semantic-release
npm install --save-dev semantic-release
```

Then in the CI environment:

```bash
$ npx semantic-release
npx semantic-release
```

**Note:** `npx` is a tool bundled with `npm@>=5.2.0`. It is used to conveniently find the semantic-release binary and to execute it. See [What is npx](../support/FAQ.md#what-is-npx) for more details.
Expand All @@ -21,7 +21,7 @@ $ npx semantic-release
For other type of projects we recommend installing **semantic-release** directly in the CI environment, also with [npx](https://www.npmjs.com/package/npx):

```bash
$ npx semantic-release
npx semantic-release
```

### Notes
Expand Down

0 comments on commit 694d298

Please sign in to comment.