Skip to content

Commit

Permalink
docs(readme): update README.md about the NPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jan 9, 2023
1 parent 317444e commit e0177c2
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,23 +126,24 @@ pacman -S git-cliff

### From NPM

[git-cliff](https://www.npmjs.com/package/git-cliff) can be installed from NPM:

You can install and run [git-cliff](https://www.npmjs.com/package/git-cliff) with a single command:

```sh
yarn add -D git-cliff
npx git-cliff@latest
```

or:
Also, if you want to add `git-cliff` to your project:

```sh
# with yarn
yarn add -D git-cliff

# with npm
npm install git-cliff --save-dev
```

You can also use `git-cliff` directly with `npx`:

```sh
npx git-cliff
```
Afterwards, you can run `git-cliff` via `npm exec git-cliff` or `npx git-cliff@latest`.

### From MacPorts

Expand Down

0 comments on commit e0177c2

Please sign in to comment.