We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7058a2 commit bb3ec64Copy full SHA for bb3ec64
pages/common/bun-add.md
@@ -0,0 +1,33 @@
1
+# bun add
2
+
3
+> Modern JavaScript runtime, package manager, bundler, and test runner.
4
+> Note: `a` can be used as an alias for `add`.
5
+> More information: <https://bun.com/docs>.
6
7
+- Install a single package:
8
9
+`bun add {{package}}`
10
11
+- Install multiple packages:
12
13
+`bun add {{package1 package2 ...}}`
14
15
+- Install from a Git repository:
16
17
+`bun add {{git_url}}`
18
19
+- Install a specific version:
20
21
+`bun add {{package}}@{{version}}`
22
23
+- Install from local file or directory:
24
25
+`bun add file:{{path/to/file_or_directory}}`
26
27
+- Add a dev dependency:
28
29
+`bun add {{[-d|--dev]}} {{package}}`
30
31
+- Add a package globally:
32
33
+`bun add {{[-g|--global]}} {{package}}`
0 commit comments