Linux | Windows |
---|---|
Downloads the latest Deno binary into $HOME/.deno/bin
.
Install with Shell:
curl -L https://deno.land/x/install/install.sh | sh
Install with Python:
curl -L https://deno.land/x/install/install.py | python
Install with 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.
If you need to install specific version of deno, use the following commands:
Install with Shell:
curl -L https://deno.land/x/install/install.sh | sh -s v0.2.0
Install with Python:
curl -L https://deno.land/x/install/install.py | python - v0.2.0
Install with PowerShell:
iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 v0.2.0