aboutsummaryrefslogtreecommitdiff
path: root/docs/cli/install.md
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/cli/install.md
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/cli/install.md')
-rw-r--r--docs/cli/install.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cli/install.md b/docs/cli/install.md
index 02f095d61..9b323a8aa 100644
--- a/docs/cli/install.md
+++ b/docs/cli/install.md
@@ -114,7 +114,7 @@ $ bun add zod@latest
To add a package as a dev dependency (`"devDependencies"`):
```bash
-$ bun add --development @types/react
+$ bun add --dev @types/react
$ bun add -d @types/react
```