# Installing Deno

## Get Deno Release Binary

Deno is still at very early development stage. The current releases are 0.2.x, which are defined to be "mildly usable" and is mostly for developer preview.

To install Deno release binary, run the following commands on \*nix

```bash
curl -L https://deno.land/x/install/install.py | python
export PATH=$HOME/.deno/bin:$PATH
```

On windows, you might want to install through Powershell:

```
iex (iwr https://deno.land/x/install/install.ps1)
```

Deno is installed through scripts from [deno\_install](https://github.com/denoland/deno_install). If you encountered any installation problems, submit an issue there.

## Compile Deno From Source

If you are interested in contributing to Deno, you might want to compile Deno from source yourself.

Run the following commands to get make a debug build

```bash
# Fetch deps.
git clone --recurse-submodules https://github.com/denoland/deno.git
cd deno
# Setup and download important third party tools
./tools/setup.py
# Build.
./tools/build.py
```

{% hint style="info" %}
Notice that in some countries, domains, such as google.com, are blocked from access. You might want to use a VPN or alternative tools when running `./tools/setup.py`.
{% endhint %}

Deno is built with GN and Ninja, tools that are used also by the Chromium team. The built files will be located at `target/debug/`

Alternatively, to create a release build for evaluation, set DENO\_BUILD\_MODE to release on build:

```bash
DENO_BUILD_MODE=release ./tools/build.py
```

The built files will be located at `target/release/`

Deno also comes with Cargo build support:

```bash
cargo build
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://denolib.gitbook.io/guide/installing-deno.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
