From 9fe7ea340d9a3e9b7d0817a2cdcf03d1433a8c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Risti=C4=87?= Date: Wed, 10 Jul 2024 01:09:24 +0200 Subject: [PATCH] Add a note about `bun add --exact` alias to docs (#6968) --- docs/cli/add.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/cli/add.md b/docs/cli/add.md index c4eff2be64db37..ff90730d737e83 100644 --- a/docs/cli/add.md +++ b/docs/cli/add.md @@ -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