Deno in Gitpod

It’s easy to set up Deno in Gitpod.

Setting up the Dockerfile

Add a Dockerfile to your project as .gitpod.Dockerfile:

language icon dockerfile
FROM gitpod/workspace-full

RUN curl -fsSL | sh
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \
    echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \
    echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno

And configure this Dockerfile in your .gitpod.yml:

language icon yml
    file: .gitpod.Dockerfile

It’ll run the latest Deno version and install the Bash completions.

Example Repositories

Here are a few Deno example projects that are already automated with Gitpod:

Repository Description Try it
fake-log-generator Generator for fake log files as CLI application Open in Gitpod

VS Code Extensions

Here is a useful extensions that you’ll likely want to install in your Deno project.


To add this extension to your repository, simply open Gitpod’s Extensions panel (see left vertical menu in the IDE), then search for “Deno” and install it “for this project”.

Next, simply commit the .gitpod.yml configuration file that was automatically created (or updated) by Gitpod.

Was this helpful?