OS Manuals

/usr/bin/deno

A modern runtime for JavaScript and TypeScript.

From deno 2.8.2-r0 (os), captured 2026-11-05 by running deno --help (exit 0). permalink

Also provided by 1 other package version
Deno: A modern JavaScript and TypeScript runtime

Usage: deno [OPTIONS] [COMMAND]

Commands:
  Execution:
    run          Run a JavaScript or TypeScript program, or a task
                  deno run main.ts  |  deno run --allow-net=google.com main.ts  |  deno main.ts
    serve        Run a server
                  deno serve main.ts
    task         Run a task defined in the configuration file
                  deno task dev
    repl         Start an interactive Read-Eval-Print Loop (REPL) for Deno
    eval         Evaluate a script from the command line

  Dependency management:
    add          Add dependencies
                  deno add jsr:@std/assert  |  deno add npm:express
    bump-version Update version in the configuration file
    install      Installs dependencies either in the local project or globally to a bin directory
    ci           Install dependencies in a clean, reproducible way for CI environments
                  deno ci  |  deno ci --prod
    uninstall    Uninstalls a dependency or an executable script in the installation root's bin directory
    outdated     Find and update outdated dependencies
    approve-scripts Approve npm lifecycle scripts
    remove       Remove dependencies from the configuration file
    publish      Publish the current working directory's package or workspace
    why          Show why a package is installed

  Tooling:
    bench        Run benchmarks
                  deno bench bench.ts
    check        Type-check the dependencies
    clean        Remove the cache directory
    compile      Compile the script into a self contained executable
                  deno compile main.ts  |  deno compile --target=x86_64-unknown-linux-gnu
    coverage     Print coverage reports
    deploy       Manage and publish applications with Deno Deploy
    doc          Generate and show documentation for a module or built-ins
                  deno doc  |  deno doc --json  |  deno doc --html mod.ts
    fmt          Format source files
                  deno fmt  |  deno fmt main.ts
    info         Show info about cache or info related to source file
    jupyter      Deno kernel for Jupyter notebooks
    lint         Lint source files
    init         Initialize a new project
    test         Run tests
                  deno test  |  deno test test.ts
    pack         Create an npm-compatible tarball from a Deno project
                  deno pack  |  deno pack --set-version 1.2.3
    upgrade      Upgrade deno executable to given version
                  deno upgrade  |  deno upgrade 1.45.0  |  deno upgrade canary


Environment variables:
Docs: https://docs.deno.com/go/env-vars

  DENO_AUTH_TOKENS         A semi-colon separated list of bearer tokens and hostnames
                           to use when fetching remote modules from private repositories
                            (e.g. "abcde12345@deno.land;54321edcba@github.com")
  DENO_CACHE_DB_MODE       Controls whether Web cache should use disk based or in-memory database.
  DENO_CERT                Load certificate authorities from PEM encoded file.
  DENO_COMPAT              Enable Node.js compatibility mode - extensionless imports, built-in
                           Node.js modules, CommonJS detection and more.
  DENO_COVERAGE_DIR        Set the directory for collecting code coverage profiles.
                           Equivalent to using the --coverage flag.
  DENO_DIR                 Set the cache directory
  DENO_INSTALL_ROOT        Set deno install's output directory
                            (defaults to $HOME/.deno/bin)
  DENO_KV_DB_MODE          Controls whether Deno.openKv() API should use disk based or in-memory
                           database.
  DENO_KV_DEFAULT_PATH     Set the default path for Deno.openKv() when no path is provided.
  DENO_KV_PATH_PREFIX      Set a prefix to be added to all Deno.openKv() paths.
  DENO_EMIT_CACHE_MODE     Control if the transpiled sources should be cached.
  DENO_NO_PACKAGE_JSON     Disables auto-resolution of package.json.
  DENO_NO_UPDATE_CHECK     Set to disable checking if a newer Deno version is available
  DENO_PATCH_REACT_CVE     Enable load-time source patches mitigating known React Server
                           Components CVEs (CVE-2025-55182, CVE-2025-55184).
  DENO_SERVE_ADDRESS       Override address for Deno.serve
                            ("tcp:0.0.0.0:8080", "unix:/tmp/deno.sock", or "vsock:1234:5678")
  DENO_AUTO_SERVE          If the entrypoint contains export default { fetch }, `deno run`
                           behaves like `deno serve`.
  DENO_TLS_CA_STORE        Comma-separated list of order dependent certificate stores.
                           Possible values: "system", "mozilla" (defaults to "mozilla")
  DENO_TRACE_PERMISSIONS   Environmental variable to enable stack traces in permission prompts.
  DENO_USE_CGROUPS         Use cgroups to determine V8 memory limit.
  FORCE_COLOR              Set force color output even if stdout isn't a tty.
  HTTP_PROXY               Proxy address for HTTP requests.
                            (module downloads, fetch)
  HTTPS_PROXY              Proxy address for HTTPS requests.
                            (module downloads, fetch)
  NO_COLOR                 Set to disable color.
  NO_PROXY                 Comma-separated list of hosts which do not use a proxy.
                            (module downloads, fetch)
  NODE_USE_ENV_PROXY       If set to 1, node:http and node:https honor HTTP_PROXY,
                           HTTPS_PROXY, and NO_PROXY from the environment.
  NPM_CONFIG_REGISTRY      URL to use for the npm registry.
  SSLKEYLOGFILE            Write TLS session keys to the specified file in NSS Key Log format
                           for debugging encrypted traffic with tools like Wireshark.
  DENO_TRUST_PROXY_HEADERS If specified, removes X-deno-client-address header when serving HTTP.
  DENO_USR2_MEMORY_TRIM    If specified, listen for SIGUSR2 signal to try and free memory (Linux only).

Docs: https://docs.deno.com
Standard Library: https://jsr.io/@std
Bugs: https://github.com/denoland/deno/issues
Discord: https://discord.gg/deno

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.