aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/install
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-08-04 20:41:16 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-04 20:41:16 -0700
commit78081cbb40b3149be3fcd7f050ec365c499421d0 (patch)
tree50cafc60e3a69323352a0b00b0acdb1b04382a02 /docs/guides/install
parent6bdee80cfce0205ea1b59679fda93f816a66eed0 (diff)
downloadbun-78081cbb40b3149be3fcd7f050ec365c499421d0.tar.gz
bun-78081cbb40b3149be3fcd7f050ec365c499421d0.tar.zst
bun-78081cbb40b3149be3fcd7f050ec365c499421d0.zip
Support --dev/-D and support more flags on bun install (#3989)
Diffstat (limited to 'docs/guides/install')
-rw-r--r--docs/guides/install/add-dev.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guides/install/add-dev.md b/docs/guides/install/add-dev.md
index 833f8cfa2..3f7b74f9c 100644
--- a/docs/guides/install/add-dev.md
+++ b/docs/guides/install/add-dev.md
@@ -5,7 +5,7 @@ name: Add a development dependency
To add an npm package as a development dependency, use `bun add --development`.
```sh
-$ bun add zod --development
+$ bun add zod --dev
$ bun add zod -d # shorthand
```