Skip to content

Commit

Permalink
Add a note about bun add --exact alias to docs (#6968)
Browse files Browse the repository at this point in the history
  • Loading branch information
rista404 authored Jul 9, 2024
1 parent 68ba6b9 commit 9fe7ea3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/cli/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ $ bun add --optional lodash

## `--exact`

{% callout %}
**Alias**`-E`
{% /callout %}

To add a package and pin to the resolved version, use `--exact`. This will resolve the version of the package and add it to your `package.json` with an exact version number instead of a version range.

```bash
Expand Down

0 comments on commit 9fe7ea3

Please sign in to comment.