mirror of
https://github.com/danbulant/deno_install
synced 2026-06-17 21:41:31 +00:00
49 lines
1.3 KiB
Markdown
49 lines
1.3 KiB
Markdown
# Deno Binary Installer
|
|
|
|
| **Linux** | **Windows** |
|
|
|:---------------:|:-----------:|
|
|
| [](https://travis-ci.com/denoland/deno_install) | [](https://ci.appveyor.com/project/deno/deno-install) |
|
|
|
|
Downloads the latest Deno binary into `$HOME/.deno/bin`.
|
|
|
|
**Install with Shell:**
|
|
|
|
```sh
|
|
curl -L https://deno.land/x/install/install.sh | sh
|
|
```
|
|
|
|
**Install with Python:**
|
|
|
|
```sh
|
|
curl -L https://deno.land/x/install/install.py | python
|
|
```
|
|
|
|
**Install with PowerShell:**
|
|
|
|
```powershell
|
|
iex (iwr https://deno.land/x/install/install.ps1)
|
|
```
|
|
|
|
_Note: Depending on your security settings, you may have to run `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser` first to allow downloaded scripts to be executed._
|
|
|
|
## Install other versions
|
|
|
|
If you need to install specific version of deno, use the following commands:
|
|
|
|
**Install with Shell:**
|
|
|
|
```sh
|
|
curl -L https://deno.land/x/install/install.sh | sh -s v0.2.0
|
|
```
|
|
|
|
**Install with Python:**
|
|
|
|
```sh
|
|
curl -L https://deno.land/x/install/install.py | python - v0.2.0
|
|
```
|
|
|
|
**Install with PowerShell:**
|
|
|
|
```powershell
|
|
iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 v0.2.0
|
|
```
|