Skip to content

Commit f9d111c

Browse files
sebastiandotdevkt3kdsherret
authored
docs: add npm installation instructions for Deno (#1296)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
1 parent b61a114 commit f9d111c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

runtime/getting_started/installation.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ Using Shell:
2424
curl -fsSL https://deno.land/install.sh | sh
2525
```
2626

27+
Using [npm](https://npmjs.com/package/deno):
28+
29+
```shell
30+
npm install -g deno
31+
```
32+
33+
> <small>The startup time of the Deno command gets affected if it's installed
34+
> via npm. We recommend the shell install script for better performance.</small>
35+
2736
Using [Homebrew](https://formulae.brew.sh/formula/deno):
2837

2938
```shell
@@ -78,6 +87,16 @@ Using PowerShell (Windows):
7887
irm https://deno.land/install.ps1 | iex
7988
```
8089

90+
Using [npm](https://npmjs.com/package/deno):
91+
92+
```shell
93+
npm install -g deno
94+
```
95+
96+
> <small>The startup time of the Deno command gets affected if it's installed
97+
> via npm. We recommend the PowerShell install script for better
98+
> performance.</small>
99+
81100
Using [Scoop](https://scoop.sh/):
82101

83102
```shell
@@ -117,6 +136,15 @@ Using Shell:
117136
curl -fsSL https://deno.land/install.sh | sh
118137
```
119138

139+
Using [npm](https://npmjs.com/package/deno):
140+
141+
```shell
142+
npm install -g deno
143+
```
144+
145+
> <small>The startup time of the Deno command gets affected if it's installed
146+
> via npm. We recommend the shell install script for better performance.</small>
147+
120148
Using [Nix](https://nixos.org/download.html):
121149

122150
```shell

0 commit comments

Comments
 (0)