Installation
Install the Deno runtime on your system using one of the commands below. Deno ships as a single executable with no dependencies, making installation quick and easy.Quick Install
- macOS / Linux
- Windows
Use the installation script with curl:Or install via Homebrew:
Installation Methods
Choose the installation method that works best for your platform and preferences.Shell Script (Mac, Linux)
The shell script installer is the recommended method for macOS and Linux:~/.deno/bin/deno. You may need to add this to your PATH:
~/.bashrc, ~/.zshrc, etc.) to make them permanent.
PowerShell (Windows)
For Windows users, the PowerShell installer is the recommended approach:Homebrew (macOS)
If you have Homebrew installed:brew upgrade deno.
Package Managers (Windows)
Windows users have several package manager options:- Chocolatey
- WinGet
- Scoop
Verify Installation
After installation, verify that Deno is installed correctly:Build from Source
For developers who want to build Deno from source, complete instructions are available in the Contributing Guide.Install Prerequisites
You’ll need Rust, Python 3, and other build tools. See the contributing guide for detailed requirements.
Updating Deno
Deno includes a built-in upgrade command:Uninstalling Deno
To uninstall Deno, simply remove the executable and configuration directory:- macOS / Linux
- Windows
Environment Setup
For the best development experience, consider setting these environment variables:Editor Setup
For the best development experience, install the Deno extension for your editor:- VS Code: Deno extension
- JetBrains IDEs: Built-in Deno support
- Vim/Neovim: vim-deno
- Emacs: deno-emacs
Next Steps
Now that you have Deno installed, let’s build your first program:Quickstart Tutorial
Build and run your first Deno program in minutes