Skip to main content

Local development

Sunsetting on July 20, 2026

Deno Deploy Classic will be shut down on July 20, 2026. We recommend migrating to the new Deno Deploy platform. See the migration guide for details.

For local development you can use the deno CLI. To install deno, follow the instructions in the Deno manual.

After installation, you can run your scripts locally:

$ deno run --allow-net=:8000 https://deno.com/examples/hello.js
Listening on http://localhost:8000

To watch for file changes add the --watch flag:

$ deno run --allow-net=:8000 --watch ./main.js
Listening on http://localhost:8000

For more information about the Deno CLI, and how to configure your development environment and IDE, visit the Deno Manual's Getting Started section.

Did you find what you needed?

Privacy policy