Skip to content

Deno setup

Here are the steps to set up Deno in VS Code with mise:

  1. Install the mise-vscode extension (if not already installed)
  2. Install the Deno extension for VS Code
  3. Open a project with a mise.toml file (or any other files supported by mise)

If your project has a mise.toml file, such as the one below:

[tools]
deno = "2"

mise-vscode will automatically detect it and set deno.path in your workspace settings.

Deno setup

If you want to quickly initialize a Deno project, you can use the following commands:

  1. mkdir my-deno-project && cd my-deno-project
  2. mise use deno@latest
  3. deno init .

This will create a new Deno project with a mise.toml file that specifies the latest version of Deno. Open the main.ts file in VSCode and click the run button, you should be all set!