diff --git a/replacements.json b/replacements.json index a659343a6..f474f4ae9 100644 --- a/replacements.json +++ b/replacements.json @@ -1,3 +1,3 @@ { - "CLI_VERSION": "2.9.6" + "CLI_VERSION": "2.9.7" } diff --git a/runtime/reference/cli/_commands_reference.json b/runtime/reference/cli/_commands_reference.json index 75205e10b..df2e23e79 100644 --- a/runtime/reference/cli/_commands_reference.json +++ b/runtime/reference/cli/_commands_reference.json @@ -1,7 +1,17 @@ { "name": "deno", - "about": null, + "about": "A modern JavaScript and TypeScript runtime", + "usage": "Usage: deno", "args": [ + { + "name": "env-file", + "short": null, + "long": "env-file", + "required": false, + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" + }, { "name": "help", "short": "h", @@ -9,7 +19,25 @@ "required": false, "help": null, "help_heading": null, - "usage": "--help[=]" + "usage": "-h, --help" + }, + { + "name": "version", + "short": "V", + "long": "version", + "required": false, + "help": "Print version", + "help_heading": null, + "usage": "-V, --version" + }, + { + "name": "log-level", + "short": "L", + "long": "log-level", + "required": false, + "help": "Set log level", + "help_heading": null, + "usage": "-L, --log-level" }, { "name": "quiet", @@ -18,148 +46,113 @@ "required": false, "help": "Suppress diagnostic output", "help_heading": null, - "usage": "--quiet" + "usage": "-q, --quiet" } ], "subcommands": [ { "name": "run", - "about": "Run a JavaScript or TypeScript program, or a task or script.\n\nBy default all programs are run in sandbox without access to disk, network or ability to spawn subprocesses.\n \u001b[38;5;245mdeno run https://docs.deno.com/hello_world.ts\u001b[39m\n\nGrant permission to read from disk and listen to network:\n \u001b[38;5;245mdeno run --allow-read --allow-net jsr:@std/http/file-server\u001b[39m\n\nGrant permission to read allow-listed files from disk:\n \u001b[38;5;245mdeno run --allow-read=/etc jsr:@std/http/file-server\u001b[39m\n\nGrant all permissions:\n \u001b[38;5;245mdeno run -A jsr:@std/http/file-server\u001b[39m\n\nSpecifying the filename '-' to read the file from stdin.\n \u001b[38;5;245mcurl https://docs.deno.com/hello_world.ts | deno run -\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/run\u001b[39m", + "about": "Run a JavaScript or TypeScript program, or a task", + "usage": "Usage: run", "args": [ { - "name": "unstable-bundle", - "short": null, - "long": "unstable-bundle", - "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" - }, - { - "name": "unstable-cron", - "short": null, - "long": "unstable-cron", - "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" - }, - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", - "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" - }, - { - "name": "unstable-lazy-dynamic-imports", + "name": "script_arg", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": null, "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Script arg", + "help_heading": null, + "usage": "" }, { - "name": "unstable-lockfile-v5", + "name": "check", "short": null, - "long": "unstable-lockfile-v5", + "long": "check", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "unstable-net", + "name": "watch", "short": null, - "long": "unstable-net", + "long": "watch", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch" }, { - "name": "unstable-no-legacy-abort", + "name": "hmr", "short": null, - "long": "unstable-no-legacy-abort", + "long": "hmr", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Watch for file changes and hot-replace modules. The process restarts if hot replacement fails.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--hmr" }, { - "name": "unstable-npm-lazy-caching", + "name": "watch-exclude", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "watch-exclude", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Exclude provided files/patterns from watch mode", + "help_heading": null, + "usage": "--watch-exclude" }, { - "name": "unstable-raw-imports", + "name": "no-clear-screen", "short": null, - "long": "unstable-raw-imports", + "long": "no-clear-screen", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Do not clear terminal screen when under watch mode", + "help_heading": null, + "usage": "--no-clear-screen" }, { - "name": "unstable-sloppy-imports", + "name": "ext", "short": null, - "long": "unstable-sloppy-imports", + "long": "ext", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Set content type of the supplied file", + "help_heading": null, + "usage": "--ext" }, { - "name": "unstable-tsgo", + "name": "env-file", "short": null, - "long": "unstable-tsgo", + "long": "env-file", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-unsafe-proto", + "name": "no-code-cache", "short": null, - "long": "unstable-unsafe-proto", + "long": "no-code-cache", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Disable V8 code cache feature", + "help_heading": null, + "usage": "--no-code-cache" }, { - "name": "unstable-webgpu", + "name": "coverage", "short": null, - "long": "unstable-webgpu", + "long": "coverage", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Collect coverage profile data into DIR. If DIR is not specified, it uses 'coverage/'.\n This option can also be set via the DENO_COVERAGE_DIR environment variable.", + "help_heading": null, + "usage": "--coverage" }, { - "name": "unstable-worker-options", + "name": "use-env-proxy", "short": null, - "long": "unstable-worker-options", + "long": "use-env-proxy", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Use HTTP_PROXY, HTTPS_PROXY, and NO_PROXY for node:http/node:https", + "help_heading": null, + "usage": "--use-env-proxy" }, { "name": "no-check", @@ -167,17 +160,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -185,7 +178,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -194,7 +187,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -202,18 +195,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -221,26 +205,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -256,9 +240,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -266,8 +250,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -275,17 +259,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -294,25 +278,34 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" + }, + { + "name": "unsafely-ignore-certificate-errors", + "short": null, + "long": "unsafely-ignore-certificate-errors", + "required": false, + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "minimum-dependency-age", + "name": "min-dep-age", "short": null, - "long": "minimum-dependency-age", + "long": "min-dep-age", "required": false, "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--min-dep-age" }, { "name": "inspect", "short": null, "long": "inspect", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { "name": "inspect-brk", @@ -320,8 +313,8 @@ "long": "inspect-brk", "required": false, "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "help_heading": null, + "usage": "--inspect-brk" }, { "name": "inspect-wait", @@ -329,17 +322,17 @@ "long": "inspect-wait", "required": false, "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "allow-scripts", + "name": "inspect-publish-uid", "short": null, - "long": "allow-scripts", + "long": "inspect-publish-uid", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": null, "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--inspect-publish-uid" }, { "name": "cached-only", @@ -347,7 +340,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -355,18 +348,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -375,7 +368,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -384,7 +377,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -393,34 +386,69 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " + "usage": "--require" + }, + { + "name": "node-conditions", + "short": null, + "long": "conditions", + "required": false, + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" + }, + { + "name": "allow-scripts", + "short": null, + "long": "allow-scripts", + "required": false, + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "watch", + "about": "Run a JavaScript or TypeScript program, watching for file changes and hot-replacing modules", + "usage": "Usage: watch", + "args": [ + { + "name": "script_arg", + "short": null, + "long": null, + "required": false, + "help": "Script arg", + "help_heading": null, + "usage": "" }, { "name": "check", "short": null, "long": "check", "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { "name": "watch", "short": null, "long": "watch", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch" }, { "name": "hmr", "short": null, - "long": "watch-hmr", + "long": "hmr", "required": false, - "help": "Watch for file changes and hot-replace modules. The process restarts if hot replacement fails.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch-hmr[=...]" + "help": "Watch for file changes and hot-replace modules. The process restarts if hot replacement fails.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--hmr" }, { "name": "watch-exclude", @@ -428,8 +456,8 @@ "long": "watch-exclude", "required": false, "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help_heading": null, + "usage": "--watch-exclude" }, { "name": "no-clear-screen", @@ -437,7 +465,7 @@ "long": "no-clear-screen", "required": false, "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", + "help_heading": null, "usage": "--no-clear-screen" }, { @@ -447,25 +475,16 @@ "required": false, "help": "Set content type of the supplied file", "help_heading": null, - "usage": "--ext " - }, - { - "name": "script_arg", - "short": null, - "long": null, - "required": false, - "help": "Script arg", - "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "--ext" }, { "name": "env-file", "short": null, "long": "env-file", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--env-file" }, { "name": "no-code-cache", @@ -481,251 +500,413 @@ "short": null, "long": "coverage", "required": false, - "help": "Collect coverage profile data into DIR. If DIR is not specified, it uses 'coverage/'.\n \u001b[38;5;245mThis option can also be set via the DENO_COVERAGE_DIR environment variable.\u001b[39m", + "help": "Collect coverage profile data into DIR. If DIR is not specified, it uses 'coverage/'.\n This option can also be set via the DENO_COVERAGE_DIR environment variable.", "help_heading": null, - "usage": "--coverage[=]" + "usage": "--coverage" }, { - "name": "cpu-prof", + "name": "use-env-proxy", "short": null, - "long": "cpu-prof", + "long": "use-env-proxy", "required": false, - "help": "Start the V8 CPU profiler on startup and write the profile to disk on exit. Profiles are written to the current directory by default", + "help": "Use HTTP_PROXY, HTTPS_PROXY, and NO_PROXY for node:http/node:https", "help_heading": null, - "usage": "--cpu-prof" + "usage": "--use-env-proxy" }, { - "name": "cpu-prof-dir", + "name": "no-check", "short": null, - "long": "cpu-prof-dir", + "long": "no-check", "required": false, - "help": "Directory where the V8 CPU profiles will be written. Implicitly enables --cpu-prof", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--cpu-prof-dir " + "usage": "--no-check" }, { - "name": "cpu-prof-name", + "name": "import-map", "short": null, - "long": "cpu-prof-name", + "long": "import-map", "required": false, - "help": "Filename for the CPU profile (defaults to CPU...cpuprofile)", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--cpu-prof-name " + "usage": "--import-map" }, { - "name": "cpu-prof-interval", + "name": "no-remote", "short": null, - "long": "cpu-prof-interval", + "long": "no-remote", "required": false, - "help": "Sampling interval in microseconds for CPU profiling (default: 1000)", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--cpu-prof-interval " + "usage": "--no-remote" }, { - "name": "cpu-prof-md", + "name": "no-npm", "short": null, - "long": "cpu-prof-md", + "long": "no-npm", "required": false, - "help": "Generate a human-readable markdown report alongside the CPU profile", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--cpu-prof-md" + "usage": "--no-npm" }, { - "name": "cpu-prof-flamegraph", + "name": "node-modules-dir", "short": null, - "long": "cpu-prof-flamegraph", + "long": "node-modules-dir", "required": false, - "help": "Generate an SVG flamegraph alongside the CPU profile", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--cpu-prof-flamegraph" + "usage": "--node-modules-dir" }, { - "name": "tunnel", - "short": "t", - "long": "tunnel", + "name": "vendor", + "short": null, + "long": "vendor", "required": false, - "help": "Execute tasks with a tunnel to Deno Deploy.\n\n Create a secure connection between your local machine and Deno Deploy,\n providing access to centralised environment variables, logging,\n and serving from your local environment to the public internet", + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "--tunnel[=]" + "usage": "--vendor" }, { - "name": "use-env-proxy", + "name": "node-modules-linker", "short": null, - "long": "use-env-proxy", + "long": "node-modules-linker", "required": false, - "help": "Use HTTP_PROXY, HTTPS_PROXY, and NO_PROXY for node:http/node:https", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--use-env-proxy" + "usage": "--node-modules-linker" }, { - "name": "unstable", - "short": null, - "long": "unstable", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno run\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m" - }, - { - "name": "watch", - "about": "Run a JavaScript or TypeScript program, watching for file changes and hot-replacing modules.\n\nThis is an alias for \u001b[36mdeno run --watch-hmr\u001b[39m. The process restarts if hot replacement fails.\n \u001b[38;5;245mdeno watch main.ts\u001b[39m\n\nLocal files from the entry point module graph are watched by default. Additional paths can be passed with \u001b[36m--watch-hmr\u001b[39m:\n \u001b[38;5;245mdeno watch --watch-hmr=./templates main.ts\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/run\u001b[39m", - "args": [ + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" + }, { - "name": "unstable-bundle", + "name": "no-config", "short": null, - "long": "unstable-bundle", + "long": "no-config", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Disable automatic loading of the configuration file", + "help_heading": null, + "usage": "--no-config" }, { - "name": "unstable-cron", - "short": null, - "long": "unstable-cron", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { - "name": "unstable-detect-cjs", + "name": "lock", "short": null, - "long": "unstable-detect-cjs", + "long": "lock", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "unstable-kv", + "name": "no-lock", "short": null, - "long": "unstable-kv", + "long": "no-lock", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "frozen-lockfile", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "frozen-lockfile", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" }, { - "name": "unstable-lockfile-v5", + "name": "cert", "short": null, - "long": "unstable-lockfile-v5", + "long": "cert", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" }, { - "name": "unstable-net", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "unstable-net", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "unstable-no-legacy-abort", + "name": "min-dep-age", "short": null, - "long": "unstable-no-legacy-abort", + "long": "min-dep-age", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" }, { - "name": "unstable-npm-lazy-caching", + "name": "inspect", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "inspect", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { - "name": "unstable-raw-imports", + "name": "inspect-brk", "short": null, - "long": "unstable-raw-imports", + "long": "inspect-brk", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", + "help_heading": null, + "usage": "--inspect-brk" }, { - "name": "unstable-sloppy-imports", + "name": "inspect-wait", "short": null, - "long": "unstable-sloppy-imports", + "long": "inspect-wait", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "unstable-tsgo", + "name": "inspect-publish-uid", "short": null, - "long": "unstable-tsgo", + "long": "inspect-publish-uid", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": null, + "help_heading": null, + "usage": "--inspect-publish-uid" }, { - "name": "unstable-unsafe-proto", + "name": "cached-only", "short": null, - "long": "unstable-unsafe-proto", + "long": "cached-only", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Require that remote dependencies are already cached", + "help_heading": null, + "usage": "--cached-only" }, { - "name": "unstable-webgpu", + "name": "location", "short": null, - "long": "unstable-webgpu", + "long": "location", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Value of globalThis.location used by some web APIs", + "help_heading": null, + "usage": "--location" }, { - "name": "unstable-worker-options", + "name": "v8-flags", "short": null, - "long": "unstable-worker-options", + "long": "v8-flags", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", + "help_heading": null, + "usage": "--v8-flags" }, { - "name": "no-check", + "name": "seed", "short": null, - "long": "no-check", + "long": "seed", "required": false, - "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help": "Set the random number generator seed", + "help_heading": null, + "usage": "--seed" + }, + { + "name": "preload", + "short": null, + "long": "preload", + "required": false, + "help": "A list of files that will be executed before the main module", + "help_heading": null, + "usage": "--preload" + }, + { + "name": "require", + "short": null, + "long": "require", + "required": false, + "help": "A list of CommonJS modules that will be executed before the main module", + "help_heading": null, + "usage": "--require" + }, + { + "name": "node-conditions", + "short": null, + "long": "conditions", + "required": false, + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" + }, + { + "name": "allow-scripts", + "short": null, + "long": "allow-scripts", + "required": false, + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "serve", + "about": "Run a server", + "usage": "Usage: serve", + "args": [ + { + "name": "script_arg", + "short": null, + "long": null, + "required": false, + "help": "Script arg", + "help_heading": null, + "usage": "" + }, + { + "name": "port", + "short": null, + "long": "port", + "required": false, + "help": "The TCP port to serve on. Pass 0 to pick a random free port [default: 8000]", + "help_heading": null, + "usage": "--port" + }, + { + "name": "host", + "short": null, + "long": "host", + "required": false, + "help": "The TCP address to serve on, defaulting to 0.0.0.0 (all interfaces)", + "help_heading": null, + "usage": "--host" + }, + { + "name": "open", + "short": null, + "long": "open", + "required": false, + "help": "Open the browser on the address that the server is running on.", + "help_heading": null, + "usage": "--open" + }, + { + "name": "parallel", + "short": null, + "long": "parallel", + "required": false, + "help": "Run multiple server workers in parallel. Parallelism defaults to the number of available CPUs or the value of the DENO_JOBS environment variable", + "help_heading": null, + "usage": "--parallel" + }, + { + "name": "check", + "short": null, + "long": "check", + "required": false, + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" + }, + { + "name": "watch", + "short": null, + "long": "watch", + "required": false, + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch" + }, + { + "name": "hmr", + "short": null, + "long": "watch-hmr", + "required": false, + "help": "Watch for file changes and hot-replace modules. The process restarts if hot replacement fails.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch-hmr" + }, + { + "name": "watch-exclude", + "short": null, + "long": "watch-exclude", + "required": false, + "help": "Exclude provided files/patterns from watch mode", + "help_heading": null, + "usage": "--watch-exclude" + }, + { + "name": "no-clear-screen", + "short": null, + "long": "no-clear-screen", + "required": false, + "help": "Do not clear terminal screen when under watch mode", + "help_heading": null, + "usage": "--no-clear-screen" + }, + { + "name": "ext", + "short": null, + "long": "ext", + "required": false, + "help": "Set content type of the supplied file", + "help_heading": null, + "usage": "--ext" + }, + { + "name": "env-file", + "short": null, + "long": "env-file", + "required": false, + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" + }, + { + "name": "no-code-cache", + "short": null, + "long": "no-code-cache", + "required": false, + "help": "Disable V8 code cache feature", + "help_heading": null, + "usage": "--no-code-cache" + }, + { + "name": "no-check", + "short": null, + "long": "no-check", + "required": false, + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -733,7 +914,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -742,7 +923,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -750,18 +931,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -769,26 +941,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -804,9 +976,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -814,8 +986,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -823,17 +995,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -842,25 +1014,34 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" + }, + { + "name": "unsafely-ignore-certificate-errors", + "short": null, + "long": "unsafely-ignore-certificate-errors", + "required": false, + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "minimum-dependency-age", + "name": "min-dep-age", "short": null, - "long": "minimum-dependency-age", + "long": "min-dep-age", "required": false, "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--min-dep-age" }, { "name": "inspect", "short": null, "long": "inspect", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { "name": "inspect-brk", @@ -868,8 +1049,8 @@ "long": "inspect-brk", "required": false, "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "help_heading": null, + "usage": "--inspect-brk" }, { "name": "inspect-wait", @@ -877,17 +1058,17 @@ "long": "inspect-wait", "required": false, "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "allow-scripts", + "name": "inspect-publish-uid", "short": null, - "long": "allow-scripts", + "long": "inspect-publish-uid", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": null, "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--inspect-publish-uid" }, { "name": "cached-only", @@ -895,7 +1076,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -903,18 +1084,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -923,7 +1104,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -932,7 +1113,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -941,52 +1122,51 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " - }, - { - "name": "check", - "short": null, - "long": "check", - "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "usage": "--require" }, { - "name": "watch", + "name": "node-conditions", "short": null, - "long": "watch", + "long": "conditions", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" }, { - "name": "hmr", + "name": "allow-scripts", "short": null, - "long": "watch-hmr", + "long": "allow-scripts", "required": false, - "help": "Watch for file changes and hot-replace modules. The process restarts if hot replacement fails.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch-hmr[=...]" - }, + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "eval", + "about": "Evaluate a script from the command line", + "usage": "Usage: eval", + "args": [ { - "name": "watch-exclude", + "name": "code_arg", "short": null, - "long": "watch-exclude", + "long": null, "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help": "Code to evaluate", + "help_heading": null, + "usage": "" }, { - "name": "no-clear-screen", - "short": null, - "long": "no-clear-screen", + "name": "print", + "short": "p", + "long": "print", "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" + "help": "print result to stdout", + "help_heading": null, + "usage": "-p, --print" }, { "name": "ext", @@ -995,312 +1175,79 @@ "required": false, "help": "Set content type of the supplied file", "help_heading": null, - "usage": "--ext " - }, - { - "name": "script_arg", - "short": null, - "long": null, - "required": false, - "help": "Script arg", - "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "--ext" }, { "name": "env-file", "short": null, "long": "env-file", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--env-file" }, { - "name": "no-code-cache", + "name": "check", "short": null, - "long": "no-code-cache", + "long": "check", "required": false, - "help": "Disable V8 code cache feature", + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", "help_heading": null, - "usage": "--no-code-cache" + "usage": "--check" }, { - "name": "coverage", + "name": "no-check", "short": null, - "long": "coverage", + "long": "no-check", "required": false, - "help": "Collect coverage profile data into DIR. If DIR is not specified, it uses 'coverage/'.\n \u001b[38;5;245mThis option can also be set via the DENO_COVERAGE_DIR environment variable.\u001b[39m", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--coverage[=]" + "usage": "--no-check" }, { - "name": "cpu-prof", + "name": "import-map", "short": null, - "long": "cpu-prof", + "long": "import-map", "required": false, - "help": "Start the V8 CPU profiler on startup and write the profile to disk on exit. Profiles are written to the current directory by default", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--cpu-prof" + "usage": "--import-map" }, { - "name": "cpu-prof-dir", + "name": "no-remote", "short": null, - "long": "cpu-prof-dir", + "long": "no-remote", "required": false, - "help": "Directory where the V8 CPU profiles will be written. Implicitly enables --cpu-prof", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--cpu-prof-dir " + "usage": "--no-remote" }, { - "name": "cpu-prof-name", + "name": "no-npm", "short": null, - "long": "cpu-prof-name", + "long": "no-npm", "required": false, - "help": "Filename for the CPU profile (defaults to CPU...cpuprofile)", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--cpu-prof-name " + "usage": "--no-npm" }, { - "name": "cpu-prof-interval", + "name": "node-modules-dir", "short": null, - "long": "cpu-prof-interval", + "long": "node-modules-dir", "required": false, - "help": "Sampling interval in microseconds for CPU profiling (default: 1000)", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--cpu-prof-interval " + "usage": "--node-modules-dir" }, { - "name": "cpu-prof-md", + "name": "vendor", "short": null, - "long": "cpu-prof-md", + "long": "vendor", "required": false, - "help": "Generate a human-readable markdown report alongside the CPU profile", + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "--cpu-prof-md" - }, - { - "name": "cpu-prof-flamegraph", - "short": null, - "long": "cpu-prof-flamegraph", - "required": false, - "help": "Generate an SVG flamegraph alongside the CPU profile", - "help_heading": null, - "usage": "--cpu-prof-flamegraph" - }, - { - "name": "tunnel", - "short": "t", - "long": "tunnel", - "required": false, - "help": "Execute tasks with a tunnel to Deno Deploy.\n\n Create a secure connection between your local machine and Deno Deploy,\n providing access to centralised environment variables, logging,\n and serving from your local environment to the public internet", - "help_heading": null, - "usage": "--tunnel[=]" - }, - { - "name": "use-env-proxy", - "short": null, - "long": "use-env-proxy", - "required": false, - "help": "Use HTTP_PROXY, HTTPS_PROXY, and NO_PROXY for node:http/node:https", - "help_heading": null, - "usage": "--use-env-proxy" - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno watch\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m" - }, - { - "name": "serve", - "about": "Run a server defined in a main module\n\nThe serve command uses the default exports of the main module to determine which servers to start.\n\nStart a server defined in server.ts:\n \u001b[38;5;245mdeno serve server.ts\u001b[39m\n\nStart a server defined in server.ts, watching for changes and running on port 5050:\n \u001b[38;5;245mdeno serve --watch --port 5050 server.ts\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/serve\u001b[39m", - "args": [ - { - "name": "unstable-bundle", - "short": null, - "long": "unstable-bundle", - "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" - }, - { - "name": "unstable-cron", - "short": null, - "long": "unstable-cron", - "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" - }, - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", - "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" - }, - { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", - "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-net", - "short": null, - "long": "unstable-net", - "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" - }, - { - "name": "unstable-no-legacy-abort", - "short": null, - "long": "unstable-no-legacy-abort", - "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-raw-imports", - "short": null, - "long": "unstable-raw-imports", - "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", - "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, - { - "name": "unstable-tsgo", - "short": null, - "long": "unstable-tsgo", - "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" - }, - { - "name": "unstable-unsafe-proto", - "short": null, - "long": "unstable-unsafe-proto", - "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" - }, - { - "name": "unstable-webgpu", - "short": null, - "long": "unstable-webgpu", - "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" - }, - { - "name": "unstable-worker-options", - "short": null, - "long": "unstable-worker-options", - "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" - }, - { - "name": "no-check", - "short": null, - "long": "no-check", - "required": false, - "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" - }, - { - "name": "import-map", - "short": null, - "long": "import-map", - "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " - }, - { - "name": "no-remote", - "short": null, - "long": "no-remote", - "required": false, - "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", - "usage": "--no-remote" - }, - { - "name": "no-npm", - "short": null, - "long": "no-npm", - "required": false, - "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", - "usage": "--no-npm" - }, - { - "name": "node-modules-dir", - "short": null, - "long": "node-modules-dir", - "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" + "usage": "--vendor" }, { "name": "node-modules-linker", @@ -1308,35 +1255,17 @@ "long": "node-modules-linker", "required": false, "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" - }, - { - "name": "vendor", - "short": null, - "long": "vendor", - "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" - }, - { - "name": "conditions", - "short": null, - "long": "conditions", - "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -1352,9 +1281,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -1362,8 +1291,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -1371,17 +1300,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -1390,25 +1319,34 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" + }, + { + "name": "unsafely-ignore-certificate-errors", + "short": null, + "long": "unsafely-ignore-certificate-errors", + "required": false, + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "minimum-dependency-age", + "name": "min-dep-age", "short": null, - "long": "minimum-dependency-age", + "long": "min-dep-age", "required": false, "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--min-dep-age" }, { "name": "inspect", "short": null, "long": "inspect", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { "name": "inspect-brk", @@ -1416,8 +1354,8 @@ "long": "inspect-brk", "required": false, "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "help_heading": null, + "usage": "--inspect-brk" }, { "name": "inspect-wait", @@ -1425,17 +1363,17 @@ "long": "inspect-wait", "required": false, "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "allow-scripts", + "name": "inspect-publish-uid", "short": null, - "long": "allow-scripts", + "long": "inspect-publish-uid", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": null, "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--inspect-publish-uid" }, { "name": "cached-only", @@ -1443,7 +1381,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -1451,18 +1389,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -1471,7 +1409,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -1480,7 +1418,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -1489,70 +1427,69 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " + "usage": "--require" }, { - "name": "port", + "name": "node-conditions", "short": null, - "long": "port", + "long": "conditions", "required": false, - "help": "The TCP port to serve on. Pass 0 to pick a random free port \u001b[38;5;245m[default: 8000]\u001b[39m", + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", "help_heading": null, - "usage": "--port " - }, + "usage": "--conditions" + } + ], + "subcommands": [] + }, + { + "name": "fmt", + "about": "Format source files", + "usage": "Usage: fmt", + "args": [ { - "name": "host", + "name": "files", "short": null, - "long": "host", + "long": null, "required": false, - "help": "The TCP address to serve on, defaulting to 0.0.0.0 (all interfaces)", + "help": null, "help_heading": null, - "usage": "--host " + "usage": "" }, { - "name": "open", + "name": "check", "short": null, - "long": "open", + "long": "check", "required": false, - "help": "Open the browser on the address that the server is running on.", + "help": "Check if the source files are formatted", "help_heading": null, - "usage": "--open" + "usage": "--check" }, { - "name": "parallel", + "name": "fail-fast", "short": null, - "long": "parallel", + "long": "fail-fast", "required": false, - "help": "Run multiple server workers in parallel. Parallelism defaults to the number of available CPUs or the value of the DENO_JOBS environment variable", + "help": "Stop checking files on first format error", "help_heading": null, - "usage": "--parallel" + "usage": "--fail-fast" }, { - "name": "check", + "name": "permit-no-files", "short": null, - "long": "check", + "long": "permit-no-files", "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Don't return an error code if no files were found", + "help_heading": null, + "usage": "--permit-no-files" }, { "name": "watch", "short": null, "long": "watch", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" - }, - { - "name": "hmr", - "short": null, - "long": "watch-hmr", - "required": false, - "help": "Watch for file changes and hot-replace modules. The process restarts if hot replacement fails.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch-hmr[=...]" + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch" }, { "name": "watch-exclude", @@ -1560,8 +1497,8 @@ "long": "watch-exclude", "required": false, "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help_heading": null, + "usage": "--watch-exclude" }, { "name": "no-clear-screen", @@ -1569,7 +1506,7 @@ "long": "no-clear-screen", "required": false, "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", + "help_heading": null, "usage": "--no-clear-screen" }, { @@ -1579,606 +1516,563 @@ "required": false, "help": "Set content type of the supplied file", "help_heading": null, - "usage": "--ext " + "usage": "--ext" }, { - "name": "script_arg", + "name": "ignore", "short": null, - "long": null, + "long": "ignore", "required": false, - "help": "Script arg", + "help": "Ignore formatting particular source files", "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "--ignore" }, { - "name": "env-file", + "name": "use-tabs", "short": null, - "long": "env-file", + "long": "use-tabs", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Use tabs instead of spaces for indentation [default: false]", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--use-tabs" }, { - "name": "no-code-cache", + "name": "line-width", "short": null, - "long": "no-code-cache", + "long": "line-width", "required": false, - "help": "Disable V8 code cache feature", + "help": "Define maximum line width [default: 80]", "help_heading": null, - "usage": "--no-code-cache" + "usage": "--line-width" }, { - "name": "cpu-prof", + "name": "indent-width", "short": null, - "long": "cpu-prof", + "long": "indent-width", "required": false, - "help": "Start the V8 CPU profiler on startup and write the profile to disk on exit. Profiles are written to the current directory by default", + "help": "Define indentation width [default: 2]", "help_heading": null, - "usage": "--cpu-prof" + "usage": "--indent-width" }, { - "name": "cpu-prof-dir", + "name": "single-quote", "short": null, - "long": "cpu-prof-dir", + "long": "single-quote", "required": false, - "help": "Directory where the V8 CPU profiles will be written. Implicitly enables --cpu-prof", + "help": "Use single quotes [default: false]", "help_heading": null, - "usage": "--cpu-prof-dir " + "usage": "--single-quote" }, { - "name": "cpu-prof-name", + "name": "prose-wrap", "short": null, - "long": "cpu-prof-name", + "long": "prose-wrap", "required": false, - "help": "Filename for the CPU profile (defaults to CPU...cpuprofile)", + "help": "Define how prose should be wrapped [default: always]", "help_heading": null, - "usage": "--cpu-prof-name " + "usage": "--prose-wrap" }, { - "name": "cpu-prof-interval", + "name": "no-semicolons", "short": null, - "long": "cpu-prof-interval", + "long": "no-semicolons", + "required": false, + "help": "Don't use semicolons except where necessary [default: false]", + "help_heading": null, + "usage": "--no-semicolons" + }, + { + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Sampling interval in microseconds for CPU profiling (default: 1000)", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--cpu-prof-interval " + "usage": "-c, --config" }, { - "name": "cpu-prof-md", + "name": "no-config", "short": null, - "long": "cpu-prof-md", + "long": "no-config", "required": false, - "help": "Generate a human-readable markdown report alongside the CPU profile", + "help": "Disable automatic loading of the configuration file", "help_heading": null, - "usage": "--cpu-prof-md" + "usage": "--no-config" }, { - "name": "cpu-prof-flamegraph", + "name": "no-editorconfig", "short": null, - "long": "cpu-prof-flamegraph", + "long": "no-editorconfig", "required": false, - "help": "Generate an SVG flamegraph alongside the CPU profile", + "help": "Don't read .editorconfig files to infer formatting options [default: false]", "help_heading": null, - "usage": "--cpu-prof-flamegraph" + "usage": "--no-editorconfig" }, { - "name": "tunnel", - "short": "t", - "long": "tunnel", + "name": "unstable-component", + "short": null, + "long": "unstable-component", "required": false, - "help": "Execute tasks with a tunnel to Deno Deploy.\n\n Create a secure connection between your local machine and Deno Deploy,\n providing access to centralised environment variables, logging,\n and serving from your local environment to the public internet", + "help": "Enable formatting Svelte, Vue, Astro and Angular files", "help_heading": null, - "usage": "--tunnel[=]" + "usage": "--unstable-component" }, { - "name": "unstable", + "name": "unstable-sql", "short": null, - "long": "unstable", + "long": "unstable-sql", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" + "help": "Enable formatting SQL files.", + "help_heading": null, + "usage": "--unstable-sql" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno serve\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m" + "subcommands": [] }, { - "name": "add", - "about": "Add dependencies to your configuration file.\n \u001b[38;5;245mdeno add express\u001b[39m\n\nUnprefixed packages default to npm. Use jsr: prefix for jsr packages:\n \u001b[38;5;245mdeno add jsr:@std/path\u001b[39m\n\nOr multiple dependencies at once:\n \u001b[38;5;245mdeno add express jsr:@std/path\u001b[39m", + "name": "lint", + "about": "Lint source files", + "usage": "Usage: lint", "args": [ { - "name": "packages", + "name": "files", "short": null, "long": null, "required": false, - "help": "List of packages to add", + "help": null, "help_heading": null, - "usage": "[packages]..." + "usage": "" }, { - "name": "dev", - "short": "D", - "long": "dev", + "name": "rules", + "short": null, + "long": "rules", "required": false, - "help": "Add the package as a dev dependency (under `devDependencies`). Note: this only applies when adding to a `package.json` file.", + "help": "List available rules", "help_heading": null, - "usage": "--dev" + "usage": "--rules" }, { - "name": "save-optional", - "short": "O", - "long": "save-optional", + "name": "fix", + "short": null, + "long": "fix", "required": false, - "help": "Add the package as an optional dependency (under `optionalDependencies`). Note: this only applies when adding to a `package.json` file.", + "help": "Fix any linting errors for rules that support it", "help_heading": null, - "usage": "--save-optional" + "usage": "--fix" }, { - "name": "no-save", + "name": "rules-tags", "short": null, - "long": "no-save", + "long": "rules-tags", "required": false, - "help": "Install the package(s) without adding them to the configuration file.", + "help": "Use set of rules with a tag", "help_heading": null, - "usage": "--no-save" + "usage": "--rules-tags" }, { - "name": "allow-scripts", + "name": "rules-include", "short": null, - "long": "allow-scripts", + "long": "rules-include", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": "Include lint rules", "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--rules-include" }, { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "name": "rules-exclude", + "short": null, + "long": "rules-exclude", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "Exclude lint rules", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "--rules-exclude" }, { - "name": "deny-import", + "name": "json", "short": null, - "long": "deny-import", + "long": "json", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "Output lint result in JSON format", "help_heading": null, - "usage": "--deny-import[=...]" + "usage": "--json" }, { - "name": "lock", + "name": "compact", "short": null, - "long": "lock", + "long": "compact", "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "Output lint result in compact format", + "help_heading": null, + "usage": "--compact" }, { - "name": "no-lock", + "name": "ignore", "short": null, - "long": "no-lock", + "long": "ignore", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "Ignore linting particular source files", + "help_heading": null, + "usage": "--ignore" }, { - "name": "frozen", + "name": "watch", "short": null, - "long": "frozen", + "long": "watch", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch" }, { - "name": "lockfile-only", + "name": "watch-exclude", "short": null, - "long": "lockfile-only", + "long": "watch-exclude", "required": false, - "help": "Install only updating the lockfile", + "help": "Exclude provided files/patterns from watch mode", "help_heading": null, - "usage": "--lockfile-only" + "usage": "--watch-exclude" }, { - "name": "npm", + "name": "no-clear-screen", "short": null, - "long": "npm", + "long": "no-clear-screen", "required": false, - "help": "assume unprefixed package names are npm packages (default)", + "help": "Do not clear terminal screen when under watch mode", "help_heading": null, - "usage": "--npm" + "usage": "--no-clear-screen" }, { - "name": "jsr", + "name": "permit-no-files", "short": null, - "long": "jsr", + "long": "permit-no-files", "required": false, - "help": "assume unprefixed package names are jsr packages", + "help": "Don't return an error code if no files were found", "help_heading": null, - "usage": "--jsr" + "usage": "--permit-no-files" }, { - "name": "save-exact", - "short": null, - "long": "save-exact", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Save exact version without the caret (^)", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--save-exact" + "usage": "-c, --config" }, { - "name": "unscoped", + "name": "no-config", "short": null, - "long": "unscoped", + "long": "no-config", "required": false, - "help": "Use the package name without its scope as the alias (ex. `jsr:@david/jsonc-morph` is added as `jsonc-morph`). Packages given an explicit alias are unaffected.", + "help": "Disable automatic loading of the configuration file", "help_heading": null, - "usage": "--unscoped" + "usage": "--no-config" }, { - "name": "package-json", + "name": "ext", "short": null, - "long": "package-json", + "long": "ext", "required": false, - "help": "Force using package.json for dependency management instead of deno.json", + "help": "Specify the file extension to lint when reading from stdin.For example, use `jsx` to lint JSX files or `tsx` for TSX files.This argument is necessary because stdin input does not automatically infer the file type.Example usage: `cat file.jsx | deno lint - --ext=jsx`.", "help_heading": null, - "usage": "--package-json" + "usage": "--ext" }, { - "name": "env-file", - "short": null, - "long": "env-file", + "name": "allow-import", + "short": "I", + "long": "allow-import", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", "help_heading": null, - "usage": "--env-file[=]" + "usage": "-I, --allow-import" }, { - "name": "minimum-dependency-age", + "name": "deny-import", "short": null, - "long": "minimum-dependency-age", + "long": "deny-import", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--deny-import" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno add\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[packages]...\u001b[0m" + "subcommands": [] }, { - "name": "audit", - "about": "Audit currently installed dependencies.\n \u001b[38;5;245mdeno audit\u001b[39m\n\nShow only high and critical severity vulnerabilities\n \u001b[38;5;245mdeno audit --level=high\u001b[39m\n\nCheck against socket.dev vulnerability database\n \u001b[38;5;245mdeno audit --socket\u001b[39m\n\nDon't error if the audit data can't be retrieved from the registry\n \u001b[38;5;245mdeno audit --ignore-registry-errors\u001b[39m", + "name": "test", + "about": "Run tests", + "usage": "Usage: test", "args": [ { - "name": "lock", + "name": "files", "short": null, - "long": "lock", + "long": null, "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "List of file names to run", + "help_heading": null, + "usage": "" }, { - "name": "no-lock", + "name": "doc", "short": null, - "long": "no-lock", + "long": "doc", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "Evaluate code blocks in JSDoc and Markdown", + "help_heading": null, + "usage": "--doc" }, { - "name": "frozen", + "name": "no-run", "short": null, - "long": "frozen", + "long": "no-run", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "Cache test modules, but don't run tests", + "help_heading": null, + "usage": "--no-run" }, { - "name": "env-file", + "name": "coverage", "short": null, - "long": "env-file", + "long": "coverage", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Collect coverage profile data into DIR. If DIR is not specified, it uses 'coverage/'.\n This option can also be set via the DENO_COVERAGE_DIR environment variable.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--coverage" }, { - "name": "level", + "name": "clean", "short": null, - "long": "level", + "long": "clean", "required": false, - "help": "Only show advisories with severity greater or equal to the one specified", + "help": "Empty the temporary coverage profile data directory before running tests.\n Note: running multiple `deno test --clean` calls in series or parallel for the same coverage directory may cause race conditions.", "help_heading": null, - "usage": "--level " + "usage": "--clean" }, { - "name": "ignore-unfixable", + "name": "fail-fast", "short": null, - "long": "ignore-unfixable", + "long": "fail-fast", "required": false, - "help": "Ignore advisories that don't have any actions to resolve them", + "help": "Stop after N errors. Defaults to stopping after first failure", "help_heading": null, - "usage": "--ignore-unfixable" + "usage": "--fail-fast" }, { - "name": "socket", + "name": "filter", "short": null, - "long": "socket", + "long": "filter", "required": false, - "help": "Check against socket.dev vulnerability database", + "help": "Run tests with this string or regexp pattern in the test name", "help_heading": null, - "usage": "--socket" + "usage": "--filter" }, { - "name": "ignore-registry-errors", + "name": "shuffle", "short": null, - "long": "ignore-registry-errors", + "long": "shuffle", "required": false, - "help": "Return exit code 0 if remote service(s) responds with an error.", + "help": "Shuffle the order in which the tests are run", "help_heading": null, - "usage": "--ignore-registry-errors" + "usage": "--shuffle" }, { - "name": "ignore", + "name": "parallel", "short": null, - "long": "ignore", + "long": "parallel", "required": false, - "help": "Ignore advisories matching the given CVE IDs", + "help": "Run test modules in parallel. Parallelism defaults to the number of available CPUs or the value of the DENO_JOBS environment variable", "help_heading": null, - "usage": "--ignore " + "usage": "--parallel" }, { - "name": "fix", + "name": "sanitize-ops", "short": null, - "long": "fix", + "long": "sanitize-ops", "required": false, - "help": "Automatically fix vulnerabilities by upgrading packages", + "help": "Enable the ops sanitizer, which ensures that all async ops started in a test are completed before the test ends", "help_heading": null, - "usage": "--fix" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno audit\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "remove", - "about": "Remove dependencies from the configuration file.\n \u001b[38;5;245mdeno remove @std/path\u001b[39m\n\nYou can remove multiple dependencies at once:\n \u001b[38;5;245mdeno remove @std/path @std/assert\u001b[39m\n\nWith the \u001b[36m--global\u001b[39m flag, this is an alias for \u001b[36mdeno uninstall --global\u001b[39m and\nremoves a globally installed executable script:\n \u001b[38;5;245mdeno remove --global file_server\u001b[39m\n", - "args": [ + "usage": "--sanitize-ops" + }, { - "name": "packages", + "name": "sanitize-resources", "short": null, - "long": null, + "long": "sanitize-resources", "required": false, - "help": "List of packages to remove", + "help": "Enable the resources sanitizer, which ensures that all resources opened in a test are closed before the test ends", "help_heading": null, - "usage": "[packages]..." + "usage": "--sanitize-resources" }, { - "name": "root", + "name": "coverage-threshold", "short": null, - "long": "root", + "long": "coverage-threshold", "required": false, - "help": "Installation root", + "help": "Fail if coverage is below this percentage (0-100). Requires --coverage", "help_heading": null, - "usage": "--root " + "usage": "--coverage-threshold" }, { - "name": "global", - "short": "g", - "long": "global", + "name": "update-snapshots", + "short": "u", + "long": "update-snapshots", "required": false, - "help": "Remove globally installed package or module", + "help": "Update snapshots created with `t.assertSnapshot()` instead of failing when they do not match", "help_heading": null, - "usage": "--global" + "usage": "-u, --update-snapshots" }, { - "name": "lock", + "name": "watch", "short": null, - "long": "lock", + "long": "watch", "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", + "help_heading": null, + "usage": "--watch" }, { - "name": "no-lock", + "name": "watch-exclude", "short": null, - "long": "no-lock", + "long": "watch-exclude", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "Exclude provided files/patterns from watch mode", + "help_heading": null, + "usage": "--watch-exclude" }, { - "name": "frozen", + "name": "no-clear-screen", "short": null, - "long": "frozen", + "long": "no-clear-screen", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "Do not clear terminal screen when under watch mode", + "help_heading": null, + "usage": "--no-clear-screen" }, { - "name": "lockfile-only", + "name": "reporter", "short": null, - "long": "lockfile-only", + "long": "reporter", "required": false, - "help": "Install only updating the lockfile", + "help": "Select reporter to use. Default to 'pretty'", "help_heading": null, - "usage": "--lockfile-only" + "usage": "--reporter" }, { - "name": "package-json", + "name": "junit-path", "short": null, - "long": "package-json", + "long": "junit-path", "required": false, - "help": "Force using package.json for dependency management instead of deno.json", + "help": "Write a JUnit XML test report to PATH. Use '-' to write to stdout which is the default when PATH is not provided", "help_heading": null, - "usage": "--package-json" + "usage": "--junit-path" }, { - "name": "minimum-dependency-age", + "name": "hide-stacktraces", "short": null, - "long": "minimum-dependency-age", + "long": "hide-stacktraces", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "Hide stack traces for errors in failure test results.", "help_heading": null, - "usage": "--minimum-dependency-age " - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno remove\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[packages]...\u001b[0m" - }, - { - "name": "bench", - "about": "Run benchmarks using Deno's built-in bench tool.\n\nEvaluate the given files, run all benches declared with 'Deno.bench()' and report results to standard output:\n \u001b[38;5;245mdeno bench src/fetch_bench.ts src/signal_bench.ts\u001b[39m\n\nIf you specify a directory instead of a file, the path is expanded to all contained files matching the glob \u001b[36m{*_,*.,}bench.{js,mjs,ts,mts,jsx,tsx}\u001b[39m:\n \u001b[38;5;245mdeno bench src/\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/bench\u001b[39m", - "args": [ - { - "name": "unstable-bundle", - "short": null, - "long": "unstable-bundle", - "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" - }, - { - "name": "unstable-cron", - "short": null, - "long": "unstable-cron", - "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" - }, - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", - "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "usage": "--hide-stacktraces" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "retry", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "retry", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Re-run failing tests up to NUMBER times. A test passes if any attempt passes. Tests that set their own `retry` option take precedence", + "help_heading": null, + "usage": "--retry" }, { - "name": "unstable-lockfile-v5", + "name": "repeats", "short": null, - "long": "unstable-lockfile-v5", + "long": "repeats", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Run each test NUMBER additional times. Every repetition must pass. Tests that set their own `repeats` option take precedence", + "help_heading": null, + "usage": "--repeats" }, { - "name": "unstable-net", + "name": "shard", "short": null, - "long": "unstable-net", + "long": "shard", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Run only the test files for shard INDEX of COUNT, e.g. --shard=2/3.\n The discovered test files are sorted and split into COUNT consecutive groups; INDEX is 1-based. Useful for splitting a run across machines.", + "help_heading": null, + "usage": "--shard" }, { - "name": "unstable-no-legacy-abort", + "name": "changed", "short": null, - "long": "unstable-no-legacy-abort", + "long": "changed", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Run only test modules affected by files changed in git.\n With no value, uses uncommitted changes (staged, unstaged and untracked).\n Pass a git ref to compare against, e.g. --changed=main or --changed=HEAD~1.", + "help_heading": null, + "usage": "--changed" }, { - "name": "unstable-npm-lazy-caching", + "name": "related", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "related", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Run only test modules that depend on the given source files", + "help_heading": null, + "usage": "--related" }, { - "name": "unstable-raw-imports", + "name": "coverage-raw-data-only", "short": null, - "long": "unstable-raw-imports", + "long": "coverage-raw-data-only", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Only collect raw coverage data, without generating a report", + "help_heading": null, + "usage": "--coverage-raw-data-only" }, { - "name": "unstable-sloppy-imports", + "name": "ignore", "short": null, - "long": "unstable-sloppy-imports", + "long": "ignore", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Ignore files", + "help_heading": null, + "usage": "--ignore" }, { - "name": "unstable-tsgo", + "name": "env-file", "short": null, - "long": "unstable-tsgo", + "long": "env-file", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-unsafe-proto", + "name": "permit-no-files", "short": null, - "long": "unstable-unsafe-proto", + "long": "permit-no-files", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Don't return an error code if no files were found", + "help_heading": null, + "usage": "--permit-no-files" }, { - "name": "unstable-webgpu", + "name": "ext", "short": null, - "long": "unstable-webgpu", + "long": "ext", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Set content type of the supplied file", + "help_heading": null, + "usage": "--ext" }, { - "name": "unstable-worker-options", + "name": "check", "short": null, - "long": "unstable-worker-options", + "long": "check", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing --check is redundant; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { "name": "no-check", @@ -2186,17 +2080,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -2204,7 +2098,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -2213,7 +2107,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -2221,18 +2115,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -2240,26 +2125,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -2275,9 +2160,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -2285,8 +2170,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -2294,17 +2179,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -2313,25 +2198,61 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", + "required": false, + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" + }, + { + "name": "min-dep-age", + "short": null, + "long": "min-dep-age", "required": false, "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--min-dep-age" }, { - "name": "allow-scripts", + "name": "inspect", "short": null, - "long": "allow-scripts", + "long": "inspect", + "required": false, + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" + }, + { + "name": "inspect-brk", + "short": null, + "long": "inspect-brk", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", + "help_heading": null, + "usage": "--inspect-brk" + }, + { + "name": "inspect-wait", + "short": null, + "long": "inspect-wait", + "required": false, + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", + "help_heading": null, + "usage": "--inspect-wait" + }, + { + "name": "inspect-publish-uid", + "short": null, + "long": "inspect-publish-uid", + "required": false, + "help": null, "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--inspect-publish-uid" }, { "name": "cached-only", @@ -2339,7 +2260,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -2347,18 +2268,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -2367,7 +2288,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -2376,7 +2297,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -2385,195 +2306,203 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " + "usage": "--require" }, { - "name": "check", + "name": "node-conditions", "short": null, - "long": "check", + "long": "conditions", "required": false, - "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing \u001b[38;5;245m--check\u001b[39m is redundant; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" }, { - "name": "json", + "name": "allow-scripts", "short": null, - "long": "json", + "long": "allow-scripts", "required": false, - "help": "UNSTABLE: Output benchmark result in JSON format", + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", "help_heading": null, - "usage": "--json" - }, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "upgrade", + "about": "Upgrade deno executable to given version", + "usage": "Usage: upgrade", + "args": [ { - "name": "ignore", + "name": "dry-run", "short": null, - "long": "ignore", + "long": "dry-run", "required": false, - "help": "Ignore files", + "help": "Perform all checks without replacing old exe", "help_heading": null, - "usage": "--ignore=..." + "usage": "--dry-run" }, { - "name": "filter", - "short": null, - "long": "filter", + "name": "force", + "short": "f", + "long": "force", "required": false, - "help": "Run benchmarks with this string or regexp pattern in the bench name", + "help": "Replace current exe even if not out-of-date", "help_heading": null, - "usage": "--filter " + "usage": "-f, --force" }, { - "name": "files", + "name": "canary", "short": null, - "long": null, + "long": "canary", "required": false, - "help": "List of file names to run", + "help": "Upgrade to canary builds", "help_heading": null, - "usage": "[files]..." + "usage": "--canary" }, { - "name": "no-run", + "name": "release-candidate", "short": null, - "long": "no-run", + "long": "release-candidate", "required": false, - "help": "Cache bench modules, but don't run benchmarks", + "help": "Upgrade to a release candidate", "help_heading": null, - "usage": "--no-run" + "usage": "--release-candidate" }, { - "name": "permit-no-files", + "name": "version", "short": null, - "long": "permit-no-files", + "long": "version", "required": false, - "help": "Don't return an error code if no files were found", + "help": "The version to upgrade to", "help_heading": null, - "usage": "--permit-no-files" + "usage": "--version" }, { - "name": "watch", - "short": null, - "long": "watch", + "name": "output", + "short": "o", + "long": "output", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" + "help": "The path to output the updated version to", + "help_heading": null, + "usage": "-o, --output" }, { - "name": "watch-exclude", + "name": "cert", "short": null, - "long": "watch-exclude", + "long": "cert", "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" }, { - "name": "no-clear-screen", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "no-clear-screen", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "script_arg", + "name": "version-or-hash-or-channel", "short": null, "long": null, "required": false, - "help": "Script arg", + "help": "Version (v1.46.0), channel (alpha, beta, rc, canary), commit hash (9bc2dd29ad6ba334fd57a20114e367d3c04763d4), or pr 12345 to install from a PR", "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "" }, { - "name": "env-file", + "name": "pr-number-positional", "short": null, - "long": "env-file", + "long": null, "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": null, "help_heading": null, - "usage": "--env-file[=]" + "usage": "" }, { - "name": "ext", + "name": "pr", "short": null, - "long": "ext", + "long": "pr", "required": false, - "help": "Set content type of the supplied file", + "help": null, "help_heading": null, - "usage": "--ext " + "usage": "--pr" }, { - "name": "unstable", + "name": "checksum", "short": null, - "long": "unstable", + "long": "checksum", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno bench\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[files]...\u001b[0m \u001b[32m[--\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m\u001b[32m]\u001b[0m" - }, - { - "name": "bundle", - "about": "Output a single JavaScript file with all dependencies.\n\n deno bundle jsr:@std/http/file-server -o file-server.bundle.js\n\nIf no output file is given, the output is written to standard output:\n\n deno bundle jsr:@std/http/file-server\n", - "args": [ + "help": "Verify the downloaded archive against the provided SHA256 checksum", + "help_heading": null, + "usage": "--checksum" + }, { - "name": "unstable-detect-cjs", + "name": "branch", "short": null, - "long": "unstable-detect-cjs", + "long": "branch", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": null, + "help_heading": null, + "usage": "--branch" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "no-delta", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "no-delta", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, + "help": "Disable delta updates and always download the full archive", + "help_heading": null, + "usage": "--no-delta" + } + ], + "subcommands": [] + }, + { + "name": "cache", + "about": "Cache the dependencies", + "usage": "Usage: cache", + "args": [ { - "name": "unstable-lockfile-v5", + "name": "files", "short": null, - "long": "unstable-lockfile-v5", + "long": null, "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "unstable-npm-lazy-caching", + "name": "check", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "check", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "unstable-sloppy-imports", + "name": "ext", "short": null, - "long": "unstable-sloppy-imports", + "long": "ext", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": null, + "help_heading": null, + "usage": "--ext" }, { - "name": "unstable-tsgo", + "name": "env-file", "short": null, - "long": "unstable-tsgo", + "long": "env-file", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { "name": "no-check", @@ -2581,17 +2510,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -2599,7 +2528,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -2608,7 +2537,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -2616,45 +2545,36 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { - "name": "node-modules-linker", + "name": "vendor", "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" - }, - { - "name": "vendor", - "short": null, - "long": "vendor", + "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -2670,9 +2590,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -2680,8 +2600,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -2689,17 +2609,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -2708,258 +2628,177 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " - }, - { - "name": "check", - "short": null, - "long": "check", - "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "env-file", + "name": "min-dep-age", "short": null, - "long": "env-file", + "long": "min-dep-age", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--min-dep-age" }, { - "name": "file", + "name": "inspect", "short": null, - "long": null, - "required": false, - "help": null, - "help_heading": null, - "usage": "[file]..." - }, - { - "name": "output", - "short": "o", - "long": "output", + "long": "inspect", "required": false, - "help": "Output path`", + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", "help_heading": null, - "usage": "--output " + "usage": "--inspect" }, { - "name": "outdir", + "name": "inspect-brk", "short": null, - "long": "outdir", + "long": "inspect-brk", "required": false, - "help": "Output directory for bundled files", + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", "help_heading": null, - "usage": "--outdir " + "usage": "--inspect-brk" }, { - "name": "external", + "name": "inspect-wait", "short": null, - "long": "external", + "long": "inspect-wait", "required": false, - "help": null, + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", "help_heading": null, - "usage": "--external " + "usage": "--inspect-wait" }, { - "name": "format", + "name": "inspect-publish-uid", "short": null, - "long": "format", + "long": "inspect-publish-uid", "required": false, "help": null, "help_heading": null, - "usage": "--format " + "usage": "--inspect-publish-uid" }, { - "name": "packages", - "short": null, - "long": "packages", + "name": "allow-import", + "short": "I", + "long": "allow-import", "required": false, - "help": "How to handle packages. Accepted values are 'bundle' or 'external'", + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", "help_heading": null, - "usage": "--packages " + "usage": "-I, --allow-import" }, { - "name": "minify", + "name": "deny-import", "short": null, - "long": "minify", + "long": "deny-import", "required": false, - "help": "Minify the output", + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", "help_heading": null, - "usage": "--minify" + "usage": "--deny-import" }, { - "name": "keep-names", + "name": "allow-scripts", "short": null, - "long": "keep-names", + "long": "allow-scripts", "required": false, - "help": "Keep function and class names", + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", "help_heading": null, - "usage": "--keep-names" - }, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "check", + "about": "Type-check the dependencies", + "usage": "Usage: check", + "args": [ { - "name": "code-splitting", + "name": "files", "short": null, - "long": "code-splitting", + "long": null, "required": false, - "help": "Enable code splitting", + "help": null, "help_heading": null, - "usage": "--code-splitting" + "usage": "" }, { - "name": "inline-imports", + "name": "all", "short": null, - "long": "inline-imports", + "long": "all", "required": false, - "help": "Whether to inline imported modules into the importing file \u001b[38;5;245m[default: true]\u001b[39m", + "help": "Type-check all code, including remote modules and npm packages", "help_heading": null, - "usage": "--inline-imports[=]" + "usage": "--all" }, { - "name": "sourcemap", + "name": "doc", "short": null, - "long": "sourcemap", + "long": "doc", "required": false, - "help": "Generate source map. Accepted values are 'linked', 'inline', or 'external'", + "help": "Type-check code blocks in JSDoc as well as actual code", "help_heading": null, - "usage": "--sourcemap[=]" + "usage": "--doc" }, { - "name": "watch", + "name": "doc-only", "short": null, - "long": "watch", + "long": "doc-only", "required": false, - "help": "Watch and rebuild on changes", + "help": "Type-check code blocks in JSDoc and Markdown only", "help_heading": null, - "usage": "--watch" + "usage": "--doc-only" }, { - "name": "platform", + "name": "desktop", "short": null, - "long": "platform", + "long": "desktop", "required": false, - "help": "Platform to bundle for. Accepted values are 'browser' or 'deno'", + "help": "Type-check using the type definitions for `deno desktop`", "help_heading": null, - "usage": "--platform " + "usage": "--desktop" }, { - "name": "declaration", + "name": "no-code-cache", "short": null, - "long": "declaration", + "long": "no-code-cache", "required": false, - "help": "Generate .d.ts declaration files alongside the bundle", + "help": "Disable V8 code cache feature", "help_heading": null, - "usage": "--declaration" + "usage": "--no-code-cache" }, { - "name": "allow-scripts", + "name": "watch", "short": null, - "long": "allow-scripts", - "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", - "help_heading": null, - "usage": "--allow-scripts[=...]" - }, - { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "long": "watch", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "Watch for file changes and restart process automatically.\n Only local files from entry point module graph are watched.", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "--watch" }, { - "name": "deny-import", + "name": "watch-exclude", "short": null, - "long": "deny-import", + "long": "watch-exclude", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "Exclude provided files/patterns from watch mode", "help_heading": null, - "usage": "--deny-import[=...]" - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno bundle\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[file]...\u001b[0m" - }, - { - "name": "cache", - "about": "Cache and compile remote dependencies.\n\nDownload and compile a module with all of its static dependencies and save them in the local cache, without running any code:\n \u001b[38;5;245mdeno cache jsr:@std/http/file-server\u001b[39m\n\nFuture runs of this module will trigger no downloads or compilation unless --reload is specified\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/cache\u001b[39m", - "args": [ - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", - "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", - "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "usage": "--watch-exclude" }, { - "name": "unstable-tsgo", + "name": "no-clear-screen", "short": null, - "long": "unstable-tsgo", + "long": "no-clear-screen", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Do not clear terminal screen when under watch mode", + "help_heading": null, + "usage": "--no-clear-screen" }, { "name": "no-check", @@ -2967,17 +2806,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -2985,7 +2824,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -2994,7 +2833,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -3002,18 +2841,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -3021,26 +2851,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -3056,9 +2886,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -3066,8 +2896,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -3075,17 +2905,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -3094,231 +2924,159 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "check", + "name": "min-dep-age", "short": null, - "long": "check", + "long": "min-dep-age", "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" }, { - "name": "file", + "name": "cached-only", "short": null, - "long": null, + "long": "cached-only", "required": false, - "help": null, + "help": "Require that remote dependencies are already cached", "help_heading": null, - "usage": "[file]..." + "usage": "--cached-only" }, { - "name": "allow-scripts", + "name": "location", "short": null, - "long": "allow-scripts", + "long": "location", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--location" }, { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "name": "v8-flags", + "short": null, + "long": "v8-flags", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "--v8-flags" }, { - "name": "deny-import", + "name": "seed", "short": null, - "long": "deny-import", + "long": "seed", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "Set the random number generator seed", "help_heading": null, - "usage": "--deny-import[=...]" + "usage": "--seed" }, { - "name": "env-file", + "name": "preload", "short": null, - "long": "env-file", + "long": "preload", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--preload" }, { - "name": "unstable", + "name": "require", "short": null, - "long": "unstable", + "long": "require", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno cache\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[file]...\u001b[0m" - }, - { - "name": "check", - "about": "Download and type-check without execution.\n\n \u001b[38;5;245mdeno check jsr:@std/http/file-server\u001b[39m\n\nUnless --reload is specified, this command will not re-download already cached dependencies\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/check\u001b[39m", - "args": [ + "help": "A list of CommonJS modules that will be executed before the main module", + "help_heading": null, + "usage": "--require" + }, { - "name": "unstable-bundle", + "name": "node-conditions", "short": null, - "long": "unstable-bundle", + "long": "conditions", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" }, { - "name": "unstable-cron", - "short": null, - "long": "unstable-cron", + "name": "allow-import", + "short": "I", + "long": "allow-import", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", + "help_heading": null, + "usage": "-I, --allow-import" }, { - "name": "unstable-detect-cjs", + "name": "deny-import", "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", - "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" - }, - { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", - "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-net", - "short": null, - "long": "unstable-net", - "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" - }, - { - "name": "unstable-no-legacy-abort", - "short": null, - "long": "unstable-no-legacy-abort", - "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-raw-imports", - "short": null, - "long": "unstable-raw-imports", - "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", + "long": "deny-import", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help_heading": null, + "usage": "--deny-import" + } + ], + "subcommands": [] + }, + { + "name": "info", + "about": "Show info about cache or info related to source file", + "usage": "Usage: info", + "args": [ { - "name": "unstable-tsgo", + "name": "file", "short": null, - "long": "unstable-tsgo", + "long": null, "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "unstable-unsafe-proto", + "name": "json", "short": null, - "long": "unstable-unsafe-proto", + "long": "json", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "UNSTABLE: Outputs the information in JSON format", + "help_heading": null, + "usage": "--json" }, { - "name": "unstable-webgpu", + "name": "location", "short": null, - "long": "unstable-webgpu", + "long": "location", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Show files used for origin bound APIs like the Web Storage API when running a script with --location=", + "help_heading": null, + "usage": "--location" }, { - "name": "unstable-worker-options", + "name": "no-check", "short": null, - "long": "unstable-worker-options", + "long": "no-check", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -3326,7 +3084,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -3335,7 +3093,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -3343,18 +3101,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -3362,26 +3111,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -3397,9 +3146,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -3407,8 +3156,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -3416,17 +3165,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -3435,455 +3184,446 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "no-code-cache", + "name": "min-dep-age", "short": null, - "long": "no-code-cache", + "long": "min-dep-age", "required": false, - "help": "Disable V8 code cache feature", + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--no-code-cache" + "usage": "--min-dep-age" }, { - "name": "all", - "short": null, - "long": "all", + "name": "allow-import", + "short": "I", + "long": "allow-import", "required": false, - "help": "Type-check all code, including remote modules and npm packages", + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", "help_heading": null, - "usage": "--all" + "usage": "-I, --allow-import" }, { - "name": "doc", + "name": "deny-import", "short": null, - "long": "doc", + "long": "deny-import", "required": false, - "help": "Type-check code blocks in JSDoc as well as actual code", + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", "help_heading": null, - "usage": "--doc" - }, + "usage": "--deny-import" + } + ], + "subcommands": [] + }, + { + "name": "doc", + "about": "Generate and show documentation for a module or built-ins", + "usage": "Usage: doc", + "args": [ { - "name": "doc-only", + "name": "source_file", "short": null, - "long": "doc-only", + "long": null, "required": false, - "help": "Type-check code blocks in JSDoc and Markdown only", + "help": null, "help_heading": null, - "usage": "--doc-only" + "usage": "" }, { - "name": "check-js", + "name": "json", "short": null, - "long": "check-js", + "long": "json", "required": false, - "help": "Enable type-checking of JavaScript files (equivalent to `compilerOptions.checkJs: true`)", + "help": "Output documentation in JSON format", "help_heading": null, - "usage": "--check-js" + "usage": "--json" }, { - "name": "desktop", + "name": "private", "short": null, - "long": "desktop", + "long": "private", "required": false, - "help": "Type-check using the type definitions for `deno desktop`", - "help_heading": "Desktop options", - "usage": "--desktop" + "help": "Output private documentation", + "help_heading": null, + "usage": "--private" }, { - "name": "file", + "name": "lint", "short": null, - "long": null, + "long": "lint", "required": false, - "help": null, + "help": "Output documentation diagnostics.", "help_heading": null, - "usage": "[file]..." + "usage": "--lint" }, { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "name": "html", + "short": null, + "long": "html", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "Output documentation in HTML format", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "--html" }, { - "name": "deny-import", + "name": "name", "short": null, - "long": "deny-import", + "long": "name", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "The name that will be used in the docs (ie for breadcrumbs)", "help_heading": null, - "usage": "--deny-import[=...]" + "usage": "--name" }, { - "name": "v8-flags", + "name": "output", "short": null, - "long": "v8-flags", + "long": "output", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "Directory for HTML documentation output", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--output" }, { - "name": "env-file", + "name": "category-docs", "short": null, - "long": "env-file", + "long": "category-docs", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Path to a JSON file keyed by category and an optional value of a markdown doc", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--category-docs" }, { - "name": "watch", + "name": "symbol-redirect-map", "short": null, - "long": "watch", + "long": "symbol-redirect-map", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mOnly local files from entry point module graph are watched.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch" + "help": "Path to a JSON file keyed by file, with an inner map of symbol to an external link", + "help_heading": null, + "usage": "--symbol-redirect-map" }, { - "name": "watch-exclude", + "name": "default-symbol-map", "short": null, - "long": "watch-exclude", + "long": "default-symbol-map", "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help": "Uses the provided mapping of default name to wanted name for usage blocks", + "help_heading": null, + "usage": "--default-symbol-map" }, { - "name": "no-clear-screen", + "name": "strip-trailing-html", "short": null, - "long": "no-clear-screen", + "long": "strip-trailing-html", "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" + "help": "Remove trailing .html from various links. Will still generate files with a .html extension", + "help_heading": null, + "usage": "--strip-trailing-html" }, { - "name": "unstable", + "name": "filter", "short": null, - "long": "unstable", + "long": "filter", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno check\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[file]...\u001b[0m" - }, - { - "name": "clean", - "about": "Remove the cache directory (\u001b[36m$DENO_DIR\u001b[39m)", - "args": [ + "help": "Dot separated path to symbol", + "help_heading": null, + "usage": "--filter" + }, { - "name": "except-paths", + "name": "builtin", "short": null, - "long": null, + "long": "builtin", "required": false, "help": null, "help_heading": null, - "usage": "[except-paths]..." + "usage": "--builtin" }, { - "name": "except", - "short": "e", - "long": "except", + "name": "no-check", + "short": null, + "long": "no-check", "required": false, - "help": "Retain cache data needed by the given files", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--except" + "usage": "--no-check" }, { - "name": "dry-run", + "name": "import-map", "short": null, - "long": "dry-run", + "long": "import-map", "required": false, - "help": "Show what would be removed without performing any actions", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--dry-run" + "usage": "--import-map" }, { - "name": "node-modules-dir", + "name": "no-remote", "short": null, - "long": "node-modules-dir", + "long": "no-remote", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" + "help": "Do not resolve remote modules", + "help_heading": null, + "usage": "--no-remote" }, { - "name": "node-modules-linker", + "name": "no-npm", "short": null, - "long": "node-modules-linker", + "long": "no-npm", "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Do not resolve npm modules", + "help_heading": null, + "usage": "--no-npm" }, { - "name": "vendor", - "short": null, - "long": "vendor", - "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno clean\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[except-paths]...\u001b[0m" - }, - { - "name": "compile", - "about": "Compiles the given script into a self contained executable.\n\n \u001b[38;5;245mdeno compile --allow-read --allow-net jsr:@std/http/file-server\u001b[39m\n \u001b[38;5;245mdeno compile --output file_server jsr:@std/http/file-server\u001b[39m\n\nAny flags specified which affect runtime behavior will be applied to the resulting binary.\n\nThis allows distribution of a Deno application to systems that do not have Deno installed.\nUnder the hood, it bundles a slimmed down version of the Deno runtime along with your\nJavaScript or TypeScript code.\n\nCross-compiling to different target architectures is supported using the \u001b[36m--target\u001b[39m flag.\nOn the first invocation of `deno compile`, Deno will download the relevant binary and cache it in \u001b[36m$DENO_DIR\u001b[39m.\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/compile\u001b[39m\n", - "args": [ - { - "name": "unstable-bundle", + "name": "node-modules-dir", "short": null, - "long": "unstable-bundle", + "long": "node-modules-dir", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { - "name": "unstable-cron", + "name": "vendor", "short": null, - "long": "unstable-cron", + "long": "vendor", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "unstable-detect-cjs", + "name": "node-modules-linker", "short": null, - "long": "unstable-detect-cjs", + "long": "node-modules-linker", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Sets the linker mode for npm packages (isolated or hoisted)", + "help_heading": null, + "usage": "--node-modules-linker" }, { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "no-config", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "no-config", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Disable automatic loading of the configuration file", + "help_heading": null, + "usage": "--no-config" }, { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { - "name": "unstable-net", + "name": "lock", "short": null, - "long": "unstable-net", + "long": "lock", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "unstable-no-legacy-abort", + "name": "no-lock", "short": null, - "long": "unstable-no-legacy-abort", + "long": "no-lock", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "unstable-npm-lazy-caching", + "name": "frozen-lockfile", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "frozen-lockfile", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" }, { - "name": "unstable-raw-imports", + "name": "cert", "short": null, - "long": "unstable-raw-imports", + "long": "cert", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" }, { - "name": "unstable-sloppy-imports", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "unstable-sloppy-imports", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "unstable-tsgo", + "name": "min-dep-age", "short": null, - "long": "unstable-tsgo", + "long": "min-dep-age", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" }, { - "name": "unstable-unsafe-proto", - "short": null, - "long": "unstable-unsafe-proto", + "name": "allow-import", + "short": "I", + "long": "allow-import", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", + "help_heading": null, + "usage": "-I, --allow-import" }, { - "name": "unstable-webgpu", + "name": "deny-import", "short": null, - "long": "unstable-webgpu", + "long": "deny-import", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" - }, + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help_heading": null, + "usage": "--deny-import" + } + ], + "subcommands": [] + }, + { + "name": "task", + "about": "Run a task defined in the configuration file", + "usage": "Usage: task", + "args": [ { - "name": "unstable-worker-options", + "name": "task_name", "short": null, - "long": "unstable-worker-options", + "long": null, "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "no-check", + "name": "cwd", "short": null, - "long": "no-check", + "long": "cwd", "required": false, - "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help": "Specify the directory to run the task in", + "help_heading": null, + "usage": "--cwd" }, { - "name": "import-map", - "short": null, - "long": "import-map", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" }, { - "name": "no-remote", - "short": null, - "long": "no-remote", + "name": "recursive", + "short": "r", + "long": "recursive", "required": false, - "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", - "usage": "--no-remote" + "help": "Run the task in all projects in the workspace", + "help_heading": null, + "usage": "-r, --recursive" }, { - "name": "no-npm", + "name": "members", "short": null, - "long": "no-npm", + "long": "members", "required": false, - "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", - "usage": "--no-npm" + "help": "Run the task in all workspace members, but not in the workspace root", + "help_heading": null, + "usage": "--members" }, { - "name": "node-modules-dir", - "short": null, - "long": "node-modules-dir", + "name": "filter", + "short": "f", + "long": "filter", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" + "help": "Filter members of the workspace by name, implies --recursive flag", + "help_heading": null, + "usage": "-f, --filter" }, { - "name": "node-modules-linker", + "name": "eval", "short": null, - "long": "node-modules-linker", + "long": "eval", "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Evaluate the passed value as if it was a task in a configuration file", + "help_heading": null, + "usage": "--eval" }, { - "name": "vendor", + "name": "if-present", "short": null, - "long": "vendor", + "long": "if-present", "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help": "Exit with code 0 instead of an error when the task is not found", + "help_heading": null, + "usage": "--if-present" }, { - "name": "conditions", + "name": "no-prefix", "short": null, - "long": "conditions", + "long": "no-prefix", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Disable prefixing the output of concurrently-executing tasks with the task name", "help_heading": null, - "usage": "--conditions " + "usage": "--no-prefix" }, { - "name": "config", - "short": "c", - "long": "config", + "name": "jobs", + "short": "j", + "long": "jobs", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Maximum number of tasks to run concurrently.\nOverrides the DENO_JOBS environment variable; defaults to the number of\navailable CPUs. Use 1 to force sequential execution. Only affects runs\nwhere multiple tasks can run concurrently (workspace runs, or a task with\nparallelizable dependencies)", "help_heading": null, - "usage": "--config " + "usage": "-j, --jobs" }, { - "name": "no-config", + "name": "env-file", "short": null, - "long": "no-config", + "long": "env-file", "required": false, - "help": "Disable automatic loading of the configuration file", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--no-config" + "usage": "--env-file" }, { - "name": "reload", - "short": "r", - "long": "reload", + "name": "node-modules-dir", + "short": null, + "long": "node-modules-dir", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "lock", @@ -3891,8 +3631,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -3900,483 +3640,564 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" + } + ], + "subcommands": [] + }, + { + "name": "bench", + "about": "Run benchmarks", + "usage": "Usage: bench", + "args": [ + { + "name": "files", + "short": null, + "long": null, + "required": false, + "help": "List of file names to run", + "help_heading": null, + "usage": "" }, { - "name": "cert", + "name": "filter", "short": null, - "long": "cert", + "long": "filter", "required": false, - "help": "Load certificate authority from PEM encoded file", + "help": "Run benchmarks with this string or regexp pattern in the bench name", "help_heading": null, - "usage": "--cert " + "usage": "--filter" }, { - "name": "minimum-dependency-age", + "name": "json", "short": null, - "long": "minimum-dependency-age", + "long": "json", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "UNSTABLE: Output benchmark result in JSON format", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--json" }, { - "name": "allow-scripts", + "name": "no-run", "short": null, - "long": "allow-scripts", + "long": "no-run", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": "Cache bench modules, but don't run benchmarks", "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--no-run" }, { - "name": "cached-only", + "name": "permit-no-files", "short": null, - "long": "cached-only", + "long": "permit-no-files", "required": false, - "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", - "usage": "--cached-only" + "help": "Don't return an error code if no files were found", + "help_heading": null, + "usage": "--permit-no-files" }, { - "name": "location", + "name": "watch", "short": null, - "long": "location", + "long": "watch", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Watch for file changes and restart process automatically.\n Local files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.", "help_heading": null, - "usage": "--location " + "usage": "--watch" }, { - "name": "v8-flags", + "name": "watch-exclude", "short": null, - "long": "v8-flags", + "long": "watch-exclude", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "Exclude provided files/patterns from watch mode", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--watch-exclude" }, { - "name": "seed", + "name": "no-clear-screen", "short": null, - "long": "seed", + "long": "no-clear-screen", "required": false, - "help": "Set the random number generator seed", + "help": "Do not clear terminal screen when under watch mode", "help_heading": null, - "usage": "--seed " + "usage": "--no-clear-screen" }, { - "name": "preload", + "name": "ignore", "short": null, - "long": "preload", + "long": "ignore", "required": false, - "help": "A list of files that will be executed before the main module", + "help": "Ignore files", "help_heading": null, - "usage": "--preload " + "usage": "--ignore" }, { - "name": "require", + "name": "env-file", "short": null, - "long": "require", + "long": "env-file", "required": false, - "help": "A list of CommonJS modules that will be executed before the main module", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--require " + "usage": "--env-file" }, { "name": "check", "short": null, "long": "check", "required": false, - "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing \u001b[38;5;245m--check\u001b[39m is redundant; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing --check is redundant; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "include", + "name": "ext", "short": null, - "long": "include", + "long": "ext", "required": false, - "help": "Includes an additional module or file/directory in the compiled executable.\n \u001b[38;5;245mUse this flag if a dynamically imported module or a web worker main module\n fails to load in the executable or to embed a file or directory in the executable.\n This flag can be passed multiple times, to include multiple additional modules.\u001b[39m", - "help_heading": "Compile options", - "usage": "--include " + "help": "Set content type of the supplied file", + "help_heading": null, + "usage": "--ext" }, { - "name": "exclude", + "name": "no-check", "short": null, - "long": "exclude", + "long": "no-check", "required": false, - "help": "Excludes a file/directory in the compiled executable.\n \u001b[38;5;245mUse this flag to exclude a specific file or directory within the included files.\n For example, to exclude a certain folder in the bundled node_modules directory.\u001b[39m", - "help_heading": "Compile options", - "usage": "--exclude " + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { - "name": "output", - "short": "o", - "long": "output", + "name": "import-map", + "short": null, + "long": "import-map", "required": false, - "help": "Output file \u001b[38;5;245m(defaults to $PWD/)\u001b[39m", - "help_heading": "Compile options", - "usage": "--output " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { - "name": "target", + "name": "no-remote", "short": null, - "long": "target", + "long": "no-remote", "required": false, - "help": "Target OS architecture", - "help_heading": "Compile options", - "usage": "--target " + "help": "Do not resolve remote modules", + "help_heading": null, + "usage": "--no-remote" }, { - "name": "engine", + "name": "no-npm", "short": null, - "long": "engine", + "long": "no-npm", "required": false, - "help": "JS engine the compiled binary runs on \u001b[38;5;245m(quickjs is smaller and experimental, and does not receive the same security updates as v8)\u001b[39m", - "help_heading": "Compile options", - "usage": "--engine " + "help": "Do not resolve npm modules", + "help_heading": null, + "usage": "--no-npm" }, { - "name": "no-code-cache", + "name": "node-modules-dir", "short": null, - "long": "no-code-cache", + "long": "node-modules-dir", "required": false, - "help": "Disable V8 code cache feature", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--no-code-cache" + "usage": "--node-modules-dir" }, { - "name": "no-terminal", + "name": "vendor", "short": null, - "long": "no-terminal", + "long": "vendor", "required": false, - "help": "Hide terminal on Windows", - "help_heading": "Compile options", - "usage": "--no-terminal" + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "icon", + "name": "node-modules-linker", "short": null, - "long": "icon", + "long": "node-modules-linker", "required": false, - "help": "Set the icon of the executable on Windows (.ico)", - "help_heading": "Compile options", - "usage": "--icon " + "help": "Sets the linker mode for npm packages (isolated or hoisted)", + "help_heading": null, + "usage": "--node-modules-linker" }, { - "name": "self-extracting", + "name": "config", + "short": "c", + "long": "config", + "required": false, + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" + }, + { + "name": "no-config", "short": null, - "long": "self-extracting", + "long": "no-config", "required": false, - "help": "Create a self-extracting binary that extracts the embedded file system to disk on first run and then runs from there", - "help_heading": "Compile options", - "usage": "--self-extracting" + "help": "Disable automatic loading of the configuration file", + "help_heading": null, + "usage": "--no-config" }, { - "name": "bundle", + "name": "reload", + "short": "r", + "long": "reload", + "required": false, + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" + }, + { + "name": "lock", "short": null, - "long": "bundle", + "long": "lock", "required": false, - "help": "\u001b[33mExperimental.\u001b[39m Bundle the entrypoint with esbuild before embedding, instead of shipping the whole node_modules tree.\n \u001b[38;5;245mProduces a smaller binary with faster startup, at the cost of dropping dynamic require/import patterns that can't be statically traced.\u001b[39m", - "help_heading": "Compile options", - "usage": "--bundle" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "app-name", + "name": "no-lock", "short": null, - "long": "app-name", + "long": "no-lock", "required": false, - "help": "Stable identity for the compiled app.\n \u001b[38;5;245mDetermines where origin-bound storage such as the default `Deno.openKv()`,\n `localStorage` and `caches` is persisted (under the platform's app data directory).\n Defaults to the output file name. Set this to keep storage stable across renames.\u001b[39m", - "help_heading": "Compile options", - "usage": "--app-name " + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "minify", + "name": "frozen-lockfile", "short": null, - "long": "minify", + "long": "frozen-lockfile", "required": false, - "help": "\u001b[33mExperimental.\u001b[39m Minify the bundled output. Only meaningful with \u001b[36m--bundle\u001b[39m.\n \u001b[38;5;245mReduces both the embedded bundle size and runtime memory use, at the cost of less readable stack traces.\u001b[39m", - "help_heading": "Compile options", - "usage": "--minify" + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" }, { - "name": "exclude-unused-npm", + "name": "cert", "short": null, - "long": "exclude-unused-npm", + "long": "cert", "required": false, - "help": "Embed only the npm packages reachable from the module graph (managed npm; no \u001b[36mnode_modules\u001b[39m directory).\n \u001b[38;5;245mWithout this flag the full managed npm snapshot from the lockfile / package.json is embedded.\n Reduces binary size when the lockfile contains packages the entrypoint does not import.\n Skips packages that are only reached through non-statically-analyzable dynamic imports;\n pass those with \u001b[36m--include npm:\u001b[38;5;245m if needed.\u001b[39m", - "help_heading": "Compile options", - "usage": "--exclude-unused-npm" + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" }, { - "name": "watch", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "watch", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mOnly local files from entry point module graph are watched.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "watch-exclude", + "name": "min-dep-age", "short": null, - "long": "watch-exclude", + "long": "min-dep-age", "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" }, { - "name": "no-clear-screen", + "name": "inspect", "short": null, - "long": "no-clear-screen", + "long": "inspect", "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { - "name": "ext", + "name": "inspect-brk", "short": null, - "long": "ext", + "long": "inspect-brk", "required": false, - "help": "Set content type of the supplied file", + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", "help_heading": null, - "usage": "--ext " + "usage": "--inspect-brk" }, { - "name": "env-file", + "name": "inspect-wait", "short": null, - "long": "env-file", + "long": "inspect-wait", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--inspect-wait" }, { - "name": "script_arg", + "name": "inspect-publish-uid", "short": null, - "long": null, + "long": "inspect-publish-uid", "required": false, - "help": "Script arg", + "help": null, "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "--inspect-publish-uid" }, { - "name": "unstable", + "name": "cached-only", "short": null, - "long": "unstable", + "long": "cached-only", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" + "help": "Require that remote dependencies are already cached", + "help_heading": null, + "usage": "--cached-only" + }, + { + "name": "location", + "short": null, + "long": "location", + "required": false, + "help": "Value of globalThis.location used by some web APIs", + "help_heading": null, + "usage": "--location" + }, + { + "name": "v8-flags", + "short": null, + "long": "v8-flags", + "required": false, + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", + "help_heading": null, + "usage": "--v8-flags" + }, + { + "name": "seed", + "short": null, + "long": "seed", + "required": false, + "help": "Set the random number generator seed", + "help_heading": null, + "usage": "--seed" + }, + { + "name": "preload", + "short": null, + "long": "preload", + "required": false, + "help": "A list of files that will be executed before the main module", + "help_heading": null, + "usage": "--preload" + }, + { + "name": "require", + "short": null, + "long": "require", + "required": false, + "help": "A list of CommonJS modules that will be executed before the main module", + "help_heading": null, + "usage": "--require" + }, + { + "name": "node-conditions", + "short": null, + "long": "conditions", + "required": false, + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno compile\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m" + "subcommands": [] }, { - "name": "create", - "about": "scaffolds a project from a package", + "name": "compile", + "about": "Compile the script into a self contained executable", + "usage": "Usage: compile", "args": [ { - "name": "package", + "name": "source_file", "short": null, "long": null, "required": false, "help": null, "help_heading": null, - "usage": "[PACKAGE]" + "usage": "" }, { - "name": "package_args", - "short": null, - "long": null, + "name": "output", + "short": "o", + "long": "output", "required": false, - "help": null, + "help": "Output file (defaults to $PWD/)", "help_heading": null, - "usage": "[ARGS]..." + "usage": "-o, --output" }, { - "name": "npm", + "name": "target", "short": null, - "long": "npm", + "long": "target", "required": false, - "help": "Treat unprefixed package names as npm packages", + "help": "Target OS architecture", "help_heading": null, - "usage": "--npm" + "usage": "--target" }, { - "name": "jsr", + "name": "engine", "short": null, - "long": "jsr", + "long": "engine", "required": false, - "help": "Treat unprefixed package names as JSR packages", + "help": "JS engine the compiled binary runs on (quickjs is smaller and experimental, and does not receive the same security updates as v8)", "help_heading": null, - "usage": "--jsr" + "usage": "--engine" }, { - "name": "yes", - "short": "y", - "long": "yes", + "name": "no-terminal", + "short": null, + "long": "no-terminal", "required": false, - "help": "Bypass the prompt and run with full permissions", + "help": "Hide terminal on Windows", "help_heading": null, - "usage": "--yes" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno create\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[PACKAGE]\u001b[0m \u001b[32m[--\u001b[0m \u001b[32m[ARGS]...\u001b[0m\u001b[32m]\u001b[0m" - }, - { - "name": "desktop", - "about": "Build and run desktop applications.\n\n \u001b[38;5;245mdeno desktop main.tsx\u001b[39m\n \u001b[38;5;245mdeno desktop --hmr main.tsx\u001b[39m\n \u001b[38;5;245mdeno desktop --output MyApp.app main.tsx\u001b[39m\n \u001b[38;5;245mdeno desktop\u001b[39m\n\nCompiles the given script into a desktop application using a backend for the UI\nlayer. The entrypoint can be a file, or omitted (or \u001b[36m.\u001b[39m) to auto-detect a\nsupported framework (Next.js, Astro, etc.) in the current directory.\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/desktop\u001b[39m\n", - "args": [ + "usage": "--no-terminal" + }, { - "name": "unstable-bundle", + "name": "icon", "short": null, - "long": "unstable-bundle", + "long": "icon", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Set the icon of the executable on Windows (.ico)", + "help_heading": null, + "usage": "--icon" }, { - "name": "unstable-cron", + "name": "include", "short": null, - "long": "unstable-cron", + "long": "include", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Includes an additional module or file/directory in the compiled executable.\n Use this flag if a dynamically imported module or a web worker main module\n fails to load in the executable or to embed a file or directory in the executable.\n This flag can be passed multiple times, to include multiple additional modules.", + "help_heading": null, + "usage": "--include" }, { - "name": "unstable-detect-cjs", + "name": "exclude", "short": null, - "long": "unstable-detect-cjs", + "long": "exclude", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Excludes a file/directory in the compiled executable.\n Use this flag to exclude a specific file or directory within the included files.\n For example, to exclude a certain folder in the bundled node_modules directory.", + "help_heading": null, + "usage": "--exclude" }, { - "name": "unstable-kv", + "name": "env-file", "short": null, - "long": "unstable-kv", + "long": "env-file", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "no-code-cache", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "no-code-cache", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Disable V8 code cache feature", + "help_heading": null, + "usage": "--no-code-cache" }, { - "name": "unstable-lockfile-v5", + "name": "ext", "short": null, - "long": "unstable-lockfile-v5", + "long": "ext", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Set content type of the supplied file", + "help_heading": null, + "usage": "--ext" }, { - "name": "unstable-net", + "name": "self-extracting", "short": null, - "long": "unstable-net", + "long": "self-extracting", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Create a self-extracting binary that extracts the embedded file system to disk on first run and then runs from there", + "help_heading": null, + "usage": "--self-extracting" }, { - "name": "unstable-no-legacy-abort", + "name": "bundle", "short": null, - "long": "unstable-no-legacy-abort", + "long": "bundle", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Experimental. Bundle the entrypoint with esbuild before embedding, instead of shipping the whole node_modules tree.\n Produces a smaller binary with faster startup, at the cost of dropping dynamic require/import patterns that can't be statically traced.", + "help_heading": null, + "usage": "--bundle" }, { - "name": "unstable-npm-lazy-caching", + "name": "minify", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "minify", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Experimental. Minify the bundled output. Only meaningful with --bundle.\n Reduces both the embedded bundle size and runtime memory use, at the cost of less readable stack traces.", + "help_heading": null, + "usage": "--minify" }, { - "name": "unstable-raw-imports", + "name": "app-name", "short": null, - "long": "unstable-raw-imports", + "long": "app-name", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Stable identity for the compiled app.\n Determines where origin-bound storage such as the default `Deno.openKv()`,\n `localStorage` and `caches` is persisted (under the platform's app data directory).\n Defaults to the output file name. Set this to keep storage stable across renames.", + "help_heading": null, + "usage": "--app-name" }, { - "name": "unstable-sloppy-imports", + "name": "exclude-unused-npm", "short": null, - "long": "unstable-sloppy-imports", + "long": "exclude-unused-npm", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Embed only the npm packages reachable from the module graph (managed npm; no node_modules directory).\n Without this flag the full managed npm snapshot from the lockfile / package.json is embedded.\n Reduces binary size when the lockfile contains packages the entrypoint does not import.\n Skips packages that are only reached through non-statically-analyzable dynamic imports;\n pass those with --include npm: if needed.", + "help_heading": null, + "usage": "--exclude-unused-npm" }, { - "name": "unstable-tsgo", + "name": "check", "short": null, - "long": "unstable-tsgo", + "long": "check", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing --check is redundant; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "unstable-unsafe-proto", + "name": "watch", "short": null, - "long": "unstable-unsafe-proto", + "long": "watch", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Watch for file changes and restart process automatically.\n Only local files from entry point module graph are watched.", + "help_heading": null, + "usage": "--watch" }, { - "name": "unstable-webgpu", + "name": "watch-exclude", "short": null, - "long": "unstable-webgpu", + "long": "watch-exclude", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Exclude provided files/patterns from watch mode", + "help_heading": null, + "usage": "--watch-exclude" }, { - "name": "unstable-worker-options", + "name": "no-clear-screen", "short": null, - "long": "unstable-worker-options", + "long": "no-clear-screen", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Do not clear terminal screen when under watch mode", + "help_heading": null, + "usage": "--no-clear-screen" }, { "name": "no-check", @@ -4384,17 +4205,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -4402,7 +4223,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -4411,7 +4232,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -4419,18 +4240,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -4438,26 +4250,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -4473,9 +4285,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -4483,8 +4295,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -4492,17 +4304,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -4511,34 +4323,43 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "inspect", + "name": "min-dep-age", "short": null, - "long": "inspect", + "long": "min-dep-age", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" - }, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" + }, + { + "name": "inspect", + "short": null, + "long": "inspect", + "required": false, + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" + }, { "name": "inspect-brk", "short": null, "long": "inspect-brk", "required": false, "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "help_heading": null, + "usage": "--inspect-brk" }, { "name": "inspect-wait", @@ -4546,17 +4367,17 @@ "long": "inspect-wait", "required": false, "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "allow-scripts", + "name": "inspect-publish-uid", "short": null, - "long": "allow-scripts", + "long": "inspect-publish-uid", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": null, "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--inspect-publish-uid" }, { "name": "cached-only", @@ -4564,7 +4385,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -4572,18 +4393,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -4592,7 +4413,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -4601,7 +4422,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -4610,811 +4431,670 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " + "usage": "--require" }, { - "name": "check", + "name": "node-conditions", "short": null, - "long": "check", + "long": "conditions", + "required": false, + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" + } + ], + "subcommands": [] + }, + { + "name": "coverage", + "about": "Print coverage reports", + "usage": "Usage: coverage", + "args": [ + { + "name": "files", + "short": null, + "long": null, "required": false, - "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing \u001b[38;5;245m--check\u001b[39m is redundant; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "inspect-renderer", + "name": "ignore", "short": null, - "long": "inspect-renderer", + "long": "ignore", "required": false, - "help": "Override the CEF renderer debugger listen address; defaults to an auto-allocated port", - "help_heading": "Debugging options", - "usage": "--inspect-renderer[=]" + "help": "Ignore coverage files", + "help_heading": null, + "usage": "--ignore" }, { "name": "include", "short": null, "long": "include", "required": false, - "help": "Includes an additional module or file/directory in the compiled executable.\n \u001b[38;5;245mUse this flag if a dynamically imported module or a web worker main module\n fails to load in the executable or to embed a file or directory in the executable.\n This flag can be passed multiple times, to include multiple additional modules.\u001b[39m", - "help_heading": "Desktop options", - "usage": "--include " + "help": "Include source files in the report", + "help_heading": null, + "usage": "--include" }, { "name": "exclude", "short": null, "long": "exclude", "required": false, - "help": "Excludes a file/directory in the compiled executable.\n \u001b[38;5;245mUse this flag to exclude a specific file or directory within the included files.\u001b[39m", - "help_heading": "Desktop options", - "usage": "--exclude " + "help": "Exclude source files from the report", + "help_heading": null, + "usage": "--exclude" }, { - "name": "exclude-unused-npm", + "name": "lcov", "short": null, - "long": "exclude-unused-npm", + "long": "lcov", "required": false, - "help": "Embed only the npm packages reachable from the module graph (managed npm; no \u001b[36mnode_modules\u001b[39m directory).\n \u001b[38;5;245mWithout this flag the full managed npm snapshot from the lockfile / package.json is embedded.\n Reduces binary size when the lockfile contains packages the entrypoint does not import.\n Skips packages that are only reached through non-statically-analyzable dynamic imports;\n pass those with \u001b[36m--include npm:\u001b[38;5;245m if needed.\u001b[39m", - "help_heading": "Desktop options", - "usage": "--exclude-unused-npm" + "help": "Output coverage report in lcov format", + "help_heading": null, + "usage": "--lcov" }, { - "name": "output", - "short": "o", - "long": "output", + "name": "html", + "short": null, + "long": "html", "required": false, - "help": "Output path \u001b[38;5;245m(e.g. MyApp.app, MyApp.dmg, MyApp.AppImage, MyApp.deb, MyApp.rpm, MyApp.msi)\u001b[39m", - "help_heading": "Desktop options", - "usage": "--output " + "help": "Output coverage report in HTML format in the given directory", + "help_heading": null, + "usage": "--html" }, { - "name": "target", + "name": "detailed", "short": null, - "long": "target", + "long": "detailed", "required": false, - "help": "Target OS architecture", - "help_heading": "Desktop options", - "usage": "--target " + "help": "Output coverage report in detailed format in the terminal", + "help_heading": null, + "usage": "--detailed" }, { - "name": "no-code-cache", + "name": "threshold", "short": null, - "long": "no-code-cache", + "long": "threshold", "required": false, - "help": "Disable V8 code cache feature", + "help": "Fail if coverage is below this percentage (0-100), applied to line, branch, and function coverage.\n Per-metric thresholds can be set in deno.json under \"coverage\": { \"thresholds\": { ... } }. The flag takes precedence.", "help_heading": null, - "usage": "--no-code-cache" + "usage": "--threshold" }, { - "name": "icon", + "name": "output", "short": null, - "long": "icon", + "long": "output", "required": false, - "help": "Set the application icon (.ico on Windows, .icns or .png on macOS)", - "help_heading": "Desktop options", - "usage": "--icon " - }, + "help": "Exports the coverage report in lcov format to the given file.\n If no --output arg is specified then the report is written to stdout.", + "help_heading": null, + "usage": "--output" + } + ], + "subcommands": [] + }, + { + "name": "repl", + "about": "Start an interactive Read-Eval-Print Loop (REPL) for Deno", + "usage": "Usage: repl", + "args": [ { - "name": "hmr", + "name": "eval", "short": null, - "long": "hmr", + "long": "eval", "required": false, - "help": "Run the desktop app with Hot Module Replacement enabled", - "help_heading": "Desktop options", - "usage": "--hmr" + "help": "Evaluates the provided code when the REPL starts", + "help_heading": null, + "usage": "--eval" }, { - "name": "backend", + "name": "eval-file", "short": null, - "long": "backend", + "long": "eval-file", "required": false, - "help": "Backend to use for the desktop app", - "help_heading": "Desktop options", - "usage": "--backend " + "help": "Evaluates the provided file(s) as scripts when the REPL starts. Accepts file paths and URLs", + "help_heading": null, + "usage": "--eval-file" }, { - "name": "engine", + "name": "json", "short": null, - "long": "engine", + "long": "json", "required": false, - "help": "JS engine the desktop binary runs on (quickjs is smaller and experimental, and does not receive the same security updates as v8)", - "help_heading": "Desktop options", - "usage": "--engine " + "help": null, + "help_heading": null, + "usage": "--json" }, { - "name": "all-targets", + "name": "env-file", "short": null, - "long": "all-targets", + "long": "env-file", "required": false, - "help": "Build for all supported target platforms", - "help_heading": "Desktop options", - "usage": "--all-targets" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "compress", + "name": "no-check", "short": null, - "long": "compress", + "long": "no-check", "required": false, - "help": "Make the packaged app self-extracting: the payload is compressed inside the app and unpacked on first launch. Off by default. Defaults to xz (decompressed by the system `tar` everywhere); zstd is smaller/faster but needs the `zstd` tool at runtime.", - "help_heading": "Desktop options", - "usage": "--compress []" + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { - "name": "ext", + "name": "import-map", "short": null, - "long": "ext", + "long": "import-map", "required": false, - "help": "Set content type of the supplied file", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--ext " + "usage": "--import-map" }, { - "name": "env-file", + "name": "no-remote", "short": null, - "long": "env-file", + "long": "no-remote", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--no-remote" }, { - "name": "script_arg", + "name": "no-npm", "short": null, - "long": null, + "long": "no-npm", "required": false, - "help": "Script arg", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "--no-npm" }, { - "name": "unstable", + "name": "node-modules-dir", "short": null, - "long": "unstable", + "long": "node-modules-dir", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno desktop\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m" - }, - { - "name": "completions", - "about": "Output shell completion script to standard output.\n\n \u001b[38;5;245mdeno completions bash > /usr/local/etc/bash_completion.d/deno.bash\u001b[39m\n \u001b[38;5;245msource /usr/local/etc/bash_completion.d/deno.bash\u001b[39m", - "args": [ + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" + }, { - "name": "shell", + "name": "vendor", "short": null, - "long": null, + "long": "vendor", "required": false, - "help": null, + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "[shell]" + "usage": "--vendor" }, { - "name": "dynamic", + "name": "node-modules-linker", "short": null, - "long": "dynamic", + "long": "node-modules-linker", "required": false, - "help": "Generate dynamic completions for the given shell (unstable), currently this only provides available tasks for `deno task`.", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--dynamic" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno completions\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[shell]\u001b[0m" - }, - { - "name": "coverage", - "about": "Print coverage reports from coverage profiles.\n\nCollect a coverage profile with deno test:\n \u001b[38;5;245mdeno test --coverage=cov_profile\u001b[39m\n\nPrint a report to stdout:\n \u001b[38;5;245mdeno coverage cov_profile\u001b[39m\n\nInclude urls that start with the file schema and exclude files ending with \u001b[36mtest.ts\u001b[39m and \u001b[36mtest.js\u001b[39m,\nfor an url to match it must match the include pattern and not match the exclude pattern:\n \u001b[38;5;245mdeno coverage --include=\"^file:\" --exclude=\"test\\.(ts|js)\" cov_profile\u001b[39m\n\nWrite a report using the lcov format:\n \u001b[38;5;245mdeno coverage --lcov --output=cov.lcov cov_profile/\u001b[39m\n\nGenerate html reports from lcov:\n \u001b[38;5;245mgenhtml -o html_cov cov.lcov\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/coverage\u001b[39m", - "args": [ + "usage": "--node-modules-linker" + }, { - "name": "ignore", - "short": null, - "long": "ignore", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Ignore coverage files", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--ignore=..." + "usage": "-c, --config" }, { - "name": "include", + "name": "no-config", "short": null, - "long": "include", + "long": "no-config", "required": false, - "help": "Include source files in the report", + "help": "Disable automatic loading of the configuration file", "help_heading": null, - "usage": "--include=..." + "usage": "--no-config" }, { - "name": "exclude", - "short": null, - "long": "exclude", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Exclude source files from the report", + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", "help_heading": null, - "usage": "--exclude=..." + "usage": "-r, --reload" }, { - "name": "lcov", + "name": "lock", "short": null, - "long": "lcov", + "long": "lock", "required": false, - "help": "Output coverage report in lcov format", + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", "help_heading": null, - "usage": "--lcov" + "usage": "--lock" }, { - "name": "output", + "name": "no-lock", "short": null, - "long": "output", + "long": "no-lock", "required": false, - "help": "Exports the coverage report in lcov format to the given file.\n \u001b[38;5;245mIf no --output arg is specified then the report is written to stdout.\u001b[39m", + "help": "Disable auto discovery of the lock file", "help_heading": null, - "usage": "--output=" + "usage": "--no-lock" }, { - "name": "html", + "name": "frozen-lockfile", "short": null, - "long": "html", + "long": "frozen-lockfile", "required": false, - "help": "Output coverage report in HTML format in the given directory", + "help": "Error out if lockfile is out of date", "help_heading": null, - "usage": "--html" + "usage": "--frozen-lockfile" }, { - "name": "detailed", + "name": "cert", "short": null, - "long": "detailed", + "long": "cert", "required": false, - "help": "Output coverage report in detailed format in the terminal", + "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--detailed" + "usage": "--cert" }, { - "name": "threshold", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "threshold", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Fail if coverage is below this percentage (0-100), applied to line, branch, and function coverage.\n \u001b[38;5;245mPer-metric thresholds can be set in deno.json under \"coverage\": { \"thresholds\": { ... } }. The flag takes precedence.\u001b[39m", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--threshold=" + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "files", + "name": "min-dep-age", "short": null, - "long": null, + "long": "min-dep-age", "required": false, - "help": null, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "[files]..." - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno coverage\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[files]...\u001b[0m" - }, - { - "name": "doc", - "about": "Show documentation for a module.\n\nOutput documentation to standard output:\n \u001b[38;5;245mdeno doc ./path/to/module.ts\u001b[39m\n\nOutput documentation in HTML format:\n \u001b[38;5;245mdeno doc --html --name=\"My library\" ./path/to/module.ts\u001b[39m\n\nLint a module for documentation diagnostics:\n \u001b[38;5;245mdeno doc --lint ./path/to/module.ts\u001b[39m\n\nTarget a specific symbol:\n \u001b[38;5;245mdeno doc ./path/to/module.ts MyClass.someField\u001b[39m\n\nShow documentation for runtime built-ins:\n \u001b[38;5;245mdeno doc\u001b[39m\n \u001b[38;5;245mdeno doc --filter Deno.Listener\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/doc\u001b[39m", - "args": [ + "usage": "--min-dep-age" + }, { - "name": "unstable-detect-cjs", + "name": "inspect", "short": null, - "long": "unstable-detect-cjs", + "long": "inspect", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "inspect-brk", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "inspect-brk", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", + "help_heading": null, + "usage": "--inspect-brk" }, { - "name": "unstable-lockfile-v5", + "name": "inspect-wait", "short": null, - "long": "unstable-lockfile-v5", + "long": "inspect-wait", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "unstable-npm-lazy-caching", + "name": "inspect-publish-uid", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "inspect-publish-uid", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": null, + "help_heading": null, + "usage": "--inspect-publish-uid" }, { - "name": "unstable-sloppy-imports", + "name": "cached-only", "short": null, - "long": "unstable-sloppy-imports", + "long": "cached-only", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Require that remote dependencies are already cached", + "help_heading": null, + "usage": "--cached-only" }, { - "name": "unstable-tsgo", + "name": "location", "short": null, - "long": "unstable-tsgo", + "long": "location", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Value of globalThis.location used by some web APIs", + "help_heading": null, + "usage": "--location" }, { - "name": "import-map", + "name": "v8-flags", "short": null, - "long": "import-map", - "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " - }, - { - "name": "reload", - "short": "r", - "long": "reload", + "long": "v8-flags", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", + "help_heading": null, + "usage": "--v8-flags" }, { - "name": "lock", + "name": "seed", "short": null, - "long": "lock", + "long": "seed", "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "Set the random number generator seed", + "help_heading": null, + "usage": "--seed" }, { - "name": "no-lock", + "name": "preload", "short": null, - "long": "no-lock", + "long": "preload", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "A list of files that will be executed before the main module", + "help_heading": null, + "usage": "--preload" }, { - "name": "frozen", + "name": "require", "short": null, - "long": "frozen", + "long": "require", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "A list of CommonJS modules that will be executed before the main module", + "help_heading": null, + "usage": "--require" }, { - "name": "no-npm", + "name": "node-conditions", "short": null, - "long": "no-npm", + "long": "conditions", "required": false, - "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", - "usage": "--no-npm" - }, + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" + } + ], + "subcommands": [] + }, + { + "name": "install", + "about": "Installs dependencies either in the local project or globally to a bin directory", + "usage": "Usage: install", + "args": [ { - "name": "no-remote", + "name": "cmd", "short": null, - "long": "no-remote", + "long": null, "required": false, - "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", - "usage": "--no-remote" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "name": "global", + "short": "g", + "long": "global", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "Install a package or script as a globally available executable", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "-g, --global" }, { - "name": "deny-import", - "short": null, - "long": "deny-import", + "name": "name", + "short": "n", + "long": "name", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "Executable file name", "help_heading": null, - "usage": "--deny-import[=...]" + "usage": "-n, --name" }, { - "name": "env-file", + "name": "root", "short": null, - "long": "env-file", + "long": "root", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Installation root", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--root" }, { - "name": "json", - "short": null, - "long": "json", + "name": "force", + "short": "f", + "long": "force", "required": false, - "help": "Output documentation in JSON format", - "help_heading": "Documentation options", - "usage": "--json" + "help": "Forcefully overwrite existing installation", + "help_heading": null, + "usage": "-f, --force" }, { - "name": "html", - "short": null, - "long": "html", + "name": "dev", + "short": "D", + "long": "dev", "required": false, - "help": "Output documentation in HTML format", - "help_heading": "Documentation options", - "usage": "--html" + "help": "Add the package as a dev dependency (under `devDependencies`). Note: this only applies when adding to a `package.json` file.", + "help_heading": null, + "usage": "-D, --dev" }, { - "name": "name", - "short": null, - "long": "name", + "name": "save-optional", + "short": "O", + "long": "save-optional", "required": false, - "help": "The name that will be used in the docs (ie for breadcrumbs)", - "help_heading": "Documentation options", - "usage": "--name=" + "help": "Add the package as an optional dependency (under `optionalDependencies`). Note: this only applies when adding to a `package.json` file.", + "help_heading": null, + "usage": "-O, --save-optional" }, { - "name": "category-docs", + "name": "no-save", "short": null, - "long": "category-docs", + "long": "no-save", "required": false, - "help": "Path to a JSON file keyed by category and an optional value of a markdown doc", - "help_heading": "Documentation options", - "usage": "--category-docs=" + "help": "Install the package(s) without adding them to the configuration file.", + "help_heading": null, + "usage": "--no-save" }, { - "name": "symbol-redirect-map", + "name": "prod", "short": null, - "long": "symbol-redirect-map", + "long": "prod", "required": false, - "help": "Path to a JSON file keyed by file, with an inner map of symbol to an external link", - "help_heading": "Documentation options", - "usage": "--symbol-redirect-map=" + "help": "Only install production dependencies (excludes devDependencies)", + "help_heading": null, + "usage": "--prod" }, { - "name": "strip-trailing-html", + "name": "skip-types", "short": null, - "long": "strip-trailing-html", + "long": "skip-types", "required": false, - "help": "Remove trailing .html from various links. Will still generate files with a .html extension", - "help_heading": "Documentation options", - "usage": "--strip-trailing-html" + "help": "Exclude @types/* packages from installation.\nBe careful, as it uses a name-based heuristic and may skip packages that ship runtime code.", + "help_heading": null, + "usage": "--skip-types" }, { - "name": "default-symbol-map", - "short": null, - "long": "default-symbol-map", + "name": "entrypoint", + "short": "e", + "long": "entrypoint", "required": false, - "help": "Uses the provided mapping of default name to wanted name for usage blocks", - "help_heading": "Documentation options", - "usage": "--default-symbol-map=" + "help": "Install dependents of the specified entrypoint(s)", + "help_heading": null, + "usage": "-e, --entrypoint" }, { - "name": "output", + "name": "compile", "short": null, - "long": "output", + "long": "compile", "required": false, - "help": "Directory for HTML documentation output", - "help_heading": "Documentation options", - "usage": "--output=" + "help": "Install the script as a compiled executable", + "help_heading": null, + "usage": "--compile" }, { - "name": "private", + "name": "lockfile-only", "short": null, - "long": "private", + "long": "lockfile-only", "required": false, - "help": "Output private documentation", - "help_heading": "Documentation options", - "usage": "--private" + "help": "Install only updating the lockfile", + "help_heading": null, + "usage": "--lockfile-only" }, { - "name": "filter", + "name": "npm", "short": null, - "long": "filter", + "long": "npm", "required": false, - "help": "Dot separated path to symbol", - "help_heading": "Documentation options", - "usage": "--filter " + "help": "assume unprefixed package names are npm packages (default)", + "help_heading": null, + "usage": "--npm" }, { - "name": "lint", + "name": "jsr", "short": null, - "long": "lint", + "long": "jsr", "required": false, - "help": "Output documentation diagnostics.", - "help_heading": "Documentation options", - "usage": "--lint" + "help": "assume unprefixed package names are jsr packages", + "help_heading": null, + "usage": "--jsr" }, { - "name": "source_file", + "name": "save-exact", "short": null, - "long": null, + "long": "save-exact", "required": false, - "help": null, + "help": "Save exact version without the caret (^)", "help_heading": null, - "usage": "[source_file]..." + "usage": "--save-exact" }, { - "name": "unstable", + "name": "unscoped", "short": null, - "long": "unstable", + "long": "unscoped", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno doc\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[source_file]...\u001b[0m" - }, - { - "name": "deploy", - "about": null, - "args": [ + "help": "Use the package name without its scope as the alias (ex. `jsr:@david/jsonc-morph` is added as `jsonc-morph`). Packages given an explicit alias are unaffected.", + "help_heading": null, + "usage": "--unscoped" + }, { - "name": "args", + "name": "package-json", "short": null, - "long": null, + "long": "package-json", "required": false, - "help": null, + "help": "Force using package.json for dependency management instead of deno.json", "help_heading": null, - "usage": "[args]..." - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno deploy\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[args]...\u001b[0m" - }, - { - "name": "sandbox", - "about": null, - "args": [ + "usage": "--package-json" + }, { - "name": "args", + "name": "os", "short": null, - "long": null, + "long": "os", "required": false, - "help": null, + "help": "Target OS for npm package installation (e.g., linux, darwin, win32)", "help_heading": null, - "usage": "[args]..." - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno sandbox\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[args]...\u001b[0m" - }, - { - "name": "eval", - "about": "Evaluate JavaScript from the command line.\n \u001b[38;5;245mdeno eval \"console.log('hello world')\"\u001b[39m\n\nTo evaluate as TypeScript:\n \u001b[38;5;245mdeno eval --ext=ts \"const v: string = 'hello'; console.log(v)\"\u001b[39m\n\nThis command has implicit access to all permissions.\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/eval\u001b[39m", - "args": [ + "usage": "--os" + }, { - "name": "unstable-bundle", + "name": "arch", "short": null, - "long": "unstable-bundle", + "long": "arch", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Target architecture for npm package installation (e.g., x64, arm64)", + "help_heading": null, + "usage": "--arch" }, { - "name": "unstable-cron", + "name": "env-file", "short": null, - "long": "unstable-cron", + "long": "env-file", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-detect-cjs", + "name": "check", "short": null, - "long": "unstable-detect-cjs", + "long": "check", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing --check is redundant; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "unstable-kv", + "name": "no-check", "short": null, - "long": "unstable-kv", + "long": "no-check", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "import-map", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "import-map", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { - "name": "unstable-lockfile-v5", + "name": "no-remote", "short": null, - "long": "unstable-lockfile-v5", + "long": "no-remote", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Do not resolve remote modules", + "help_heading": null, + "usage": "--no-remote" }, { - "name": "unstable-net", + "name": "no-npm", "short": null, - "long": "unstable-net", + "long": "no-npm", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Do not resolve npm modules", + "help_heading": null, + "usage": "--no-npm" }, { - "name": "unstable-no-legacy-abort", + "name": "node-modules-dir", "short": null, - "long": "unstable-no-legacy-abort", + "long": "node-modules-dir", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { - "name": "unstable-npm-lazy-caching", + "name": "vendor", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "vendor", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "unstable-raw-imports", - "short": null, - "long": "unstable-raw-imports", - "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", - "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, - { - "name": "unstable-tsgo", - "short": null, - "long": "unstable-tsgo", - "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" - }, - { - "name": "unstable-unsafe-proto", - "short": null, - "long": "unstable-unsafe-proto", - "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" - }, - { - "name": "unstable-webgpu", - "short": null, - "long": "unstable-webgpu", - "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" - }, - { - "name": "unstable-worker-options", - "short": null, - "long": "unstable-worker-options", - "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" - }, - { - "name": "no-check", - "short": null, - "long": "no-check", - "required": false, - "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" - }, - { - "name": "import-map", - "short": null, - "long": "import-map", - "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " - }, - { - "name": "no-remote", - "short": null, - "long": "no-remote", - "required": false, - "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", - "usage": "--no-remote" - }, - { - "name": "no-npm", - "short": null, - "long": "no-npm", - "required": false, - "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", - "usage": "--no-npm" - }, - { - "name": "node-modules-dir", - "short": null, - "long": "node-modules-dir", - "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", + "name": "node-modules-linker", "short": null, "long": "node-modules-linker", "required": false, "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" - }, - { - "name": "vendor", - "short": null, - "long": "vendor", - "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" - }, - { - "name": "conditions", - "short": null, - "long": "conditions", - "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -5430,9 +5110,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -5440,8 +5120,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -5449,17 +5129,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -5468,25 +5148,34 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" + }, + { + "name": "unsafely-ignore-certificate-errors", + "short": null, + "long": "unsafely-ignore-certificate-errors", + "required": false, + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "minimum-dependency-age", + "name": "min-dep-age", "short": null, - "long": "minimum-dependency-age", + "long": "min-dep-age", "required": false, "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--min-dep-age" }, { "name": "inspect", "short": null, "long": "inspect", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { "name": "inspect-brk", @@ -5494,8 +5183,8 @@ "long": "inspect-brk", "required": false, "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "help_heading": null, + "usage": "--inspect-brk" }, { "name": "inspect-wait", @@ -5503,17 +5192,17 @@ "long": "inspect-wait", "required": false, "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "allow-scripts", + "name": "inspect-publish-uid", "short": null, - "long": "allow-scripts", + "long": "inspect-publish-uid", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": null, "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--inspect-publish-uid" }, { "name": "cached-only", @@ -5521,7 +5210,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -5529,18 +5218,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -5549,7 +5238,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -5558,7 +5247,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -5567,132 +5256,150 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " + "usage": "--require" }, { - "name": "check", + "name": "node-conditions", "short": null, - "long": "check", + "long": "conditions", "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" }, { - "name": "ext", + "name": "allow-scripts", "short": null, - "long": "ext", + "long": "allow-scripts", "required": false, - "help": "Set content type of the supplied file", + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "uninstall", + "about": "Uninstalls a dependency or an executable script in the installation root's bin directory", + "usage": "Usage: uninstall", + "args": [ + { + "name": "packages", + "short": null, + "long": null, + "required": true, + "help": null, "help_heading": null, - "usage": "--ext " + "usage": "" }, { - "name": "print", - "short": "p", - "long": "print", + "name": "global", + "short": "g", + "long": "global", "required": false, - "help": "print result to stdout", + "help": "Remove globally installed packages or modules", "help_heading": null, - "usage": "--print" + "usage": "-g, --global" }, { - "name": "code_arg", + "name": "root", "short": null, - "long": null, + "long": "root", "required": false, - "help": "Code to evaluate", + "help": "Installation root", "help_heading": null, - "usage": "[CODE_ARG]..." + "usage": "--root" }, { - "name": "env-file", + "name": "lockfile-only", "short": null, - "long": "env-file", + "long": "lockfile-only", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Install only updating the lockfile", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--lockfile-only" }, { - "name": "cpu-prof", + "name": "package-json", "short": null, - "long": "cpu-prof", + "long": "package-json", "required": false, - "help": "Start the V8 CPU profiler on startup and write the profile to disk on exit. Profiles are written to the current directory by default", + "help": "Force using package.json for dependency management instead of deno.json", "help_heading": null, - "usage": "--cpu-prof" + "usage": "--package-json" }, { - "name": "cpu-prof-dir", + "name": "no-check", "short": null, - "long": "cpu-prof-dir", + "long": "no-check", "required": false, - "help": "Directory where the V8 CPU profiles will be written. Implicitly enables --cpu-prof", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--cpu-prof-dir " + "usage": "--no-check" }, { - "name": "cpu-prof-name", + "name": "import-map", "short": null, - "long": "cpu-prof-name", + "long": "import-map", "required": false, - "help": "Filename for the CPU profile (defaults to CPU...cpuprofile)", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--cpu-prof-name " + "usage": "--import-map" }, { - "name": "cpu-prof-interval", + "name": "no-remote", "short": null, - "long": "cpu-prof-interval", + "long": "no-remote", "required": false, - "help": "Sampling interval in microseconds for CPU profiling (default: 1000)", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--cpu-prof-interval " + "usage": "--no-remote" }, { - "name": "cpu-prof-md", + "name": "no-npm", "short": null, - "long": "cpu-prof-md", + "long": "no-npm", "required": false, - "help": "Generate a human-readable markdown report alongside the CPU profile", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--cpu-prof-md" + "usage": "--no-npm" }, { - "name": "cpu-prof-flamegraph", + "name": "node-modules-dir", "short": null, - "long": "cpu-prof-flamegraph", + "long": "node-modules-dir", "required": false, - "help": "Generate an SVG flamegraph alongside the CPU profile", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--cpu-prof-flamegraph" + "usage": "--node-modules-dir" }, { - "name": "unstable", + "name": "vendor", "short": null, - "long": "unstable", + "long": "vendor", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno eval\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[CODE_ARG]...\u001b[0m" - }, - { - "name": "fmt", - "about": "Auto-format various file types.\n \u001b[38;5;245mdeno fmt myfile1.ts myfile2.ts\u001b[39m\n\nSupported file types are:\n \u001b[38;5;245mJavaScript, TypeScript, Markdown, JSON(C) and Jupyter Notebooks\u001b[39m\n\nSupported file types which are behind corresponding unstable flags (see formatting options):\n \u001b[38;5;245mHTML, CSS, SCSS, LESS, YAML, Svelte, Vue, Astro and Angular\u001b[39m\n\nFormat stdin and write to stdout:\n \u001b[38;5;245mcat file.ts | deno fmt -\u001b[39m\n\nCheck if the files are formatted:\n \u001b[38;5;245mdeno fmt --check\u001b[39m\n\nIgnore formatting code by preceding it with an ignore comment:\n \u001b[38;5;245m// deno-fmt-ignore\u001b[39m\n\nIgnore formatting a file by adding an ignore comment at the top of the file:\n \u001b[38;5;245m// deno-fmt-ignore-file\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/fmt\u001b[39m", - "args": [ + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" + }, + { + "name": "node-modules-linker", + "short": null, + "long": "node-modules-linker", + "required": false, + "help": "Sets the linker mode for npm packages (isolated or hoisted)", + "help_heading": null, + "usage": "--node-modules-linker" + }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -5704,190 +5411,195 @@ "usage": "--no-config" }, { - "name": "check", - "short": null, - "long": "check", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Check if the source files are formatted", - "help_heading": "Formatting options", - "usage": "--check" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { - "name": "fail-fast", + "name": "lock", "short": null, - "long": "fail-fast", + "long": "lock", "required": false, - "help": "Stop checking files on first format error", - "help_heading": "Formatting options", - "usage": "--fail-fast" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "ext", + "name": "no-lock", "short": null, - "long": "ext", + "long": "no-lock", "required": false, - "help": "Set content type of the supplied file", - "help_heading": "Formatting options", - "usage": "--ext " + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "ignore", + "name": "frozen-lockfile", "short": null, - "long": "ignore", + "long": "frozen-lockfile", "required": false, - "help": "Ignore formatting particular source files", - "help_heading": "Formatting options", - "usage": "--ignore=..." + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" }, { - "name": "files", + "name": "cert", "short": null, - "long": null, + "long": "cert", "required": false, - "help": null, + "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "[files]..." + "usage": "--cert" }, { - "name": "permit-no-files", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "permit-no-files", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Don't return an error code if no files were found", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--permit-no-files" + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "watch", + "name": "min-dep-age", "short": null, - "long": "watch", + "long": "min-dep-age", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" - }, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" + } + ], + "subcommands": [] + }, + { + "name": "types", + "about": "Print runtime TypeScript declarations", + "usage": "Usage: types", + "args": [], + "subcommands": [] + }, + { + "name": "completions", + "about": "Generate shell completions", + "usage": "Usage: completions", + "args": [ { - "name": "watch-exclude", + "name": "shell", "short": null, - "long": "watch-exclude", + "long": null, "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "no-clear-screen", + "name": "dynamic", "short": null, - "long": "no-clear-screen", + "long": "dynamic", "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" - }, + "help": "Generate dynamic completions for the given shell (unstable), currently this only provides available tasks for `deno task`.", + "help_heading": null, + "usage": "--dynamic" + } + ], + "subcommands": [] + }, + { + "name": "init", + "about": "Initialize a new project", + "usage": "Usage: init", + "args": [ { - "name": "use-tabs", + "name": "args", "short": null, - "long": "use-tabs", + "long": null, "required": false, - "help": "Use tabs instead of spaces for indentation \u001b[38;5;245m[default: false]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--use-tabs[=]" - }, - { - "name": "line-width", - "short": null, - "long": "line-width", - "required": false, - "help": "Define maximum line width \u001b[38;5;245m[default: 80]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--line-width " - }, - { - "name": "indent-width", - "short": null, - "long": "indent-width", - "required": false, - "help": "Define indentation width \u001b[38;5;245m[default: 2]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--indent-width " + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "single-quote", + "name": "lib", "short": null, - "long": "single-quote", + "long": "lib", "required": false, - "help": "Use single quotes \u001b[38;5;245m[default: false]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--single-quote[=]" + "help": "Generate an example library project", + "help_heading": null, + "usage": "--lib" }, { - "name": "prose-wrap", + "name": "serve", "short": null, - "long": "prose-wrap", + "long": "serve", "required": false, - "help": "Define how prose should be wrapped \u001b[38;5;245m[default: always]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--prose-wrap " + "help": "Generate an example project for `deno serve`", + "help_heading": null, + "usage": "--serve" }, { - "name": "no-semicolons", + "name": "npm", "short": null, - "long": "no-semicolons", + "long": "npm", "required": false, - "help": "Don't use semicolons except where necessary \u001b[38;5;245m[default: false]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--no-semicolons[=]" + "help": "Generate a npm create-* project", + "help_heading": null, + "usage": "--npm" }, { - "name": "no-editorconfig", + "name": "jsr", "short": null, - "long": "no-editorconfig", + "long": "jsr", "required": false, - "help": "Don't read .editorconfig files to infer formatting options \u001b[38;5;245m[default: false]\u001b[39m", - "help_heading": "Formatting options", - "usage": "--no-editorconfig" + "help": "Generate a project from a JSR package", + "help_heading": null, + "usage": "--jsr" }, { - "name": "unstable-component", + "name": "empty", "short": null, - "long": "unstable-component", + "long": "empty", "required": false, - "help": "Enable formatting Svelte, Vue, Astro and Angular files", - "help_heading": "Formatting options", - "usage": "--unstable-component" + "help": "Generate a minimal project with just main.ts and deno.json", + "help_heading": null, + "usage": "--empty" }, { - "name": "unstable-sql", - "short": null, - "long": "unstable-sql", + "name": "yes", + "short": "y", + "long": "yes", "required": false, - "help": "Enable formatting SQL files.", - "help_heading": "Formatting options", - "usage": "--unstable-sql" + "help": "Bypass the prompt and run with full permissions", + "help_heading": null, + "usage": "-y, --yes" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno fmt\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[files]...\u001b[0m" + "subcommands": [] }, { - "name": "init", - "about": "scaffolds a basic Deno project with a script, test, and configuration file", + "name": "create", + "about": "Create a project from a template", + "usage": "Usage: create", "args": [ { - "name": "args", + "name": "package", "short": null, "long": null, - "required": false, + "required": true, "help": null, "help_heading": null, - "usage": "[DIRECTORY OR PACKAGE]..." + "usage": "" }, { "name": "npm", "short": null, "long": "npm", "required": false, - "help": "Generate a npm create-* project", + "help": "Treat unprefixed package names as npm packages", "help_heading": null, "usage": "--npm" }, @@ -5896,37 +5608,10 @@ "short": null, "long": "jsr", "required": false, - "help": "Generate a project from a JSR package", + "help": "Treat unprefixed package names as JSR packages", "help_heading": null, "usage": "--jsr" }, - { - "name": "lib", - "short": null, - "long": "lib", - "required": false, - "help": "Generate an example library project", - "help_heading": null, - "usage": "--lib" - }, - { - "name": "serve", - "short": null, - "long": "serve", - "required": false, - "help": "Generate an example project for `deno serve`", - "help_heading": null, - "usage": "--serve" - }, - { - "name": "empty", - "short": null, - "long": "empty", - "required": false, - "help": "Generate a minimal project with just main.ts and deno.json", - "help_heading": null, - "usage": "--empty" - }, { "name": "yes", "short": "y", @@ -5934,141 +5619,167 @@ "required": false, "help": "Bypass the prompt and run with full permissions", "help_heading": null, - "usage": "--yes" + "usage": "-y, --yes" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno init\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[DIRECTORY OR PACKAGE]...\u001b[0m" + "subcommands": [] }, { - "name": "info", - "about": "Show information about a module or the cache directories.\n\nGet information about a module:\n \u001b[38;5;245mdeno info jsr:@std/http/file-server\u001b[39m\n\nThe following information is shown:\n local: Local path of the file\n type: JavaScript, TypeScript, or JSON\n emit: Local path of compiled source code (TypeScript only)\n dependencies: Dependency tree of the source file\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/info\u001b[39m", + "name": "jupyter", + "about": "Deno kernel for Jupyter notebooks", + "usage": "Usage: jupyter", "args": [ { - "name": "unstable-detect-cjs", + "name": "install", "short": null, - "long": "unstable-detect-cjs", + "long": "install", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Install a kernelspec", + "help_heading": null, + "usage": "--install" }, { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", + "name": "name", + "short": "n", + "long": "name", + "required": false, + "help": "Set a name for the kernel (defaults to 'deno'). Useful when maintaing multiple Deno kernels.", + "help_heading": null, + "usage": "-n, --name" + }, + { + "name": "display", + "short": "d", + "long": "display", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Set a display name for the kernel (defaults to 'Deno'). Useful when maintaing multiple Deno kernels.", + "help_heading": null, + "usage": "-d, --display" }, { - "name": "unstable-lockfile-v5", + "name": "kernel", "short": null, - "long": "unstable-lockfile-v5", + "long": "kernel", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Start the kernel", + "help_heading": null, + "usage": "--kernel" }, { - "name": "unstable-npm-lazy-caching", + "name": "conn", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "conn", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Path to JSON file describing connection parameters, provided by Jupyter", + "help_heading": null, + "usage": "--conn" }, { - "name": "unstable-sloppy-imports", + "name": "force", + "short": null, + "long": "force", + "required": false, + "help": "Force installation of a kernel, overwriting previously existing kernelspec", + "help_heading": null, + "usage": "--force" + } + ], + "subcommands": [] + }, + { + "name": "publish", + "about": "Publish the current working directory's package or workspace", + "usage": "Usage: publish", + "args": [ + { + "name": "token", "short": null, - "long": "unstable-sloppy-imports", + "long": "token", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "The API token to use when publishing. If unset, interactive authentication is be used", + "help_heading": null, + "usage": "--token" }, { - "name": "unstable-tsgo", + "name": "dry-run", "short": null, - "long": "unstable-tsgo", + "long": "dry-run", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Prepare the package for publishing performing all checks and validations without uploading", + "help_heading": null, + "usage": "--dry-run" }, { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "name": "allow-slow-types", + "short": null, + "long": "allow-slow-types", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "Allow publishing with slow types", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "--allow-slow-types" }, { - "name": "deny-import", + "name": "allow-dirty", "short": null, - "long": "deny-import", + "long": "allow-dirty", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "Allow publishing if the repository has uncommitted changed", "help_heading": null, - "usage": "--deny-import[=...]" + "usage": "--allow-dirty" }, { - "name": "env-file", + "name": "no-provenance", "short": null, - "long": "env-file", + "long": "no-provenance", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Disable provenance attestation.\n Enabled by default on Github actions, publicly links the package to where it was built and published from.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--no-provenance" }, { - "name": "file", + "name": "set-version", "short": null, - "long": null, + "long": "set-version", "required": false, - "help": null, + "help": "Set version for a package to be published.\n This flag can be used while publishing individual packages and cannot be used in a workspace.", "help_heading": null, - "usage": "[file]" + "usage": "--set-version" }, { - "name": "reload", - "short": "r", - "long": "reload", + "name": "check", + "short": null, + "long": "check", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing --check is redundant; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "cert", + "name": "env-file", "short": null, - "long": "cert", + "long": "env-file", "required": false, - "help": "Load certificate authority from PEM encoded file", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--cert " + "usage": "--env-file" }, { - "name": "location", + "name": "no-check", "short": null, - "long": "location", + "long": "no-check", "required": false, - "help": "Show files used for origin bound APIs like the Web Storage API when running a script with \u001b[36m--location=\u001b[39m", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--location " + "usage": "--no-check" }, { - "name": "no-config", + "name": "import-map", "short": null, - "long": "no-config", + "long": "import-map", "required": false, - "help": "Disable automatic loading of the configuration file", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--no-config" + "usage": "--import-map" }, { "name": "no-remote", @@ -6076,7 +5787,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -6085,303 +5796,250 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { - "name": "lock", + "name": "node-modules-dir", "short": null, - "long": "lock", + "long": "node-modules-dir", "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { - "name": "no-lock", + "name": "vendor", "short": null, - "long": "no-lock", + "long": "vendor", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "frozen", + "name": "node-modules-linker", "short": null, - "long": "frozen", + "long": "node-modules-linker", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "Sets the linker mode for npm packages (isolated or hoisted)", + "help_heading": null, + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { - "name": "import-map", + "name": "no-config", "short": null, - "long": "import-map", + "long": "no-config", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Disable automatic loading of the configuration file", + "help_heading": null, + "usage": "--no-config" }, { - "name": "node-modules-dir", - "short": null, - "long": "node-modules-dir", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { - "name": "node-modules-linker", + "name": "lock", "short": null, - "long": "node-modules-linker", + "long": "lock", "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "vendor", + "name": "no-lock", "short": null, - "long": "vendor", + "long": "no-lock", "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "json", + "name": "frozen-lockfile", "short": null, - "long": "json", + "long": "frozen-lockfile", "required": false, - "help": "UNSTABLE: Outputs the information in JSON format", + "help": "Error out if lockfile is out of date", "help_heading": null, - "usage": "--json" + "usage": "--frozen-lockfile" }, { - "name": "minimum-dependency-age", + "name": "cert", "short": null, - "long": "minimum-dependency-age", + "long": "cert", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", - "help_heading": null, - "usage": "--minimum-dependency-age " - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno info\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[file]\u001b[0m" - }, - { - "name": "list", - "about": "List the dependencies declared in deno.json / package.json.\n\nShow declared dependencies and their resolved versions:\n \u001b[38;5;245mdeno list\u001b[39m\n\nShow the dependency tree two levels deep:\n \u001b[38;5;245mdeno list --depth 2\u001b[39m\n\nShow only production or only development dependencies:\n \u001b[38;5;245mdeno list --prod\u001b[39m\n \u001b[38;5;245mdeno list --dev\u001b[39m\n\nFilter by name (wildcards allowed, negate with a leading '!'):\n \u001b[38;5;245mdeno list \"@std/*\"\u001b[39m\n \u001b[38;5;245mdeno list \"react*\" \"!react-dom\"\u001b[39m\n\nInclude all workspace members:\n \u001b[38;5;245mdeno list --recursive\u001b[39m\n\nUnlike \u001b[38;5;245mdeno info\u001b[39m, which walks the module graph from an entrypoint, this lists the\npackages a project declares as dependencies, similar to \u001b[38;5;245mnpm ls\u001b[39m / \u001b[38;5;245mpnpm list\u001b[39m.", - "args": [ - { - "name": "filters", - "short": null, - "long": null, - "required": false, - "help": "Filters selecting which packages to list. Can include wildcards (*) to match multiple packages, and a leading '!' to exclude.", - "help_heading": null, - "usage": "[filters]..." - }, - { - "name": "depth", - "short": null, - "long": "depth", - "required": false, - "help": "Maximum depth of the dependency tree to display (0 = direct dependencies only)", + "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--depth " + "usage": "--cert" }, { - "name": "prod", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "prod", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Only list production dependencies", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--prod" + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "dev", + "name": "min-dep-age", "short": null, - "long": "dev", - "required": false, - "help": "Only list development dependencies", - "help_heading": null, - "usage": "--dev" - }, - { - "name": "recursive", - "short": "r", - "long": "recursive", + "long": "min-dep-age", "required": false, - "help": "Include all workspace members", + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--recursive" + "usage": "--min-dep-age" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno list\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[filters]...\u001b[0m" + "subcommands": [] }, { - "name": "install", - "about": "Installs dependencies either in the local project or globally to a bin directory.\n\n\u001b[32mLocal installation\u001b[39m\n\nAdd dependencies to the local project's configuration (\u001b[38;5;245mdeno.json / package.json\u001b[39m) and installs them\nin the package cache. If no dependency is specified, installs all dependencies listed in the config file.\nIf the \u001b[38;5;245m--entrypoint\u001b[39m flag is passed, installs the dependencies of the specified entrypoint(s).\n\n \u001b[38;5;245mdeno install\u001b[39m\n \u001b[38;5;245mdeno install express\u001b[39m\n \u001b[38;5;245mdeno install jsr:@std/bytes\u001b[39m\n \u001b[38;5;245mdeno install --entrypoint entry1.ts entry2.ts\u001b[39m\n\n\u001b[32mGlobal installation\u001b[39m\n\nIf the \u001b[1m--global\u001b[22m flag is set, installs a script as an executable in the installation root's bin directory.\n\n \u001b[38;5;245mdeno install --global --allow-net --allow-read jsr:@std/http/file-server\u001b[39m\n \u001b[38;5;245mdeno install -g https://examples.deno.land/color-logging.ts\u001b[39m\n\nTo change the executable name, use \u001b[36m-n\u001b[39m/\u001b[36m--name\u001b[39m:\n \u001b[38;5;245mdeno install -g --allow-net --allow-read -n serve jsr:@std/http/file-server\u001b[39m\n\nThe executable name is inferred by default:\n - Attempt to take the file stem of the URL path. The above example would\n become \u001b[38;5;245mfile_server\u001b[39m.\n - If the file stem is something generic like \u001b[38;5;245mmain\u001b[39m, \u001b[38;5;245mmod\u001b[39m, \u001b[38;5;245mindex\u001b[39m or \u001b[38;5;245mcli\u001b[39m,\n and the path has no parent, take the file name of the parent path. Otherwise\n settle with the generic name.\n - If the resulting name has an \u001b[38;5;245m@...\u001b[39m suffix, strip it.\n\nTo change the installation root, use \u001b[36m--root\u001b[39m:\n \u001b[38;5;245mdeno install -g --allow-net --allow-read --root /usr/local jsr:@std/http/file-server\u001b[39m\n\nThe installation root is determined, in order of precedence:\n - \u001b[38;5;245m--root\u001b[39m option\n - \u001b[38;5;245mDENO_INSTALL_ROOT\u001b[39m environment variable\n - \u001b[38;5;245m$HOME/.deno\u001b[39m\n\nThese must be added to the path manually if required.", + "name": "add", + "about": "Add dependencies", + "usage": "Usage: add", "args": [ { - "name": "unstable-bundle", - "short": null, - "long": "unstable-bundle", - "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" - }, - { - "name": "unstable-cron", + "name": "packages", "short": null, - "long": "unstable-cron", - "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "long": null, + "required": true, + "help": "List of packages to add", + "help_heading": null, + "usage": "" }, { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", + "name": "dev", + "short": "D", + "long": "dev", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Add the package as a dev dependency (under `devDependencies`). Note: this only applies when adding to a `package.json` file.", + "help_heading": null, + "usage": "-D, --dev" }, { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", + "name": "save-optional", + "short": "O", + "long": "save-optional", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Add the package as an optional dependency (under `optionalDependencies`). Note: this only applies when adding to a `package.json` file.", + "help_heading": null, + "usage": "-O, --save-optional" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "no-save", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "no-save", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Install the package(s) without adding them to the configuration file.", + "help_heading": null, + "usage": "--no-save" }, { - "name": "unstable-lockfile-v5", + "name": "save-exact", "short": null, - "long": "unstable-lockfile-v5", + "long": "save-exact", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Save exact version without the caret (^)", + "help_heading": null, + "usage": "--save-exact" }, { - "name": "unstable-net", + "name": "unscoped", "short": null, - "long": "unstable-net", + "long": "unscoped", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Use the package name without its scope as the alias (ex. `jsr:@david/jsonc-morph` is added as `jsonc-morph`). Packages given an explicit alias are unaffected.", + "help_heading": null, + "usage": "--unscoped" }, { - "name": "unstable-no-legacy-abort", + "name": "npm", "short": null, - "long": "unstable-no-legacy-abort", + "long": "npm", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "assume unprefixed package names are npm packages (default)", + "help_heading": null, + "usage": "--npm" }, { - "name": "unstable-npm-lazy-caching", + "name": "jsr", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "jsr", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "assume unprefixed package names are jsr packages", + "help_heading": null, + "usage": "--jsr" }, { - "name": "unstable-raw-imports", + "name": "lockfile-only", "short": null, - "long": "unstable-raw-imports", + "long": "lockfile-only", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Install only updating the lockfile", + "help_heading": null, + "usage": "--lockfile-only" }, { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", + "name": "allow-import", + "short": "I", + "long": "allow-import", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", + "help_heading": null, + "usage": "-I, --allow-import" }, { - "name": "unstable-tsgo", + "name": "deny-import", "short": null, - "long": "unstable-tsgo", + "long": "deny-import", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help_heading": null, + "usage": "--deny-import" }, { - "name": "unstable-unsafe-proto", + "name": "package-json", "short": null, - "long": "unstable-unsafe-proto", + "long": "package-json", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Force using package.json for dependency management instead of deno.json", + "help_heading": null, + "usage": "--package-json" }, { - "name": "unstable-webgpu", + "name": "env-file", "short": null, - "long": "unstable-webgpu", + "long": "env-file", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-worker-options", + "name": "allow-scripts", "short": null, - "long": "unstable-worker-options", + "long": "allow-scripts", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" }, { "name": "no-check", @@ -6389,17 +6047,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -6407,7 +6065,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -6416,7 +6074,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -6424,18 +6082,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -6443,26 +6092,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -6478,9 +6127,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -6488,8 +6137,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -6497,17 +6146,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -6516,259 +6165,284 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "inspect", + "name": "min-dep-age", "short": null, - "long": "inspect", + "long": "min-dep-age", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" - }, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" + } + ], + "subcommands": [] + }, + { + "name": "remove", + "about": "Remove dependencies", + "usage": "Usage: remove", + "args": [ { - "name": "inspect-brk", + "name": "packages", "short": null, - "long": "inspect-brk", - "required": false, - "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "long": null, + "required": true, + "help": "List of packages to remove", + "help_heading": null, + "usage": "" }, { - "name": "inspect-wait", - "short": null, - "long": "inspect-wait", + "name": "global", + "short": "g", + "long": "global", "required": false, - "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help": "Remove globally installed package or module", + "help_heading": null, + "usage": "-g, --global" }, { - "name": "cached-only", + "name": "root", "short": null, - "long": "cached-only", + "long": "root", "required": false, - "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", - "usage": "--cached-only" + "help": "Installation root", + "help_heading": null, + "usage": "--root" }, { - "name": "location", + "name": "lockfile-only", "short": null, - "long": "location", + "long": "lockfile-only", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Install only updating the lockfile", "help_heading": null, - "usage": "--location " + "usage": "--lockfile-only" }, { - "name": "v8-flags", + "name": "package-json", "short": null, - "long": "v8-flags", + "long": "package-json", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "Force using package.json for dependency management instead of deno.json", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--package-json" }, { - "name": "seed", + "name": "no-check", "short": null, - "long": "seed", + "long": "no-check", "required": false, - "help": "Set the random number generator seed", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--seed " + "usage": "--no-check" }, { - "name": "preload", + "name": "import-map", "short": null, - "long": "preload", + "long": "import-map", "required": false, - "help": "A list of files that will be executed before the main module", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--preload " + "usage": "--import-map" }, { - "name": "require", + "name": "no-remote", "short": null, - "long": "require", + "long": "no-remote", "required": false, - "help": "A list of CommonJS modules that will be executed before the main module", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--require " + "usage": "--no-remote" }, { - "name": "check", + "name": "no-npm", "short": null, - "long": "check", + "long": "no-npm", "required": false, - "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing \u001b[38;5;245m--check\u001b[39m is redundant; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Do not resolve npm modules", + "help_heading": null, + "usage": "--no-npm" }, { - "name": "allow-scripts", + "name": "node-modules-dir", "short": null, - "long": "allow-scripts", + "long": "node-modules-dir", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--node-modules-dir" }, { - "name": "cmd", + "name": "vendor", "short": null, - "long": null, + "long": "vendor", "required": false, - "help": null, + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "[cmd]..." + "usage": "--vendor" }, { - "name": "script_arg", + "name": "node-modules-linker", "short": null, - "long": null, + "long": "node-modules-linker", "required": false, - "help": "Script arg", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "[SCRIPT_ARG]..." + "usage": "--node-modules-linker" }, { - "name": "name", - "short": "n", - "long": "name", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Executable file name", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--name " + "usage": "-c, --config" }, { - "name": "root", + "name": "no-config", "short": null, - "long": "root", + "long": "no-config", "required": false, - "help": "Installation root", + "help": "Disable automatic loading of the configuration file", "help_heading": null, - "usage": "--root " + "usage": "--no-config" }, { - "name": "force", - "short": "f", - "long": "force", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Forcefully overwrite existing installation", + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", "help_heading": null, - "usage": "--force" + "usage": "-r, --reload" }, { - "name": "compile", + "name": "lock", "short": null, - "long": "compile", + "long": "lock", "required": false, - "help": "Install the script as a compiled executable", + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", "help_heading": null, - "usage": "--compile" + "usage": "--lock" }, { - "name": "global", - "short": "g", - "long": "global", + "name": "no-lock", + "short": null, + "long": "no-lock", "required": false, - "help": "Install a package or script as a globally available executable", + "help": "Disable auto discovery of the lock file", "help_heading": null, - "usage": "--global" + "usage": "--no-lock" }, { - "name": "entrypoint", - "short": "e", - "long": "entrypoint", + "name": "frozen-lockfile", + "short": null, + "long": "frozen-lockfile", "required": false, - "help": "Install dependents of the specified entrypoint(s)", + "help": "Error out if lockfile is out of date", "help_heading": null, - "usage": "--entrypoint" + "usage": "--frozen-lockfile" }, { - "name": "env-file", + "name": "cert", "short": null, - "long": "env-file", + "long": "cert", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--cert" }, { - "name": "dev", - "short": "D", - "long": "dev", + "name": "unsafely-ignore-certificate-errors", + "short": null, + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Add the package as a dev dependency (under `devDependencies`). Note: this only applies when adding to a `package.json` file.", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--dev" + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "save-optional", - "short": "O", - "long": "save-optional", + "name": "min-dep-age", + "short": null, + "long": "min-dep-age", "required": false, - "help": "Add the package as an optional dependency (under `optionalDependencies`). Note: this only applies when adding to a `package.json` file.", + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--save-optional" - }, + "usage": "--min-dep-age" + } + ], + "subcommands": [] + }, + { + "name": "outdated", + "about": "Find outdated dependencies", + "usage": "Usage: outdated", + "args": [ { - "name": "no-save", + "name": "filters", "short": null, - "long": "no-save", + "long": null, "required": false, - "help": "Install the package(s) without adding them to the configuration file.", + "help": "Filters selecting which packages to act on. Can include wildcards (*) to match multiple packages. If a version requirement is specified, the matching packages will be updated to the given requirement.", "help_heading": null, - "usage": "--no-save" + "usage": "" }, { - "name": "npm", - "short": null, - "long": "npm", + "name": "recursive", + "short": "r", + "long": "recursive", "required": false, - "help": "assume unprefixed package names are npm packages (default)", + "help": "Include all workspace members", "help_heading": null, - "usage": "--npm" + "usage": "-r, --recursive" }, { - "name": "jsr", + "name": "compatible", "short": null, - "long": "jsr", + "long": "compatible", "required": false, - "help": "assume unprefixed package names are jsr packages", + "help": "Only consider versions that satisfy semver requirements", "help_heading": null, - "usage": "--jsr" + "usage": "--compatible" }, { - "name": "save-exact", - "short": null, - "long": "save-exact", + "name": "update", + "short": "u", + "long": "update", "required": false, - "help": "Save exact version without the caret (^)", + "help": "Update dependency versions", "help_heading": null, - "usage": "--save-exact" + "usage": "-u, --update" }, { - "name": "unscoped", + "name": "latest", "short": null, - "long": "unscoped", + "long": "latest", "required": false, - "help": "Use the package name without its scope as the alias (ex. `jsr:@david/jsonc-morph` is added as `jsonc-morph`). Packages given an explicit alias are unaffected.", + "help": "Consider the latest version, regardless of semver constraints", "help_heading": null, - "usage": "--unscoped" + "usage": "--latest" + }, + { + "name": "interactive", + "short": "i", + "long": "interactive", + "required": false, + "help": "Interactively select which dependencies to update", + "help_heading": null, + "usage": "-i, --interactive" }, { "name": "lockfile-only", @@ -6780,376 +6454,318 @@ "usage": "--lockfile-only" }, { - "name": "package-json", + "name": "env-file", "short": null, - "long": "package-json", + "long": "env-file", "required": false, - "help": "Force using package.json for dependency management instead of deno.json", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--package-json" + "usage": "--env-file" }, { - "name": "os", + "name": "no-check", "short": null, - "long": "os", + "long": "no-check", "required": false, - "help": "Target OS for npm package installation (e.g., linux, darwin, win32)", + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "--os " + "usage": "--no-check" }, { - "name": "arch", + "name": "import-map", "short": null, - "long": "arch", + "long": "import-map", "required": false, - "help": "Target architecture for npm package installation (e.g., x64, arm64)", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--arch " + "usage": "--import-map" }, { - "name": "prod", + "name": "no-remote", "short": null, - "long": "prod", + "long": "no-remote", "required": false, - "help": "Only install production dependencies (excludes devDependencies)", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--prod" + "usage": "--no-remote" }, { - "name": "skip-types", + "name": "no-npm", "short": null, - "long": "skip-types", + "long": "no-npm", "required": false, - "help": "Exclude @types/* packages from installation.\n\u001b[33mBe careful, as it uses a name-based heuristic and may skip packages that ship runtime code.\u001b[39m", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--skip-types" + "usage": "--no-npm" }, { - "name": "unstable", + "name": "node-modules-dir", "short": null, - "long": "unstable", + "long": "node-modules-dir", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno install\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[cmd]...\u001b[0m \u001b[32m[--\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m\u001b[32m]\u001b[0m" - }, - { - "name": "ci", - "about": "Install dependencies in a clean, reproducible way for CI environments.\n\nSimilar to \u001b[38;5;245mnpm ci\u001b[39m: requires a \u001b[38;5;245mdeno.lock\u001b[39m file, removes any existing \u001b[38;5;245mnode_modules\u001b[39m\ndirectory, and then installs strictly from the lockfile. Errors if \u001b[38;5;245mdeno.lock\u001b[39m\nis missing or out of date with the config file.\n\n \u001b[38;5;245mdeno ci\u001b[39m\n \u001b[38;5;245mdeno ci --prod\u001b[39m", - "args": [ + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" + }, { - "name": "unstable-bundle", + "name": "vendor", "short": null, - "long": "unstable-bundle", + "long": "vendor", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "unstable-cron", + "name": "node-modules-linker", "short": null, - "long": "unstable-cron", + "long": "node-modules-linker", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Sets the linker mode for npm packages (isolated or hoisted)", + "help_heading": null, + "usage": "--node-modules-linker" }, { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" }, { - "name": "unstable-kv", + "name": "no-config", "short": null, - "long": "unstable-kv", + "long": "no-config", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Disable automatic loading of the configuration file", + "help_heading": null, + "usage": "--no-config" }, { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { - "name": "unstable-lockfile-v5", + "name": "lock", "short": null, - "long": "unstable-lockfile-v5", + "long": "lock", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "unstable-net", + "name": "no-lock", "short": null, - "long": "unstable-net", + "long": "no-lock", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "unstable-no-legacy-abort", + "name": "frozen-lockfile", "short": null, - "long": "unstable-no-legacy-abort", + "long": "frozen-lockfile", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" }, { - "name": "unstable-npm-lazy-caching", + "name": "cert", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "cert", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" }, { - "name": "unstable-raw-imports", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "unstable-raw-imports", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "unstable-sloppy-imports", + "name": "min-dep-age", "short": null, - "long": "unstable-sloppy-imports", + "long": "min-dep-age", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" + } + ], + "subcommands": [] + }, + { + "name": "update", + "about": "Update outdated dependencies", + "usage": "Usage: update", + "args": [ { - "name": "unstable-tsgo", + "name": "filters", "short": null, - "long": "unstable-tsgo", + "long": null, "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Filters selecting which packages to act on. Can include wildcards (*) to match multiple packages. If a version requirement is specified, the matching packages will be updated to the given requirement.", + "help_heading": null, + "usage": "" }, { - "name": "unstable-unsafe-proto", - "short": null, - "long": "unstable-unsafe-proto", + "name": "recursive", + "short": "r", + "long": "recursive", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Include all workspace members", + "help_heading": null, + "usage": "-r, --recursive" }, { - "name": "unstable-webgpu", + "name": "latest", "short": null, - "long": "unstable-webgpu", + "long": "latest", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Consider the latest version, regardless of semver constraints", + "help_heading": null, + "usage": "--latest" }, { - "name": "unstable-worker-options", + "name": "compatible", "short": null, - "long": "unstable-worker-options", + "long": "compatible", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Only consider versions that satisfy semver requirements", + "help_heading": null, + "usage": "--compatible" }, { - "name": "prod", + "name": "lockfile-only", "short": null, - "long": "prod", + "long": "lockfile-only", "required": false, - "help": "Only install production dependencies (excludes devDependencies)", + "help": "Install only updating the lockfile", "help_heading": null, - "usage": "--prod" + "usage": "--lockfile-only" }, { - "name": "skip-types", - "short": null, - "long": "skip-types", + "name": "interactive", + "short": "i", + "long": "interactive", "required": false, - "help": "Exclude @types/* packages from installation.\n\u001b[33mBe careful, as it uses a name-based heuristic and may skip packages that ship runtime code.\u001b[39m", + "help": "Interactively select which dependencies to update", "help_heading": null, - "usage": "--skip-types" + "usage": "-i, --interactive" }, { "name": "env-file", "short": null, "long": "env-file", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--env-file" }, { - "name": "unstable", + "name": "no-check", "short": null, - "long": "unstable", + "long": "no-check", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno ci\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "json_reference", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno json_reference\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "jupyter", - "about": "Deno kernel for Jupyter notebooks", - "args": [ + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" + }, { - "name": "install", + "name": "import-map", "short": null, - "long": "install", + "long": "import-map", "required": false, - "help": "Install a kernelspec", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--install" + "usage": "--import-map" }, { - "name": "name", - "short": "n", - "long": "name", + "name": "no-remote", + "short": null, + "long": "no-remote", "required": false, - "help": "Set a name for the kernel (defaults to 'deno'). \u001b[38;5;245mUseful when maintaing multiple Deno kernels.\u001b[39m", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--name " + "usage": "--no-remote" }, { - "name": "display", - "short": "d", - "long": "display", - "required": false, - "help": "Set a display name for the kernel (defaults to 'Deno'). \u001b[38;5;245mUseful when maintaing multiple Deno kernels.\u001b[39m", - "help_heading": null, - "usage": "--display " - }, - { - "name": "force", + "name": "no-npm", "short": null, - "long": "force", + "long": "no-npm", "required": false, - "help": "Force installation of a kernel, overwriting previously existing kernelspec", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--force" + "usage": "--no-npm" }, { - "name": "kernel", + "name": "node-modules-dir", "short": null, - "long": "kernel", + "long": "node-modules-dir", "required": false, - "help": "Start the kernel", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--kernel" + "usage": "--node-modules-dir" }, { - "name": "conn", - "short": null, - "long": "conn", - "required": false, - "help": "Path to JSON file describing connection parameters, provided by Jupyter", - "help_heading": null, - "usage": "--conn " - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno jupyter\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "approve-scripts", - "about": "Approve npm lifecycle scripts for installed dependencies.", - "args": [ - { - "name": "packages", + "name": "vendor", "short": null, - "long": null, + "long": "vendor", "required": false, - "help": "Packages to approve (npm specifiers). When omitted, you will be prompted to select from installed packages with lifecycle scripts.", + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "[packages]..." + "usage": "--vendor" }, { - "name": "lockfile-only", - "short": null, - "long": "lockfile-only", - "required": false, - "help": "Install only updating the lockfile", - "help_heading": null, - "usage": "--lockfile-only" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno approve-scripts\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[packages]...\u001b[0m" - }, - { - "name": "uninstall", - "about": "Uninstalls dependencies or an executable script in the installation root's bin directory.\n \u001b[38;5;245mdeno uninstall @std/dotenv chalk\u001b[39m\n \u001b[38;5;245mdeno uninstall --global file_server\u001b[39m\n\nTo change the installation root, use \u001b[36m--root\u001b[39m flag:\n \u001b[38;5;245mdeno uninstall --global --root /usr/local cowsay serve\u001b[39m\n\nThe installation root is determined, in order of precedence:\n - \u001b[38;5;245m--root\u001b[39m option\n - \u001b[38;5;245mDENO_INSTALL_ROOT\u001b[39m environment variable\n - \u001b[38;5;245m$HOME/.deno\u001b[39m", - "args": [ - { - "name": "name-or-package", + "name": "node-modules-linker", "short": null, - "long": null, + "long": "node-modules-linker", "required": false, - "help": null, + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "[name-or-package]" + "usage": "--node-modules-linker" }, { - "name": "root", - "short": null, - "long": "root", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Installation root", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--root " + "usage": "-c, --config" }, { - "name": "global", - "short": "g", - "long": "global", + "name": "no-config", + "short": null, + "long": "no-config", "required": false, - "help": "Remove globally installed packages or modules", + "help": "Disable automatic loading of the configuration file", "help_heading": null, - "usage": "--global" + "usage": "--no-config" }, { - "name": "additional-packages", - "short": null, - "long": null, + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "List of additional packages to remove", + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", "help_heading": null, - "usage": "[additional-packages]..." + "usage": "-r, --reload" }, { "name": "lock", @@ -7157,8 +6773,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -7166,168 +6782,199 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { - "name": "lockfile-only", + "name": "cert", "short": null, - "long": "lockfile-only", + "long": "cert", "required": false, - "help": "Install only updating the lockfile", + "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--lockfile-only" + "usage": "--cert" }, { - "name": "package-json", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "package-json", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Force using package.json for dependency management instead of deno.json", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--package-json" + "usage": "--unsafely-ignore-certificate-errors" + }, + { + "name": "min-dep-age", + "short": null, + "long": "min-dep-age", + "required": false, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno uninstall\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[name-or-package]\u001b[0m \u001b[32m[additional-packages]...\u001b[0m" + "subcommands": [] }, { - "name": "outdated", - "about": "Find and update outdated dependencies.\nBy default, outdated dependencies are only displayed.\n\nDisplay outdated dependencies:\n \u001b[38;5;245mdeno outdated\u001b[39m\n \u001b[38;5;245mdeno outdated --compatible\u001b[39m\n\nUpdate dependencies to the latest semver compatible versions:\n \u001b[38;5;245mdeno outdated --update\u001b[39m\nUpdate dependencies to the latest versions, ignoring semver requirements:\n \u001b[38;5;245mdeno outdated --update --latest\u001b[39m\nUpdate dependencies within their existing version ranges, without editing deno.json / package.json (like \u001b[38;5;245mnpm update\u001b[39m):\n \u001b[38;5;245mdeno outdated --update --lockfile-only\u001b[39m\n\nFilters can be used to select which packages to act on. Filters can include wildcards (*) to match multiple packages.\n \u001b[38;5;245mdeno outdated --update --latest \"@std/*\"\u001b[39m\n \u001b[38;5;245mdeno outdated --update --latest \"react*\"\u001b[39m\nNote that filters act on their aliases configured in deno.json / package.json, not the actual package names:\n Given \"foobar\": \"npm:react@17.0.0\" in deno.json or package.json, the filter \"foobar\" would update npm:react to\n the latest version.\n \u001b[38;5;245mdeno outdated --update --latest foobar\u001b[39m\nFilters can be combined, and negative filters can be used to exclude results:\n \u001b[38;5;245mdeno outdated --update --latest \"@std/*\" \"!@std/fmt*\"\u001b[39m\n\nSpecific version requirements to update to can be specified:\n \u001b[38;5;245mdeno outdated --update @std/fmt@^1.0.2\u001b[39m\n", + "name": "deploy", + "about": "Deploy to Deno Deploy", + "usage": "Usage: deploy", + "args": [], + "subcommands": [] + }, + { + "name": "sandbox", + "about": "Run in sandbox mode", + "usage": "Usage: sandbox", + "args": [], + "subcommands": [] + }, + { + "name": "clean", + "about": "Remove the cache directory", + "usage": "Usage: clean", "args": [ { - "name": "filters", + "name": "except-paths", "short": null, "long": null, "required": false, - "help": "Filters selecting which packages to act on. Can include wildcards (*) to match multiple packages. If a version requirement is specified, the matching packages will be updated to the given requirement.", + "help": null, "help_heading": null, - "usage": "[filters]..." + "usage": "" }, { - "name": "latest", - "short": null, - "long": "latest", + "name": "except", + "short": "e", + "long": "except", "required": false, - "help": "Consider the latest version, regardless of semver constraints", + "help": "Retain cache data needed by the given files", "help_heading": null, - "usage": "--latest" + "usage": "-e, --except" }, { - "name": "compatible", + "name": "dry-run", "short": null, - "long": "compatible", - "required": false, - "help": "Only consider versions that satisfy semver requirements", - "help_heading": null, - "usage": "--compatible" - }, - { - "name": "recursive", - "short": "r", - "long": "recursive", + "long": "dry-run", "required": false, - "help": "Include all workspace members", + "help": "Show what would be removed without performing any actions", "help_heading": null, - "usage": "--recursive" + "usage": "--dry-run" }, { - "name": "minimum-dependency-age", + "name": "node-modules-dir", "short": null, - "long": "minimum-dependency-age", + "long": "node-modules-dir", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--node-modules-dir" }, { - "name": "lockfile-only", + "name": "vendor", "short": null, - "long": "lockfile-only", + "long": "vendor", "required": false, - "help": "Install only updating the lockfile", + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "--lockfile-only" + "usage": "--vendor" }, { - "name": "interactive", - "short": "i", - "long": "interactive", + "name": "node-modules-linker", + "short": null, + "long": "node-modules-linker", "required": false, - "help": "Interactively select which dependencies to update", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--interactive" - }, + "usage": "--node-modules-linker" + } + ], + "subcommands": [] + }, + { + "name": "list", + "about": "List the dependencies declared in deno.json / package.json", + "usage": "Usage: list", + "args": [ { - "name": "lock", + "name": "filters", "short": null, - "long": "lock", + "long": null, "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "Filters selecting which packages to list. Can include wildcards (*) to match multiple packages, and a leading '!' to exclude.", + "help_heading": null, + "usage": "" }, { - "name": "no-lock", + "name": "depth", "short": null, - "long": "no-lock", + "long": "depth", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "Maximum depth of the dependency tree to display (0 = direct dependencies only)", + "help_heading": null, + "usage": "--depth" }, { - "name": "frozen", + "name": "prod", "short": null, - "long": "frozen", + "long": "prod", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "Only list production dependencies", + "help_heading": null, + "usage": "--prod" }, { - "name": "env-file", + "name": "dev", "short": null, - "long": "env-file", + "long": "dev", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Only list development dependencies", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--dev" }, { - "name": "update", - "short": "u", - "long": "update", + "name": "recursive", + "short": "r", + "long": "recursive", "required": false, - "help": "Update dependency versions", + "help": "Include all workspace members", "help_heading": null, - "usage": "--update" + "usage": "-r, --recursive" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno outdated\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[filters]...\u001b[0m" + "subcommands": [] }, { "name": "link", - "about": "Link a local JSR package into the current project for development.\n\n \u001b[38;5;245mdeno link ../my-local-pkg\u001b[39m\n\nEach path must be a directory containing a deno.json with a JSR-style \"name\" field.\nThe path is appended to the \"links\" array in the nearest deno.json, and modules\nimported by that package's name resolve to the local copy instead of the registry.\n\nTo stop using the local copy:\n \u001b[38;5;245mdeno unlink ../my-local-pkg\u001b[39m\n \u001b[38;5;245mdeno unlink @scope/name\u001b[39m\n", + "about": "Link a local JSR package into the current project for development", + "usage": "Usage: link", "args": [ { "name": "paths", "short": null, "long": null, - "required": false, + "required": true, "help": "Paths to local package directories to link", "help_heading": null, - "usage": "[paths]..." + "usage": "" + }, + { + "name": "lockfile-only", + "short": null, + "long": "lockfile-only", + "required": false, + "help": "Install only updating the lockfile", + "help_heading": null, + "usage": "--lockfile-only" }, { "name": "lock", @@ -7335,8 +6982,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -7344,43 +6991,43 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" - }, - { - "name": "lockfile-only", - "short": null, - "long": "lockfile-only", - "required": false, - "help": "Install only updating the lockfile", "help_heading": null, - "usage": "--lockfile-only" + "usage": "--frozen-lockfile" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno link\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[paths]...\u001b[0m" + "subcommands": [] }, { "name": "unlink", - "about": "Remove a linked local package from the current project.\n\n \u001b[38;5;245mdeno unlink ../my-local-pkg\u001b[39m\n \u001b[38;5;245mdeno unlink @scope/name\u001b[39m\n\nAccepts either a path that matches an existing entry in the \"links\" array,\nor the JSR-style name of a linked package.\n", + "about": "Remove a linked local package from the current project", + "usage": "Usage: unlink", "args": [ { "name": "names_or_paths", "short": null, "long": null, - "required": false, + "required": true, "help": "Linked package names or paths to remove", "help_heading": null, - "usage": "[names_or_paths]..." + "usage": "" + }, + { + "name": "lockfile-only", + "short": null, + "long": "lockfile-only", + "required": false, + "help": "Install only updating the lockfile", + "help_heading": null, + "usage": "--lockfile-only" }, { "name": "lock", @@ -7388,8 +7035,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -7397,149 +7044,115 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" - }, - { - "name": "lockfile-only", - "short": null, - "long": "lockfile-only", - "required": false, - "help": "Install only updating the lockfile", "help_heading": null, - "usage": "--lockfile-only" + "usage": "--frozen-lockfile" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno unlink\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[names_or_paths]...\u001b[0m" - }, - { - "name": "lsp", - "about": "The 'deno lsp' subcommand provides a way for code editors and IDEs to interact with Deno\nusing the Language Server Protocol. Usually humans do not use this subcommand directly.\nFor example, 'deno lsp' can provide IDEs with go-to-definition support and automatic code formatting.\n\nHow to connect various editors and IDEs to 'deno lsp': https://docs.deno.com/go/lsp", - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno lsp\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" + "subcommands": [] }, { - "name": "lint", - "about": "Lint JavaScript/TypeScript source code.\n\n \u001b[38;5;245mdeno lint\u001b[39m\n \u001b[38;5;245mdeno lint myfile1.ts myfile2.js\u001b[39m\n\nPrint result as JSON:\n \u001b[38;5;245mdeno lint --json\u001b[39m\n\nRead from stdin:\n \u001b[38;5;245mcat file.ts | deno lint -\u001b[39m\n \u001b[38;5;245mcat file.ts | deno lint --json -\u001b[39m\n\nList available rules:\n \u001b[38;5;245mdeno lint --rules\u001b[39m\n\nTo ignore specific diagnostics, you can write an ignore comment on the preceding line with a rule name (or multiple):\n \u001b[38;5;245m// deno-lint-ignore no-explicit-any\u001b[39m\n \u001b[38;5;245m// deno-lint-ignore require-await no-empty\u001b[39m\n\nTo ignore linting on an entire file, you can add an ignore comment at the top of the file:\n \u001b[38;5;245m// deno-lint-ignore-file\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/lint\u001b[39m\n", + "name": "approve-scripts", + "about": "Approve npm lifecycle scripts", + "usage": "Usage: approve-scripts", "args": [ { - "name": "unstable-detect-cjs", + "name": "packages", "short": null, - "long": "unstable-detect-cjs", + "long": null, "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Packages to approve (npm specifiers). When omitted, you will be prompted to select from installed packages with lifecycle scripts.", + "help_heading": null, + "usage": "" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "lockfile-only", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "lockfile-only", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Install only updating the lockfile", + "help_heading": null, + "usage": "--lockfile-only" }, { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-sloppy-imports", + "name": "no-check", "short": null, - "long": "unstable-sloppy-imports", + "long": "no-check", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { - "name": "unstable-tsgo", + "name": "import-map", "short": null, - "long": "unstable-tsgo", + "long": "import-map", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { - "name": "fix", + "name": "no-remote", "short": null, - "long": "fix", + "long": "no-remote", "required": false, - "help": "Fix any linting errors for rules that support it", - "help_heading": "Linting options", - "usage": "--fix" + "help": "Do not resolve remote modules", + "help_heading": null, + "usage": "--no-remote" }, { - "name": "ext", + "name": "no-npm", "short": null, - "long": "ext", + "long": "no-npm", "required": false, - "help": "Specify the file extension to lint when reading from stdin.For example, use `jsx` to lint JSX files or `tsx` for TSX files.This argument is necessary because stdin input does not automatically infer the file type.Example usage: `cat file.jsx | deno lint - --ext=jsx`.", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--ext=" + "usage": "--no-npm" }, { - "name": "rules", + "name": "node-modules-dir", "short": null, - "long": "rules", + "long": "node-modules-dir", "required": false, - "help": "List available rules", - "help_heading": "Linting options", - "usage": "--rules" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { - "name": "rules-tags", + "name": "vendor", "short": null, - "long": "rules-tags", + "long": "vendor", "required": false, - "help": "Use set of rules with a tag", - "help_heading": "Linting options", - "usage": "--rules-tags=..." + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "rules-include", + "name": "node-modules-linker", "short": null, - "long": "rules-include", + "long": "node-modules-linker", "required": false, - "help": "Include lint rules", - "help_heading": "Linting options", - "usage": "--rules-include=..." + "help": "Sets the linker mode for npm packages (isolated or hoisted)", + "help_heading": null, + "usage": "--node-modules-linker" }, { - "name": "rules-exclude", - "short": null, - "long": "rules-exclude", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Exclude lint rules", - "help_heading": "Linting options", - "usage": "--rules-exclude=..." + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" }, { "name": "no-config", @@ -7551,255 +7164,252 @@ "usage": "--no-config" }, { - "name": "config", - "short": "c", - "long": "config", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", "help_heading": null, - "usage": "--config " - }, - { - "name": "ignore", - "short": null, - "long": "ignore", - "required": false, - "help": "Ignore linting particular source files", - "help_heading": "Linting options", - "usage": "--ignore=..." - }, - { - "name": "json", - "short": null, - "long": "json", - "required": false, - "help": "Output lint result in JSON format", - "help_heading": "Linting options", - "usage": "--json" + "usage": "-r, --reload" }, { - "name": "compact", + "name": "lock", "short": null, - "long": "compact", + "long": "lock", "required": false, - "help": "Output lint result in compact format", - "help_heading": "Linting options", - "usage": "--compact" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "files", + "name": "no-lock", "short": null, - "long": null, + "long": "no-lock", "required": false, - "help": null, + "help": "Disable auto discovery of the lock file", "help_heading": null, - "usage": "[files]..." + "usage": "--no-lock" }, { - "name": "permit-no-files", + "name": "frozen-lockfile", "short": null, - "long": "permit-no-files", + "long": "frozen-lockfile", "required": false, - "help": "Don't return an error code if no files were found", + "help": "Error out if lockfile is out of date", "help_heading": null, - "usage": "--permit-no-files" + "usage": "--frozen-lockfile" }, { - "name": "watch", + "name": "cert", "short": null, - "long": "watch", + "long": "cert", "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" }, { - "name": "watch-exclude", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "watch-exclude", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "no-clear-screen", + "name": "min-dep-age", "short": null, - "long": "no-clear-screen", + "long": "min-dep-age", "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" - }, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" + } + ], + "subcommands": [] + }, + { + "name": "lsp", + "about": "Start the language server", + "usage": "Usage: lsp", + "args": [], + "subcommands": [] + }, + { + "name": "vendor", + "about": "`deno vendor` was removed in Deno 2.\n\nSee the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations", + "usage": "Usage: vendor", + "args": [ { - "name": "allow-import", - "short": "I", - "long": "allow-import", + "name": "help", + "short": "h", + "long": "help", "required": false, - "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: \u001b[38;5;245mdeno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443\u001b[39m", + "help": "[possible values: unstable, full]", "help_heading": null, - "usage": "--allow-import[=...]" + "usage": "-h, --help" }, { - "name": "deny-import", - "short": null, - "long": "deny-import", + "name": "quiet", + "short": "q", + "long": "quiet", "required": false, - "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", + "help": "Suppress diagnostic output", "help_heading": null, - "usage": "--deny-import[=...]" + "usage": "-q, --quiet" }, { "name": "unstable", "short": null, "long": "unstable", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", + "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead\n To view the list of individual unstable feature flags, run this command again with --help=unstable", + "help_heading": null, "usage": "--unstable" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno lint\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[files]...\u001b[0m" + "subcommands": [] }, { - "name": "publish", - "about": "Publish the current working directory's package or workspace to JSR", + "name": "bundle", + "about": "Output a single JavaScript file with all dependencies", + "usage": "Usage: bundle", "args": [ { - "name": "unstable-detect-cjs", + "name": "file", "short": null, - "long": "unstable-detect-cjs", + "long": null, "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", + "name": "output", + "short": "o", + "long": "output", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Output path`", + "help_heading": null, + "usage": "-o, --output" }, { - "name": "unstable-lockfile-v5", + "name": "outdir", "short": null, - "long": "unstable-lockfile-v5", + "long": "outdir", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Output directory for bundled files", + "help_heading": null, + "usage": "--outdir" }, { - "name": "unstable-npm-lazy-caching", + "name": "format", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "format", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": null, + "help_heading": null, + "usage": "--format" }, { - "name": "unstable-sloppy-imports", + "name": "packages", "short": null, - "long": "unstable-sloppy-imports", + "long": "packages", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "How to handle packages. Accepted values are 'bundle' or 'external'", + "help_heading": null, + "usage": "--packages" }, { - "name": "unstable-tsgo", + "name": "platform", "short": null, - "long": "unstable-tsgo", + "long": "platform", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Platform to bundle for. Accepted values are 'browser' or 'deno'", + "help_heading": null, + "usage": "--platform" }, { - "name": "token", + "name": "sourcemap", "short": null, - "long": "token", + "long": "sourcemap", "required": false, - "help": "The API token to use when publishing. If unset, interactive authentication is be used", - "help_heading": "Publishing options", - "usage": "--token " + "help": "Generate source map. Accepted values are 'linked', 'inline', or 'external'", + "help_heading": null, + "usage": "--sourcemap" }, { - "name": "config", - "short": "c", - "long": "config", + "name": "external", + "short": null, + "long": "external", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": null, "help_heading": null, - "usage": "--config " + "usage": "--external" }, { - "name": "no-config", + "name": "watch", "short": null, - "long": "no-config", + "long": "watch", "required": false, - "help": "Disable automatic loading of the configuration file", + "help": "Watch and rebuild on changes", "help_heading": null, - "usage": "--no-config" + "usage": "--watch" }, { - "name": "dry-run", + "name": "minify", "short": null, - "long": "dry-run", + "long": "minify", "required": false, - "help": "Prepare the package for publishing performing all checks and validations without uploading", - "help_heading": "Publishing options", - "usage": "--dry-run" + "help": "Minify the output", + "help_heading": null, + "usage": "--minify" }, { - "name": "allow-slow-types", + "name": "keep-names", "short": null, - "long": "allow-slow-types", + "long": "keep-names", "required": false, - "help": "Allow publishing with slow types", - "help_heading": "Publishing options", - "usage": "--allow-slow-types" + "help": "Keep function and class names", + "help_heading": null, + "usage": "--keep-names" }, { - "name": "allow-dirty", + "name": "code-splitting", "short": null, - "long": "allow-dirty", + "long": "code-splitting", "required": false, - "help": "Allow publishing if the repository has uncommitted changed", - "help_heading": "Publishing options", - "usage": "--allow-dirty" + "help": "Enable code splitting", + "help_heading": null, + "usage": "--code-splitting" }, { - "name": "no-provenance", + "name": "inline-imports", "short": null, - "long": "no-provenance", + "long": "inline-imports", "required": false, - "help": "Disable provenance attestation.\n \u001b[38;5;245mEnabled by default on Github actions, publicly links the package to where it was built and published from.\u001b[39m", - "help_heading": "Publishing options", - "usage": "--no-provenance" + "help": "Whether to inline imported modules into the importing file [default: true]", + "help_heading": null, + "usage": "--inline-imports" }, { - "name": "set-version", + "name": "declaration", "short": null, - "long": "set-version", + "long": "declaration", "required": false, - "help": "Set version for a package to be published.\n \u001b[38;5;245mThis flag can be used while publishing individual packages and cannot be used in a workspace.\u001b[39m", - "help_heading": "Publishing options", - "usage": "--set-version " + "help": "Generate .d.ts declaration files alongside the bundle", + "help_heading": null, + "usage": "--declaration" }, { "name": "check", "short": null, "long": "check", "required": false, - "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing \u001b[38;5;245m--check\u001b[39m is redundant; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { "name": "no-check", @@ -7807,106 +7417,71 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { - "name": "env-file", + "name": "import-map", "short": null, - "long": "env-file", + "long": "import-map", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--import-map" }, { - "name": "unstable", + "name": "no-remote", "short": null, - "long": "unstable", + "long": "no-remote", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno publish\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "pack", - "about": "Create an npm-compatible tarball from a Deno project", - "args": [ + "help": "Do not resolve remote modules", + "help_heading": null, + "usage": "--no-remote" + }, { - "name": "unstable-detect-cjs", + "name": "no-npm", "short": null, - "long": "unstable-detect-cjs", + "long": "no-npm", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Do not resolve npm modules", + "help_heading": null, + "usage": "--no-npm" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "node-modules-dir", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "node-modules-dir", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { - "name": "unstable-sloppy-imports", + "name": "vendor", "short": null, - "long": "unstable-sloppy-imports", + "long": "vendor", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", + "help_heading": null, + "usage": "--vendor" }, { - "name": "unstable-tsgo", + "name": "node-modules-linker", "short": null, - "long": "unstable-tsgo", - "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" - }, - { - "name": "output", - "short": "o", - "long": "output", + "long": "node-modules-linker", "required": false, - "help": "Output file path (defaults to -.tgz)", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--output " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -7918,255 +7493,316 @@ "usage": "--no-config" }, { - "name": "dry-run", - "short": null, - "long": "dry-run", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Show what would be packed without creating the tarball", + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", "help_heading": null, - "usage": "--dry-run" + "usage": "-r, --reload" }, { - "name": "allow-slow-types", + "name": "lock", "short": null, - "long": "allow-slow-types", + "long": "lock", "required": false, - "help": "Skip fast-check type extraction; .d.ts files are omitted from the output", + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", "help_heading": null, - "usage": "--allow-slow-types" + "usage": "--lock" }, { - "name": "allow-dirty", + "name": "no-lock", "short": null, - "long": "allow-dirty", + "long": "no-lock", "required": false, - "help": "Allow packing if the repository has uncommitted changes", + "help": "Disable auto discovery of the lock file", "help_heading": null, - "usage": "--allow-dirty" + "usage": "--no-lock" }, { - "name": "set-version", + "name": "frozen-lockfile", "short": null, - "long": "set-version", + "long": "frozen-lockfile", "required": false, - "help": "Override the version in the tarball", + "help": "Error out if lockfile is out of date", "help_heading": null, - "usage": "--set-version " + "usage": "--frozen-lockfile" }, { - "name": "no-source-maps", + "name": "cert", "short": null, - "long": "no-source-maps", + "long": "cert", "required": false, - "help": "Don't include source maps in the output", + "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--no-source-maps" + "usage": "--cert" }, { - "name": "files", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": null, + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "List of file patterns to include", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "[files]..." + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "ignore", + "name": "min-dep-age", "short": null, - "long": "ignore", + "long": "min-dep-age", "required": false, - "help": "Ignore files matching these patterns", + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--ignore=..." + "usage": "--min-dep-age" }, { - "name": "env-file", + "name": "allow-import", + "short": "I", + "long": "allow-import", + "required": false, + "help": "Allow importing from remote hosts. Optionally specify allowed IP addresses and host names, with ports as necessary. Default value: deno.land:443,jsr.io:443,esm.sh:443,raw.esm.sh:443,cdn.jsdelivr.net:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443", + "help_heading": null, + "usage": "-I, --allow-import" + }, + { + "name": "deny-import", "short": null, - "long": "env-file", + "long": "deny-import", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Deny importing from remote hosts. Optionally specify denied IP addresses and host names, with ports as necessary.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--deny-import" }, { - "name": "unstable", + "name": "allow-scripts", "short": null, - "long": "unstable", + "long": "allow-scripts", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno pack\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[files]...\u001b[0m" + "subcommands": [] }, { - "name": "repl", - "about": "Starts a read-eval-print-loop, which lets you interactively build up program state in the global context.\nIt is especially useful for quick prototyping and checking snippets of code.\n\nTypeScript is supported, however it is not type-checked, only transpiled.", + "name": "audit", + "about": "Audit currently installed dependencies", + "usage": "Usage: audit", "args": [ { - "name": "unstable-bundle", + "name": "level", + "short": null, + "long": "level", + "required": false, + "help": "Only show advisories with severity greater or equal to the one specified", + "help_heading": null, + "usage": "--level" + }, + { + "name": "ignore-unfixable", "short": null, - "long": "unstable-bundle", + "long": "ignore-unfixable", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Ignore advisories that don't have any actions to resolve them", + "help_heading": null, + "usage": "--ignore-unfixable" }, { - "name": "unstable-cron", + "name": "ignore-registry-errors", "short": null, - "long": "unstable-cron", + "long": "ignore-registry-errors", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Return exit code 0 if remote service(s) responds with an error.", + "help_heading": null, + "usage": "--ignore-registry-errors" }, { - "name": "unstable-detect-cjs", + "name": "socket", "short": null, - "long": "unstable-detect-cjs", + "long": "socket", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Check against socket.dev vulnerability database", + "help_heading": null, + "usage": "--socket" }, { - "name": "unstable-kv", + "name": "fix", "short": null, - "long": "unstable-kv", + "long": "fix", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Automatically fix vulnerabilities by upgrading packages", + "help_heading": null, + "usage": "--fix" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "action", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": null, "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": null, + "help_heading": null, + "usage": "" }, { - "name": "unstable-lockfile-v5", + "name": "ignore", "short": null, - "long": "unstable-lockfile-v5", + "long": "ignore", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Ignore advisories matching the given CVE IDs", + "help_heading": null, + "usage": "--ignore" }, { - "name": "unstable-net", + "name": "lock", "short": null, - "long": "unstable-net", + "long": "lock", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "unstable-no-legacy-abort", + "name": "no-lock", "short": null, - "long": "unstable-no-legacy-abort", + "long": "no-lock", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "unstable-npm-lazy-caching", + "name": "frozen-lockfile", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "frozen-lockfile", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" + } + ], + "subcommands": [] + }, + { + "name": "why", + "about": "Show why a package is installed", + "usage": "Usage: why", + "args": [ + { + "name": "package", + "short": null, + "long": null, + "required": true, + "help": "The package name (and optional version) to explain", + "help_heading": null, + "usage": "" }, { - "name": "unstable-raw-imports", + "name": "env-file", "short": null, - "long": "unstable-raw-imports", + "long": "env-file", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-sloppy-imports", + "name": "lock", "short": null, - "long": "unstable-sloppy-imports", + "long": "lock", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "unstable-tsgo", + "name": "no-lock", "short": null, - "long": "unstable-tsgo", + "long": "no-lock", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "unstable-unsafe-proto", + "name": "frozen-lockfile", + "short": null, + "long": "frozen-lockfile", + "required": false, + "help": "Error out if lockfile is out of date", + "help_heading": null, + "usage": "--frozen-lockfile" + } + ], + "subcommands": [] + }, + { + "name": "transpile", + "about": "Transpile TypeScript/JSX/TSX files to JavaScript", + "usage": "Usage: transpile", + "args": [ + { + "name": "file", "short": null, - "long": "unstable-unsafe-proto", + "long": null, + "required": true, + "help": null, + "help_heading": null, + "usage": "" + }, + { + "name": "output", + "short": "o", + "long": "output", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Output file path (for single file transpilation)", + "help_heading": null, + "usage": "-o, --output" }, { - "name": "unstable-webgpu", + "name": "outdir", "short": null, - "long": "unstable-webgpu", + "long": "outdir", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Output directory for transpiled files", + "help_heading": null, + "usage": "--outdir" }, { - "name": "unstable-worker-options", + "name": "source-map", "short": null, - "long": "unstable-worker-options", + "long": "source-map", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Source map mode: none, inline, or separate", + "help_heading": null, + "usage": "--source-map" }, { - "name": "env-file", + "name": "declaration", "short": null, - "long": "env-file", + "long": "declaration", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Generate .d.ts declaration files (requires type-checking via tsc)", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--declaration" }, { - "name": "args", + "name": "no-check", "short": null, - "long": null, + "long": "no-check", "required": false, - "help": null, + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", "help_heading": null, - "usage": "[ARGS]..." + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -8174,7 +7810,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -8183,7 +7819,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -8191,18 +7827,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -8210,26 +7837,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -8245,9 +7872,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -8255,8 +7882,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -8264,17 +7891,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -8283,563 +7910,749 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "inspect", + "name": "min-dep-age", "short": null, - "long": "inspect", + "long": "min-dep-age", "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" - }, + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" + } + ], + "subcommands": [] + }, + { + "name": "bump-version", + "about": "Update version in the configuration file", + "usage": "Usage: bump-version", + "args": [ { - "name": "inspect-brk", + "name": "increment", "short": null, - "long": "inspect-brk", + "long": null, "required": false, - "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" + "help": "Version increment type", + "help_heading": null, + "usage": "" }, { - "name": "inspect-wait", - "short": null, - "long": "inspect-wait", + "name": "workspace", + "short": "w", + "long": "workspace", "required": false, - "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "help": "Bump every package in the workspace (auto-detected at the workspace root)", + "help_heading": null, + "usage": "-w, --workspace" }, { - "name": "cached-only", + "name": "no-workspace", "short": null, - "long": "cached-only", + "long": "no-workspace", "required": false, - "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", - "usage": "--cached-only" + "help": "Disable workspace mode and only bump the deno.json/package.json in the current directory", + "help_heading": null, + "usage": "--no-workspace" }, { - "name": "location", + "name": "dry-run", "short": null, - "long": "location", + "long": "dry-run", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Print the planned changes without writing any files", "help_heading": null, - "usage": "--location " + "usage": "--dry-run" }, { - "name": "v8-flags", + "name": "start", "short": null, - "long": "v8-flags", + "long": "start", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "[conventional-commits mode] Git ref to start from. Default: latest tag (git describe --tags --abbrev=0)", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--start" }, { - "name": "seed", + "name": "base", "short": null, - "long": "seed", + "long": "base", "required": false, - "help": "Set the random number generator seed", + "help": "[conventional-commits mode] Git ref to compare against. Default: current branch", "help_heading": null, - "usage": "--seed " + "usage": "--base" }, { - "name": "preload", + "name": "import-map", "short": null, - "long": "preload", + "long": "import-map", "required": false, - "help": "A list of files that will be executed before the main module", + "help": "Path to the import map to rewrite jsr: version constraints in. Defaults to the root deno.json (or its importMap target)", "help_heading": null, - "usage": "--preload " + "usage": "--import-map" }, { - "name": "require", + "name": "release-notes", "short": null, - "long": "require", + "long": "release-notes", "required": false, - "help": "A list of CommonJS modules that will be executed before the main module", + "help": "[conventional-commits mode] Path to the release notes file to prepend. Default: Releases.md", "help_heading": null, - "usage": "--require " + "usage": "--release-notes" }, { - "name": "eval-file", + "name": "config", + "short": "c", + "long": "config", + "required": false, + "help": "Explicit path to the manifest file to bump.\n May point to a `deno.json`/`deno.jsonc` or a `package.json`. When\n set, single-file mode is forced (workspace auto-detection is bypassed).\n Useful when both `deno.json` and `package.json` exist in the same\n directory.", + "help_heading": null, + "usage": "-c, --config" + } + ], + "subcommands": [] + }, + { + "name": "ci", + "about": "Install dependencies from a lockfile in a frozen state", + "usage": "Usage: ci", + "args": [ + { + "name": "prod", "short": null, - "long": "eval-file", + "long": "prod", "required": false, - "help": "Evaluates the provided file(s) as scripts when the REPL starts. Accepts file paths and URLs", + "help": "Only install production dependencies (excludes devDependencies)", "help_heading": null, - "usage": "--eval-file ..." + "usage": "--prod" }, { - "name": "eval", + "name": "skip-types", "short": null, - "long": "eval", + "long": "skip-types", "required": false, - "help": "Evaluates the provided code when the REPL starts", + "help": "Exclude @types/* packages from installation.\nBe careful, as it uses a name-based heuristic and may skip packages that ship runtime code.", "help_heading": null, - "usage": "--eval " + "usage": "--skip-types" }, { - "name": "unstable", + "name": "env-file", "short": null, - "long": "unstable", + "long": "env-file", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" } ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno repl\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[--\u001b[0m \u001b[32m[ARGS]...\u001b[0m\u001b[32m]\u001b[0m" + "subcommands": [] }, { - "name": "task", - "about": "Run a task defined in the configuration file:\n \u001b[38;5;245mdeno task build\u001b[39m\n\nList all available tasks (from config files in the current and ancestor directories):\n \u001b[38;5;245mdeno task\u001b[39m\n\nEvaluate a task from string:\n \u001b[38;5;245mdeno task --eval \"echo $(pwd)\"\u001b[39m", + "name": "desktop", + "about": "Compile a script into a desktop application", + "usage": "Usage: desktop", "args": [ { - "name": "unstable-bundle", + "name": "script_arg", "short": null, - "long": "unstable-bundle", + "long": null, "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "Script arg", + "help_heading": null, + "usage": "" }, { - "name": "unstable-cron", + "name": "check", "short": null, - "long": "unstable-cron", + "long": "check", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing --check is redundant; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "unstable-detect-cjs", + "name": "inspect-renderer", "short": null, - "long": "unstable-detect-cjs", + "long": "inspect-renderer", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Override the CEF renderer debugger listen address; defaults to an auto-allocated port", + "help_heading": null, + "usage": "--inspect-renderer" }, { - "name": "unstable-kv", + "name": "include", "short": null, - "long": "unstable-kv", + "long": "include", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Includes an additional module or file/directory in the compiled executable.\n Use this flag if a dynamically imported module or a web worker main module\n fails to load in the executable or to embed a file or directory in the executable.\n This flag can be passed multiple times, to include multiple additional modules.", + "help_heading": null, + "usage": "--include" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "exclude", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "exclude", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Excludes a file/directory in the compiled executable.\n Use this flag to exclude a specific file or directory within the included files.", + "help_heading": null, + "usage": "--exclude" }, { - "name": "unstable-lockfile-v5", + "name": "exclude-unused-npm", "short": null, - "long": "unstable-lockfile-v5", + "long": "exclude-unused-npm", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": "Embed only the npm packages reachable from the module graph (managed npm; no node_modules directory).\n Without this flag the full managed npm snapshot from the lockfile / package.json is embedded.\n Reduces binary size when the lockfile contains packages the entrypoint does not import.\n Skips packages that are only reached through non-statically-analyzable dynamic imports;\n pass those with --include npm: if needed.", + "help_heading": null, + "usage": "--exclude-unused-npm" }, { - "name": "unstable-net", - "short": null, - "long": "unstable-net", + "name": "output", + "short": "o", + "long": "output", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Output path (e.g. MyApp.app, MyApp.dmg, MyApp.AppImage, MyApp.deb, MyApp.rpm, MyApp.msi)", + "help_heading": null, + "usage": "-o, --output" }, { - "name": "unstable-no-legacy-abort", + "name": "target", "short": null, - "long": "unstable-no-legacy-abort", + "long": "target", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Target OS architecture", + "help_heading": null, + "usage": "--target" }, { - "name": "unstable-npm-lazy-caching", + "name": "no-code-cache", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "no-code-cache", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Disable V8 code cache feature", + "help_heading": null, + "usage": "--no-code-cache" }, { - "name": "unstable-raw-imports", + "name": "icon", "short": null, - "long": "unstable-raw-imports", + "long": "icon", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Set the application icon (.ico on Windows, .icns or .png on macOS)", + "help_heading": null, + "usage": "--icon" }, { - "name": "unstable-sloppy-imports", + "name": "hmr", "short": null, - "long": "unstable-sloppy-imports", + "long": "hmr", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Run the desktop app with Hot Module Replacement enabled", + "help_heading": null, + "usage": "--hmr" }, { - "name": "unstable-tsgo", + "name": "backend", "short": null, - "long": "unstable-tsgo", + "long": "backend", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Backend to use for the desktop app", + "help_heading": null, + "usage": "--backend" }, { - "name": "unstable-unsafe-proto", + "name": "engine", "short": null, - "long": "unstable-unsafe-proto", + "long": "engine", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "JS engine the desktop binary runs on (quickjs is smaller and experimental, and does not receive the same security updates as v8)", + "help_heading": null, + "usage": "--engine" }, { - "name": "unstable-webgpu", + "name": "all-targets", "short": null, - "long": "unstable-webgpu", + "long": "all-targets", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Build for all supported target platforms", + "help_heading": null, + "usage": "--all-targets" }, { - "name": "unstable-worker-options", + "name": "compress", "short": null, - "long": "unstable-worker-options", - "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" - }, - { - "name": "config", - "short": "c", - "long": "config", + "long": "compress", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Make the packaged app self-extracting: the payload is compressed inside the app and unpacked on first launch. Off by default. Defaults to xz (decompressed by the system `tar` everywhere); zstd is smaller/faster but needs the `zstd` tool at runtime.", "help_heading": null, - "usage": "--config " + "usage": "--compress" }, { - "name": "lock", + "name": "ext", "short": null, - "long": "lock", + "long": "ext", "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help": "Set content type of the supplied file", + "help_heading": null, + "usage": "--ext" }, { - "name": "no-lock", + "name": "env-file", "short": null, - "long": "no-lock", + "long": "env-file", "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "frozen", + "name": "no-check", "short": null, - "long": "frozen", + "long": "no-check", "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", + "help_heading": null, + "usage": "--no-check" }, { - "name": "cwd", + "name": "import-map", "short": null, - "long": "cwd", + "long": "import-map", "required": false, - "help": "Specify the directory to run the task in", + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", "help_heading": null, - "usage": "--cwd " + "usage": "--import-map" }, { - "name": "recursive", - "short": "r", - "long": "recursive", + "name": "no-remote", + "short": null, + "long": "no-remote", "required": false, - "help": "Run the task in all projects in the workspace", + "help": "Do not resolve remote modules", "help_heading": null, - "usage": "--recursive" + "usage": "--no-remote" }, { - "name": "members", + "name": "no-npm", "short": null, - "long": "members", + "long": "no-npm", "required": false, - "help": "Run the task in all workspace members, but not in the workspace root", + "help": "Do not resolve npm modules", "help_heading": null, - "usage": "--members" + "usage": "--no-npm" }, { - "name": "filter", - "short": "f", - "long": "filter", + "name": "node-modules-dir", + "short": null, + "long": "node-modules-dir", "required": false, - "help": "Filter members of the workspace by name, implies --recursive flag", + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", "help_heading": null, - "usage": "--filter " + "usage": "--node-modules-dir" }, { - "name": "eval", + "name": "vendor", "short": null, - "long": "eval", + "long": "vendor", "required": false, - "help": "Evaluate the passed value as if it was a task in a configuration file", + "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", "help_heading": null, - "usage": "--eval" + "usage": "--vendor" }, { - "name": "no-prefix", + "name": "node-modules-linker", "short": null, - "long": "no-prefix", + "long": "node-modules-linker", "required": false, - "help": "Disable prefixing the output of concurrently-executing tasks with the task name", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--no-prefix" + "usage": "--node-modules-linker" }, { - "name": "jobs", - "short": "j", - "long": "jobs", + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Maximum number of tasks to run concurrently.\nOverrides the DENO_JOBS environment variable; defaults to the number of\navailable CPUs. Use 1 to force sequential execution. Only affects runs\nwhere multiple tasks can run concurrently (workspace runs, or a task with\nparallelizable dependencies)", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--jobs " + "usage": "-c, --config" }, { - "name": "if-present", + "name": "no-config", "short": null, - "long": "if-present", + "long": "no-config", "required": false, - "help": "Exit with code 0 instead of an error when the task is not found", + "help": "Disable automatic loading of the configuration file", "help_heading": null, - "usage": "--if-present" + "usage": "--no-config" }, { - "name": "env-file", - "short": null, - "long": "env-file", + "name": "reload", + "short": "r", + "long": "reload", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", "help_heading": null, - "usage": "--env-file[=]" + "usage": "-r, --reload" }, { - "name": "node-modules-dir", + "name": "lock", "short": null, - "long": "node-modules-dir", + "long": "lock", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" + "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", + "help_heading": null, + "usage": "--lock" }, { - "name": "node-modules-linker", + "name": "no-lock", "short": null, - "long": "node-modules-linker", + "long": "no-lock", "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Disable auto discovery of the lock file", + "help_heading": null, + "usage": "--no-lock" }, { - "name": "tunnel", - "short": "t", - "long": "tunnel", + "name": "frozen-lockfile", + "short": null, + "long": "frozen-lockfile", "required": false, - "help": "Execute tasks with a tunnel to Deno Deploy.\n\n Create a secure connection between your local machine and Deno Deploy,\n providing access to centralised environment variables, logging,\n and serving from your local environment to the public internet", + "help": "Error out if lockfile is out of date", "help_heading": null, - "usage": "--tunnel[=]" + "usage": "--frozen-lockfile" }, { - "name": "unstable", + "name": "cert", "short": null, - "long": "unstable", + "long": "cert", "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno task\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[TASK]\u001b[0m" - }, - { - "name": "test", - "about": "Run tests using Deno's built-in test runner.\n\nEvaluate the given modules, run all tests declared with \u001b[1mDeno.\u001b[33m\u001b[22mtest()\u001b[39m and report results to standard output:\n \u001b[38;5;245mdeno test src/fetch_test.ts src/signal_test.ts\u001b[39m\n\nDirectory arguments are expanded to all contained files matching the glob \u001b[36m{*_,*.,}test.{js,mjs,ts,mts,jsx,tsx}\u001b[39m\nor \u001b[36m**/__tests__/**\u001b[39m:\n \u001b[38;5;245mdeno test src/\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/test\u001b[39m", - "args": [ + "help": "Load certificate authority from PEM encoded file", + "help_heading": null, + "usage": "--cert" + }, { - "name": "unstable-bundle", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "unstable-bundle", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" + "help": "DANGER: Disables verification of TLS certificates", + "help_heading": null, + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "unstable-cron", + "name": "min-dep-age", "short": null, - "long": "unstable-cron", + "long": "min-dep-age", "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help_heading": null, + "usage": "--min-dep-age" }, { - "name": "unstable-detect-cjs", + "name": "inspect", "short": null, - "long": "unstable-detect-cjs", + "long": "inspect", "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", + "help_heading": null, + "usage": "--inspect" }, { - "name": "unstable-kv", + "name": "inspect-brk", "short": null, - "long": "unstable-kv", + "long": "inspect-brk", "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", + "help_heading": null, + "usage": "--inspect-brk" }, { - "name": "unstable-lazy-dynamic-imports", + "name": "inspect-wait", "short": null, - "long": "unstable-lazy-dynamic-imports", + "long": "inspect-wait", "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", + "help_heading": null, + "usage": "--inspect-wait" }, { - "name": "unstable-lockfile-v5", + "name": "inspect-publish-uid", "short": null, - "long": "unstable-lockfile-v5", + "long": "inspect-publish-uid", "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" + "help": null, + "help_heading": null, + "usage": "--inspect-publish-uid" + }, + { + "name": "cached-only", + "short": null, + "long": "cached-only", + "required": false, + "help": "Require that remote dependencies are already cached", + "help_heading": null, + "usage": "--cached-only" + }, + { + "name": "location", + "short": null, + "long": "location", + "required": false, + "help": "Value of globalThis.location used by some web APIs", + "help_heading": null, + "usage": "--location" + }, + { + "name": "v8-flags", + "short": null, + "long": "v8-flags", + "required": false, + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", + "help_heading": null, + "usage": "--v8-flags" + }, + { + "name": "seed", + "short": null, + "long": "seed", + "required": false, + "help": "Set the random number generator seed", + "help_heading": null, + "usage": "--seed" + }, + { + "name": "preload", + "short": null, + "long": "preload", + "required": false, + "help": "A list of files that will be executed before the main module", + "help_heading": null, + "usage": "--preload" + }, + { + "name": "require", + "short": null, + "long": "require", + "required": false, + "help": "A list of CommonJS modules that will be executed before the main module", + "help_heading": null, + "usage": "--require" + }, + { + "name": "node-conditions", + "short": null, + "long": "conditions", + "required": false, + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" + }, + { + "name": "allow-scripts", + "short": null, + "long": "allow-scripts", + "required": false, + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" + } + ], + "subcommands": [] + }, + { + "name": "pack", + "about": "Create a tarball of the package", + "usage": "Usage: pack", + "args": [ + { + "name": "files", + "short": null, + "long": null, + "required": false, + "help": "List of file patterns to include", + "help_heading": null, + "usage": "" + }, + { + "name": "output", + "short": "o", + "long": "output", + "required": false, + "help": "Output file path (defaults to -.tgz)", + "help_heading": null, + "usage": "-o, --output" + }, + { + "name": "dry-run", + "short": null, + "long": "dry-run", + "required": false, + "help": "Show what would be packed without creating the tarball", + "help_heading": null, + "usage": "--dry-run" + }, + { + "name": "allow-slow-types", + "short": null, + "long": "allow-slow-types", + "required": false, + "help": "Skip fast-check type extraction; .d.ts files are omitted from the output", + "help_heading": null, + "usage": "--allow-slow-types" + }, + { + "name": "allow-dirty", + "short": null, + "long": "allow-dirty", + "required": false, + "help": "Allow packing if the repository has uncommitted changes", + "help_heading": null, + "usage": "--allow-dirty" + }, + { + "name": "set-version", + "short": null, + "long": "set-version", + "required": false, + "help": "Override the version in the tarball", + "help_heading": null, + "usage": "--set-version" }, { - "name": "unstable-net", + "name": "no-source-maps", "short": null, - "long": "unstable-net", + "long": "no-source-maps", "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" + "help": "Don't include source maps in the output", + "help_heading": null, + "usage": "--no-source-maps" }, { - "name": "unstable-no-legacy-abort", + "name": "ignore", "short": null, - "long": "unstable-no-legacy-abort", + "long": "ignore", + "required": false, + "help": "Ignore files matching these patterns", + "help_heading": null, + "usage": "--ignore" + }, + { + "name": "config", + "short": "c", + "long": "config", "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", + "help_heading": null, + "usage": "-c, --config" }, { - "name": "unstable-npm-lazy-caching", + "name": "no-config", "short": null, - "long": "unstable-npm-lazy-caching", + "long": "no-config", "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" + "help": "Disable automatic loading of the configuration file", + "help_heading": null, + "usage": "--no-config" }, { - "name": "unstable-raw-imports", + "name": "env-file", + "short": null, + "long": "env-file", + "required": false, + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" + } + ], + "subcommands": [] + }, + { + "name": "x", + "about": "Execute a binary from npm or jsr, like npx", + "usage": "Usage: x", + "args": [ + { + "name": "script_arg", "short": null, - "long": "unstable-raw-imports", + "long": null, + "required": false, + "help": "Script arg", + "help_heading": null, + "usage": "" + }, + { + "name": "yes", + "short": "y", + "long": "yes", + "required": false, + "help": "Assume confirmation for all prompts", + "help_heading": null, + "usage": "-y, --yes" + }, + { + "name": "package", + "short": "p", + "long": "package", "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" + "help": "Package to install (use when the binary name differs from the package name)", + "help_heading": null, + "usage": "-p, --package" }, { - "name": "unstable-sloppy-imports", + "name": "ignore-scripts", "short": null, - "long": "unstable-sloppy-imports", + "long": "ignore-scripts", "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" + "help": "Do not run npm lifecycle scripts for the given packages", + "help_heading": null, + "usage": "--ignore-scripts" }, { - "name": "unstable-tsgo", + "name": "install-alias", "short": null, - "long": "unstable-tsgo", + "long": "install-alias", "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" + "help": "Creates a dx alias so you can run dx instead of deno x ", + "help_heading": null, + "usage": "--install-alias" }, { - "name": "unstable-unsafe-proto", + "name": "check", "short": null, - "long": "unstable-unsafe-proto", + "long": "check", "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" + "help": "Enable type-checking. This subcommand does not type-check by default; pass --check=all to also type-check remote modules. Alternatively, use the 'deno check' subcommand.", + "help_heading": null, + "usage": "--check" }, { - "name": "unstable-webgpu", + "name": "env-file", "short": null, - "long": "unstable-webgpu", + "long": "env-file", "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" + "help": "Load environment variables from local file\n Only the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.", + "help_heading": null, + "usage": "--env-file" }, { - "name": "unstable-worker-options", + "name": "allow-scripts", "short": null, - "long": "unstable-worker-options", + "long": "allow-scripts", "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" + "help": "Allow running npm lifecycle scripts for the given packages\n Note: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)", + "help_heading": null, + "usage": "--allow-scripts" }, { "name": "no-check", @@ -8847,17 +8660,17 @@ "long": "no-check", "required": false, "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" + "help_heading": null, + "usage": "--no-check" }, { "name": "import-map", "short": null, "long": "import-map", "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " + "help": "Load import map file from local file or remote URL\n Docs: https://docs.deno.com/runtime/manual/basics/import_maps", + "help_heading": null, + "usage": "--import-map" }, { "name": "no-remote", @@ -8865,7 +8678,7 @@ "long": "no-remote", "required": false, "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-remote" }, { @@ -8874,7 +8687,7 @@ "long": "no-npm", "required": false, "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-npm" }, { @@ -8882,18 +8695,9 @@ "short": null, "long": "node-modules-dir", "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" + "help": "Selects the node_modules directory mode for npm packages (not a path). One of: auto (create a local node_modules directory and install npm packages into it), manual (use the existing local node_modules directory, do not modify it), none (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to auto when the flag is passed without a value.", + "help_heading": null, + "usage": "--node-modules-dir" }, { "name": "vendor", @@ -8901,26 +8705,26 @@ "long": "vendor", "required": false, "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" + "help_heading": null, + "usage": "--vendor" }, { - "name": "conditions", + "name": "node-modules-linker", "short": null, - "long": "conditions", + "long": "node-modules-linker", "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help": "Sets the linker mode for npm packages (isolated or hoisted)", "help_heading": null, - "usage": "--conditions " + "usage": "--node-modules-linker" }, { "name": "config", "short": "c", "long": "config", "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", + "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n Typically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config", "help_heading": null, - "usage": "--config " + "usage": "-c, --config" }, { "name": "no-config", @@ -8936,9 +8740,9 @@ "short": "r", "long": "reload", "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" + "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; npm: reloads all npm modules; npm:chalk reloads a single npm module; jsr:@std/http/file-server,jsr:@std/assert/assert-equals reloads specific modules.", + "help_heading": null, + "usage": "-r, --reload" }, { "name": "lock", @@ -8946,8 +8750,8 @@ "long": "lock", "required": false, "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" + "help_heading": null, + "usage": "--lock" }, { "name": "no-lock", @@ -8955,17 +8759,17 @@ "long": "no-lock", "required": false, "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--no-lock" }, { - "name": "frozen", + "name": "frozen-lockfile", "short": null, - "long": "frozen", + "long": "frozen-lockfile", "required": false, "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" + "help_heading": null, + "usage": "--frozen-lockfile" }, { "name": "cert", @@ -8974,52 +8778,25 @@ "required": false, "help": "Load certificate authority from PEM encoded file", "help_heading": null, - "usage": "--cert " + "usage": "--cert" }, { - "name": "minimum-dependency-age", + "name": "unsafely-ignore-certificate-errors", "short": null, - "long": "minimum-dependency-age", + "long": "unsafely-ignore-certificate-errors", "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", + "help": "DANGER: Disables verification of TLS certificates", "help_heading": null, - "usage": "--minimum-dependency-age " - }, - { - "name": "inspect", - "short": null, - "long": "inspect", - "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" - }, - { - "name": "inspect-brk", - "short": null, - "long": "inspect-brk", - "required": false, - "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" - }, - { - "name": "inspect-wait", - "short": null, - "long": "inspect-wait", - "required": false, - "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" + "usage": "--unsafely-ignore-certificate-errors" }, { - "name": "allow-scripts", + "name": "min-dep-age", "short": null, - "long": "allow-scripts", + "long": "min-dep-age", "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", + "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", "help_heading": null, - "usage": "--allow-scripts[=...]" + "usage": "--min-dep-age" }, { "name": "cached-only", @@ -9027,7 +8804,7 @@ "long": "cached-only", "required": false, "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", + "help_heading": null, "usage": "--cached-only" }, { @@ -9035,18 +8812,18 @@ "short": null, "long": "location", "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", + "help": "Value of globalThis.location used by some web APIs", "help_heading": null, - "usage": "--location " + "usage": "--location" }, { "name": "v8-flags", "short": null, "long": "v8-flags", "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", + "help": "To see a list of all available flags use --v8-flags=--help\n Flags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable", "help_heading": null, - "usage": "--v8-flags[=...]" + "usage": "--v8-flags" }, { "name": "seed", @@ -9055,7 +8832,7 @@ "required": false, "help": "Set the random number generator seed", "help_heading": null, - "usage": "--seed " + "usage": "--seed" }, { "name": "preload", @@ -9064,7 +8841,7 @@ "required": false, "help": "A list of files that will be executed before the main module", "help_heading": null, - "usage": "--preload " + "usage": "--preload" }, { "name": "require", @@ -9073,1928 +8850,55 @@ "required": false, "help": "A list of CommonJS modules that will be executed before the main module", "help_heading": null, - "usage": "--require " + "usage": "--require" }, { - "name": "check", + "name": "node-conditions", "short": null, - "long": "check", + "long": "conditions", "required": false, - "help": "Set type-checking behavior. This subcommand type-checks local modules by default, so passing \u001b[38;5;245m--check\u001b[39m is redundant; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" + "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", + "help_heading": null, + "usage": "--conditions" }, { - "name": "ignore", + "name": "inspect", "short": null, - "long": "ignore", + "long": "inspect", "required": false, - "help": "Ignore files", + "help": "Activate inspector on host:port [default: 127.0.0.1:9229]. Host and port are optional. Using port 0 will assign a random free port.", "help_heading": null, - "usage": "--ignore=..." + "usage": "--inspect" }, { - "name": "no-run", + "name": "inspect-brk", "short": null, - "long": "no-run", + "long": "inspect-brk", "required": false, - "help": "Cache test modules, but don't run tests", - "help_heading": "Testing options", - "usage": "--no-run" + "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", + "help_heading": null, + "usage": "--inspect-brk" }, { - "name": "trace-leaks", - "short": null, - "long": "trace-leaks", - "required": false, - "help": "Enable tracing of leaks. Useful when debugging leaking ops in test, but impacts test execution time", - "help_heading": "Testing options", - "usage": "--trace-leaks" - }, - { - "name": "sanitize-ops", - "short": null, - "long": "sanitize-ops", - "required": false, - "help": "Enable the ops sanitizer, which ensures that all async ops started in a test are completed before the test ends", - "help_heading": "Testing options", - "usage": "--sanitize-ops" - }, - { - "name": "sanitize-resources", - "short": null, - "long": "sanitize-resources", - "required": false, - "help": "Enable the resources sanitizer, which ensures that all resources opened in a test are closed before the test ends", - "help_heading": "Testing options", - "usage": "--sanitize-resources" - }, - { - "name": "doc", - "short": null, - "long": "doc", - "required": false, - "help": "Evaluate code blocks in JSDoc and Markdown", - "help_heading": "Testing options", - "usage": "--doc" - }, - { - "name": "fail-fast", - "short": null, - "long": "fail-fast", - "required": false, - "help": "Stop after N errors. Defaults to stopping after first failure", - "help_heading": "Testing options", - "usage": "--fail-fast[=]" - }, - { - "name": "permit-no-files", - "short": null, - "long": "permit-no-files", - "required": false, - "help": "Don't return an error code if no files were found", - "help_heading": "Testing options", - "usage": "--permit-no-files" - }, - { - "name": "filter", - "short": null, - "long": "filter", - "required": false, - "help": "Run tests with this string or regexp pattern in the test name", - "help_heading": "Testing options", - "usage": "--filter " - }, - { - "name": "shuffle", - "short": null, - "long": "shuffle", - "required": false, - "help": "Shuffle the order in which the tests are run", - "help_heading": "Testing options", - "usage": "--shuffle[=]" - }, - { - "name": "retry", - "short": null, - "long": "retry", - "required": false, - "help": "Re-run failing tests up to NUMBER times. A test passes if any attempt passes. Tests that set their own `retry` option take precedence", - "help_heading": "Testing options", - "usage": "--retry " - }, - { - "name": "repeats", - "short": null, - "long": "repeats", - "required": false, - "help": "Run each test NUMBER additional times. Every repetition must pass. Tests that set their own `repeats` option take precedence", - "help_heading": "Testing options", - "usage": "--repeats " - }, - { - "name": "shard", - "short": null, - "long": "shard", - "required": false, - "help": "Run only the test files for shard INDEX of COUNT, e.g. --shard=2/3.\n \u001b[38;5;245mThe discovered test files are sorted and split into COUNT consecutive groups; INDEX is 1-based. Useful for splitting a run across machines.\u001b[39m", - "help_heading": "Testing options", - "usage": "--shard=" - }, - { - "name": "coverage", - "short": null, - "long": "coverage", - "required": false, - "help": "Collect coverage profile data into DIR. If DIR is not specified, it uses 'coverage/'.\n \u001b[38;5;245mThis option can also be set via the DENO_COVERAGE_DIR environment variable.\u001b[39m", - "help_heading": "Testing options", - "usage": "--coverage[=]" - }, - { - "name": "coverage-raw-data-only", - "short": null, - "long": "coverage-raw-data-only", - "required": false, - "help": "Only collect raw coverage data, without generating a report", - "help_heading": "Testing options", - "usage": "--coverage-raw-data-only" - }, - { - "name": "coverage-threshold", - "short": null, - "long": "coverage-threshold", - "required": false, - "help": "Fail if coverage is below this percentage (0-100). Requires --coverage", - "help_heading": "Testing options", - "usage": "--coverage-threshold=" - }, - { - "name": "clean", - "short": null, - "long": "clean", - "required": false, - "help": "Empty the temporary coverage profile data directory before running tests.\n \u001b[38;5;245mNote: running multiple `deno test --clean` calls in series or parallel for the same coverage directory may cause race conditions.\u001b[39m", - "help_heading": "Testing options", - "usage": "--clean" - }, - { - "name": "parallel", - "short": null, - "long": "parallel", - "required": false, - "help": "Run test modules in parallel. Parallelism defaults to the number of available CPUs or the value of the DENO_JOBS environment variable", - "help_heading": null, - "usage": "--parallel" - }, - { - "name": "files", - "short": null, - "long": null, - "required": false, - "help": "List of file names to run", - "help_heading": null, - "usage": "[files]..." - }, - { - "name": "changed", - "short": null, - "long": "changed", - "required": false, - "help": "Run only test modules affected by files changed in git.\n \u001b[38;5;245mWith no value, uses uncommitted changes (staged, unstaged and untracked).\n Pass a git ref to compare against, e.g. --changed=main or --changed=HEAD~1.\u001b[39m", - "help_heading": "Testing options", - "usage": "--changed[=]" - }, - { - "name": "related", - "short": null, - "long": "related", - "required": false, - "help": "Run only test modules that depend on the given source files", - "help_heading": "Testing options", - "usage": "--related=" - }, - { - "name": "watch", - "short": null, - "long": "watch", - "required": false, - "help": "Watch for file changes and restart process automatically.\n \u001b[38;5;245mLocal files from entry point module graph are watched by default.\n Additional paths might be watched by passing them as arguments to this flag.\u001b[39m", - "help_heading": "File watching options", - "usage": "--watch[=...]" - }, - { - "name": "watch-exclude", - "short": null, - "long": "watch-exclude", - "required": false, - "help": "Exclude provided files/patterns from watch mode", - "help_heading": "File watching options", - "usage": "--watch-exclude[=...]" - }, - { - "name": "no-clear-screen", - "short": null, - "long": "no-clear-screen", - "required": false, - "help": "Do not clear terminal screen when under watch mode", - "help_heading": "File watching options", - "usage": "--no-clear-screen" - }, - { - "name": "script_arg", - "short": null, - "long": null, - "required": false, - "help": "Script arg", - "help_heading": null, - "usage": "[SCRIPT_ARG]..." - }, - { - "name": "junit-path", - "short": null, - "long": "junit-path", - "required": false, - "help": "Write a JUnit XML test report to PATH. Use '-' to write to stdout which is the default when PATH is not provided", - "help_heading": "Testing options", - "usage": "--junit-path " - }, - { - "name": "reporter", - "short": null, - "long": "reporter", - "required": false, - "help": "Select reporter to use. Default to 'pretty'", - "help_heading": "Testing options", - "usage": "--reporter " - }, - { - "name": "hide-stacktraces", - "short": null, - "long": "hide-stacktraces", - "required": false, - "help": "Hide stack traces for errors in failure test results.", - "help_heading": null, - "usage": "--hide-stacktraces" - }, - { - "name": "update-snapshots", - "short": "u", - "long": "update-snapshots", - "required": false, - "help": "Update snapshots created with `t.assertSnapshot()` instead of failing when they do not match", - "help_heading": "Testing options", - "usage": "--update-snapshots" - }, - { - "name": "env-file", - "short": null, - "long": "env-file", - "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", - "help_heading": null, - "usage": "--env-file[=]" - }, - { - "name": "ext", - "short": null, - "long": "ext", - "required": false, - "help": "Set content type of the supplied file", - "help_heading": null, - "usage": "--ext " - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno test\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[files]...\u001b[0m \u001b[32m[--\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m\u001b[32m]\u001b[0m" - }, - { - "name": "transpile", - "about": "Transpile TypeScript/JSX/TSX files to JavaScript.\n\n \u001b[38;5;245mdeno transpile main.ts\u001b[39m\n\nOutput to a specific file:\n \u001b[38;5;245mdeno transpile main.ts -o main.js\u001b[39m\n\nOutput to a directory:\n \u001b[38;5;245mdeno transpile src/*.ts --outdir dist\u001b[39m\n\nWith source maps:\n \u001b[38;5;245mdeno transpile main.ts --source-map separate\u001b[39m\n\nGenerate declaration files:\n \u001b[38;5;245mdeno transpile main.ts -o out.js --declaration\u001b[39m\n\nNote: --declaration always writes .d.ts files to disk (next to the source or in --outdir).", - "args": [ - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", - "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", - "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, - { - "name": "unstable-tsgo", - "short": null, - "long": "unstable-tsgo", - "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" - }, - { - "name": "import-map", - "short": null, - "long": "import-map", - "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " - }, - { - "name": "no-remote", - "short": null, - "long": "no-remote", - "required": false, - "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", - "usage": "--no-remote" - }, - { - "name": "no-npm", - "short": null, - "long": "no-npm", - "required": false, - "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", - "usage": "--no-npm" - }, - { - "name": "node-modules-dir", - "short": null, - "long": "node-modules-dir", - "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" - }, - { - "name": "vendor", - "short": null, - "long": "vendor", - "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" - }, - { - "name": "conditions", - "short": null, - "long": "conditions", - "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", - "help_heading": null, - "usage": "--conditions " - }, - { - "name": "config", - "short": "c", - "long": "config", - "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", - "help_heading": null, - "usage": "--config " - }, - { - "name": "no-config", - "short": null, - "long": "no-config", - "required": false, - "help": "Disable automatic loading of the configuration file", - "help_heading": null, - "usage": "--no-config" - }, - { - "name": "reload", - "short": "r", - "long": "reload", - "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" - }, - { - "name": "lock", - "short": null, - "long": "lock", - "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" - }, - { - "name": "no-lock", - "short": null, - "long": "no-lock", - "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" - }, - { - "name": "frozen", - "short": null, - "long": "frozen", - "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" - }, - { - "name": "cert", - "short": null, - "long": "cert", - "required": false, - "help": "Load certificate authority from PEM encoded file", - "help_heading": null, - "usage": "--cert " - }, - { - "name": "minimum-dependency-age", - "short": null, - "long": "minimum-dependency-age", - "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", - "help_heading": null, - "usage": "--minimum-dependency-age " - }, - { - "name": "file", - "short": null, - "long": null, - "required": false, - "help": null, - "help_heading": null, - "usage": "[file]..." - }, - { - "name": "output", - "short": "o", - "long": "output", - "required": false, - "help": "Output file path (for single file transpilation)", - "help_heading": null, - "usage": "--output " - }, - { - "name": "outdir", - "short": null, - "long": "outdir", - "required": false, - "help": "Output directory for transpiled files", - "help_heading": null, - "usage": "--outdir " - }, - { - "name": "source-map", - "short": null, - "long": "source-map", - "required": false, - "help": "Source map mode: none, inline, or separate", - "help_heading": null, - "usage": "--source-map " - }, - { - "name": "declaration", - "short": null, - "long": "declaration", - "required": false, - "help": "Generate .d.ts declaration files (requires type-checking via tsc)", - "help_heading": null, - "usage": "--declaration" - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno transpile\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[file]...\u001b[0m" - }, - { - "name": "types", - "about": "Print runtime TypeScript declarations.\n\n \u001b[38;5;245mdeno types > lib.deno.d.ts\u001b[39m\n\nThe declaration file could be saved and used for typing information.", - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno types\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "update", - "about": "Update outdated dependencies.\n\nUpdate dependencies to the latest semver compatible versions:\n \u001b[38;5;245mdeno update\u001b[39m\nUpdate dependencies to the latest versions, ignoring semver requirements:\n \u001b[38;5;245mdeno update --latest\u001b[39m\nUpdate dependencies within their existing version ranges, without editing deno.json / package.json (like \u001b[38;5;245mnpm update\u001b[39m):\n \u001b[38;5;245mdeno update --lockfile-only\u001b[39m\n\n\u001b[3mThis command is an alias of \u001b[38;5;245mdeno outdated --update\u001b[39m\u001b[23m\n\nFilters can be used to select which packages to act on. Filters can include wildcards (*) to match multiple packages.\n \u001b[38;5;245mdeno update --latest \"@std/*\"\u001b[39m\n \u001b[38;5;245mdeno update --latest \"react*\"\u001b[39m\nNote that filters act on their aliases configured in deno.json / package.json, not the actual package names:\n Given \"foobar\": \"npm:react@17.0.0\" in deno.json or package.json, the filter \"foobar\" would update npm:react to\n the latest version.\n \u001b[38;5;245mdeno update --latest foobar\u001b[39m\nFilters can be combined, and negative filters can be used to exclude results:\n \u001b[38;5;245mdeno update --latest \"@std/*\" \"!@std/fmt*\"\u001b[39m\n\nSpecific version requirements to update to can be specified:\n \u001b[38;5;245mdeno update @std/fmt@^1.0.2\u001b[39m\n", - "args": [ - { - "name": "filters", - "short": null, - "long": null, - "required": false, - "help": "Filters selecting which packages to act on. Can include wildcards (*) to match multiple packages. If a version requirement is specified, the matching packages will be updated to the given requirement.", - "help_heading": null, - "usage": "[filters]..." - }, - { - "name": "latest", - "short": null, - "long": "latest", - "required": false, - "help": "Consider the latest version, regardless of semver constraints", - "help_heading": null, - "usage": "--latest" - }, - { - "name": "compatible", - "short": null, - "long": "compatible", - "required": false, - "help": "Only consider versions that satisfy semver requirements", - "help_heading": null, - "usage": "--compatible" - }, - { - "name": "recursive", - "short": "r", - "long": "recursive", - "required": false, - "help": "Include all workspace members", - "help_heading": null, - "usage": "--recursive" - }, - { - "name": "minimum-dependency-age", - "short": null, - "long": "minimum-dependency-age", - "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", - "help_heading": null, - "usage": "--minimum-dependency-age " - }, - { - "name": "lockfile-only", - "short": null, - "long": "lockfile-only", - "required": false, - "help": "Install only updating the lockfile", - "help_heading": null, - "usage": "--lockfile-only" - }, - { - "name": "interactive", - "short": "i", - "long": "interactive", - "required": false, - "help": "Interactively select which dependencies to update", - "help_heading": null, - "usage": "--interactive" - }, - { - "name": "lock", - "short": null, - "long": "lock", - "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" - }, - { - "name": "no-lock", - "short": null, - "long": "no-lock", - "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" - }, - { - "name": "frozen", - "short": null, - "long": "frozen", - "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" - }, - { - "name": "env-file", - "short": null, - "long": "env-file", - "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", - "help_heading": null, - "usage": "--env-file[=]" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno update\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[filters]...\u001b[0m" - }, - { - "name": "upgrade", - "about": "Upgrade deno executable to the given version.\n\n\u001b[32mLatest\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m\n\n\u001b[32mSpecific version\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245m1.45.0\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245m1.46.0-rc.1\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245m9bc2dd29ad6ba334fd57a20114e367d3c04763d4\u001b[39m\n\n\u001b[32mChannel\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245mstable\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245malpha\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245mbeta\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245mrc\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245mcanary\u001b[39m\n\n\u001b[32mFrom a pull request\u001b[39m \u001b[38;5;245m(requires gh CLI)\u001b[39m\n \u001b[1mdeno upgrade\u001b[22m \u001b[38;5;245mpr 12345\u001b[39m\n\nThe version is resolved via \u001b[38;5;245mhttps://dl.deno.land\u001b[39m and then downloaded\nfrom either there or GitHub releases, replacing the current executable.\n\nIf you want to not replace the current Deno executable but instead download an\nupdate to a different location, use the \u001b[36m--output\u001b[39m flag:\n \u001b[38;5;245mdeno upgrade --output $HOME/my_deno\u001b[39m\n\n\u001b[33mRead more:\u001b[39m \u001b[36mhttps://docs.deno.com/go/upgrade\u001b[39m", - "args": [ - { - "name": "output", - "short": null, - "long": "output", - "required": false, - "help": "The path to output the updated version to", - "help_heading": "Upgrade options", - "usage": "--output " - }, - { - "name": "dry-run", - "short": null, - "long": "dry-run", - "required": false, - "help": "Perform all checks without replacing old exe", - "help_heading": "Upgrade options", - "usage": "--dry-run" - }, - { - "name": "force", - "short": "f", - "long": "force", - "required": false, - "help": "Replace current exe even if not out-of-date", - "help_heading": "Upgrade options", - "usage": "--force" - }, - { - "name": "version-or-hash-or-channel", - "short": null, - "long": null, - "required": false, - "help": "Version \u001b[38;5;245m(v1.46.0)\u001b[39m, channel \u001b[38;5;245m(alpha, beta, rc, canary)\u001b[39m, commit hash \u001b[38;5;245m(9bc2dd29ad6ba334fd57a20114e367d3c04763d4)\u001b[39m, or \u001b[38;5;245mpr 12345\u001b[39m to install from a PR", - "help_heading": null, - "usage": "[VERSION]..." - }, - { - "name": "checksum", - "short": null, - "long": "checksum", - "required": false, - "help": "Verify the downloaded archive against the provided SHA256 checksum", - "help_heading": "Upgrade options", - "usage": "--checksum " - }, - { - "name": "no-delta", - "short": null, - "long": "no-delta", - "required": false, - "help": "Disable delta updates and always download the full archive", - "help_heading": "Upgrade options", - "usage": "--no-delta" - }, - { - "name": "cert", - "short": null, - "long": "cert", - "required": false, - "help": "Load certificate authority from PEM encoded file", - "help_heading": null, - "usage": "--cert " - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno upgrade\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[VERSION]...\u001b[0m" - }, - { - "name": "bump-version", - "about": "Update version in the configuration file.\n \u001b[38;5;245mdeno bump-version patch\u001b[39m \u001b[38;5;245m# 1.4.6 -> 1.4.7\u001b[39m\n \u001b[38;5;245mdeno bump-version minor\u001b[39m \u001b[38;5;245m# 1.4.6 -> 1.5.0\u001b[39m\n \u001b[38;5;245mdeno bump-version major\u001b[39m \u001b[38;5;245m# 1.4.6 -> 2.0.0\u001b[39m\n \u001b[38;5;245mdeno bump-version prepatch\u001b[39m \u001b[38;5;245m# 1.4.6 -> 1.4.7-0\u001b[39m\n \u001b[38;5;245mdeno bump-version preminor\u001b[39m \u001b[38;5;245m# 1.4.6 -> 1.5.0-0\u001b[39m\n \u001b[38;5;245mdeno bump-version premajor\u001b[39m \u001b[38;5;245m# 1.4.6 -> 2.0.0-0\u001b[39m\n \u001b[38;5;245mdeno bump-version prerelease\u001b[39m \u001b[38;5;245m# 1.4.7-0 -> 1.4.7-1\u001b[39m\n\nWhen invoked at a workspace root, the same increment is applied to every\nmember package and jsr: references in the root import map are updated.\nWithout an increment, per-package bumps are derived from conventional\ncommit messages between the latest tag and the current branch and a\nrelease note is prepended to \u001b[38;5;245mReleases.md\u001b[39m.", - "args": [ - { - "name": "increment", - "short": null, - "long": null, - "required": false, - "help": "Version increment type", - "help_heading": null, - "usage": "[increment]" - }, - { - "name": "workspace", - "short": "w", - "long": "workspace", - "required": false, - "help": "Bump every package in the workspace (auto-detected at the workspace root)", - "help_heading": null, - "usage": "--workspace" - }, - { - "name": "no-workspace", - "short": null, - "long": "no-workspace", - "required": false, - "help": "Disable workspace mode and only bump the deno.json/package.json in the current directory", - "help_heading": null, - "usage": "--no-workspace" - }, - { - "name": "dry-run", - "short": null, - "long": "dry-run", - "required": false, - "help": "Print the planned changes without writing any files", - "help_heading": null, - "usage": "--dry-run" - }, - { - "name": "start", - "short": null, - "long": "start", - "required": false, - "help": "[conventional-commits mode] Git ref to start from. Default: latest tag (git describe --tags --abbrev=0)", - "help_heading": null, - "usage": "--start " - }, - { - "name": "base", - "short": null, - "long": "base", - "required": false, - "help": "[conventional-commits mode] Git ref to compare against. Default: current branch", - "help_heading": null, - "usage": "--base " - }, - { - "name": "import-map", - "short": null, - "long": "import-map", - "required": false, - "help": "Path to the import map to rewrite jsr: version constraints in. Defaults to the root deno.json (or its importMap target)", - "help_heading": null, - "usage": "--import-map " - }, - { - "name": "release-notes", - "short": null, - "long": "release-notes", - "required": false, - "help": "[conventional-commits mode] Path to the release notes file to prepend. Default: Releases.md", - "help_heading": null, - "usage": "--release-notes " - }, - { - "name": "config", - "short": "c", - "long": "config", - "required": false, - "help": "Explicit path to the manifest file to bump.\n \u001b[38;5;245mMay point to a `deno.json`/`deno.jsonc` or a `package.json`. When\n set, single-file mode is forced (workspace auto-detection is bypassed).\n Useful when both `deno.json` and `package.json` exist in the same\n directory.\u001b[39m", - "help_heading": null, - "usage": "--config " - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno bump-version\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[increment]\u001b[0m" - }, - { - "name": "vendor", - "about": "`deno vendor` was removed in Deno 2.\n\nSee the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations", - "args": [ - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", - "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", - "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, - { - "name": "unstable-tsgo", - "short": null, - "long": "unstable-tsgo", - "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno vendor\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "why", - "about": "Show why a package is installed, displaying the dependency chain from your project's direct dependencies to the specified package.\n \u001b[38;5;245mdeno why express\u001b[39m\n\nShow why a specific version is installed\n \u001b[38;5;245mdeno why express@4.18.2\u001b[39m", - "args": [ - { - "name": "lock", - "short": null, - "long": "lock", - "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" - }, - { - "name": "no-lock", - "short": null, - "long": "no-lock", - "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" - }, - { - "name": "frozen", - "short": null, - "long": "frozen", - "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" - }, - { - "name": "env-file", - "short": null, - "long": "env-file", - "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", - "help_heading": null, - "usage": "--env-file[=]" - }, - { - "name": "package", - "short": null, - "long": null, - "required": true, - "help": "The package name (and optional version) to explain", - "help_heading": null, - "usage": "" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno why\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m\u001b[0m" - }, - { - "name": "x", - "about": "Execute a binary from npm or jsr, like npx", - "args": [ - { - "name": "unstable-bundle", - "short": null, - "long": "unstable-bundle", - "required": false, - "help": "Enable unstable bundle runtime API", - "help_heading": "Unstable options", - "usage": "--unstable-bundle" - }, - { - "name": "unstable-cron", - "short": null, - "long": "unstable-cron", - "required": false, - "help": "Enable unstable `Deno.cron` API", - "help_heading": "Unstable options", - "usage": "--unstable-cron" - }, - { - "name": "unstable-detect-cjs", - "short": null, - "long": "unstable-detect-cjs", - "required": false, - "help": "Treats ambiguous .js, .jsx, .ts, .tsx files as CommonJS modules in more cases", - "help_heading": "Unstable options", - "usage": "--unstable-detect-cjs" - }, - { - "name": "unstable-kv", - "short": null, - "long": "unstable-kv", - "required": false, - "help": "Enable unstable KV APIs", - "help_heading": "Unstable options", - "usage": "--unstable-kv" - }, - { - "name": "unstable-lazy-dynamic-imports", - "short": null, - "long": "unstable-lazy-dynamic-imports", - "required": false, - "help": "Lazily loads statically analyzable dynamic imports when not running with type checking. Warning: This may change the order of semver specifier resolution.", - "help_heading": "Unstable options", - "usage": "--unstable-lazy-dynamic-imports" - }, - { - "name": "unstable-lockfile-v5", - "short": null, - "long": "unstable-lockfile-v5", - "required": false, - "help": "Enable unstable lockfile v5", - "help_heading": "Unstable options", - "usage": "--unstable-lockfile-v5" - }, - { - "name": "unstable-net", - "short": null, - "long": "unstable-net", - "required": false, - "help": "enable unstable net APIs", - "help_heading": "Unstable options", - "usage": "--unstable-net" - }, - { - "name": "unstable-no-legacy-abort", - "short": null, - "long": "unstable-no-legacy-abort", - "required": false, - "help": "Enable abort signal in Deno.serve without legacy behavior. This will not abort the server when the request is handled successfully.", - "help_heading": "Unstable options", - "usage": "--unstable-no-legacy-abort" - }, - { - "name": "unstable-npm-lazy-caching", - "short": null, - "long": "unstable-npm-lazy-caching", - "required": false, - "help": "Enable unstable lazy caching of npm dependencies, downloading them only as needed (disabled: all npm packages in package.json are installed on startup; enabled: only npm packages that are actually referenced in an import are installed", - "help_heading": "Unstable options", - "usage": "--unstable-npm-lazy-caching" - }, - { - "name": "unstable-raw-imports", - "short": null, - "long": "unstable-raw-imports", - "required": false, - "help": "Enable unstable 'bytes' imports.", - "help_heading": "Unstable options", - "usage": "--unstable-raw-imports" - }, - { - "name": "unstable-sloppy-imports", - "short": null, - "long": "unstable-sloppy-imports", - "required": false, - "help": "Enable unstable resolving of specifiers by extension probing, .js to .ts, and directory probing", - "help_heading": "Unstable options", - "usage": "--unstable-sloppy-imports" - }, - { - "name": "unstable-tsgo", - "short": null, - "long": "unstable-tsgo", - "required": false, - "help": "Enable unstable TypeScript Go integration", - "help_heading": "Unstable options", - "usage": "--unstable-tsgo" - }, - { - "name": "unstable-unsafe-proto", - "short": null, - "long": "unstable-unsafe-proto", - "required": false, - "help": "Enable unsafe __proto__ support. This is a security risk.", - "help_heading": "Unstable options", - "usage": "--unstable-unsafe-proto" - }, - { - "name": "unstable-webgpu", - "short": null, - "long": "unstable-webgpu", - "required": false, - "help": "Enable unstable WebGPU APIs", - "help_heading": "Unstable options", - "usage": "--unstable-webgpu" - }, - { - "name": "unstable-worker-options", - "short": null, - "long": "unstable-worker-options", - "required": false, - "help": "Enable unstable Web Worker APIs", - "help_heading": "Unstable options", - "usage": "--unstable-worker-options" - }, - { - "name": "no-check", - "short": null, - "long": "no-check", - "required": false, - "help": "Skip type-checking. If the value of \"remote\" is supplied, diagnostic errors from remote modules will be ignored", - "help_heading": "Type checking options", - "usage": "--no-check[=]" - }, - { - "name": "import-map", - "short": null, - "long": "import-map", - "required": false, - "help": "Load import map file from local file or remote URL\n \u001b[38;5;245mDocs: https://docs.deno.com/runtime/manual/basics/import_maps\u001b[39m", - "help_heading": "Dependency management options", - "usage": "--import-map " - }, - { - "name": "no-remote", - "short": null, - "long": "no-remote", - "required": false, - "help": "Do not resolve remote modules", - "help_heading": "Dependency management options", - "usage": "--no-remote" - }, - { - "name": "no-npm", - "short": null, - "long": "no-npm", - "required": false, - "help": "Do not resolve npm modules", - "help_heading": "Dependency management options", - "usage": "--no-npm" - }, - { - "name": "node-modules-dir", - "short": null, - "long": "node-modules-dir", - "required": false, - "help": "Selects the node_modules directory mode for npm packages (not a path). One of: \u001b[38;5;245mauto\u001b[39m (create a local node_modules directory and install npm packages into it), \u001b[38;5;245mmanual\u001b[39m (use the existing local node_modules directory, do not modify it), \u001b[38;5;245mnone\u001b[39m (do not use a local node_modules directory; resolve npm packages from the global cache). Defaults to \u001b[38;5;245mauto\u001b[39m when the flag is passed without a value.", - "help_heading": "Dependency management options", - "usage": "--node-modules-dir[=]" - }, - { - "name": "node-modules-linker", - "short": null, - "long": "node-modules-linker", - "required": false, - "help": "Sets the linker mode for npm packages (isolated or hoisted)", - "help_heading": "Dependency management options", - "usage": "--node-modules-linker=" - }, - { - "name": "vendor", - "short": null, - "long": "vendor", - "required": false, - "help": "Toggles local vendor folder usage for remote modules and a node_modules folder for npm packages", - "help_heading": "Dependency management options", - "usage": "--vendor[=]" - }, - { - "name": "conditions", - "short": null, - "long": "conditions", - "required": false, - "help": "Use this argument to specify custom conditions for npm package exports. You can also use DENO_CONDITIONS env var.\n\nDocs: https://docs.deno.com/go/conditional-exports", - "help_heading": null, - "usage": "--conditions " - }, - { - "name": "config", - "short": "c", - "long": "config", - "required": false, - "help": "Configure different aspects of deno including TypeScript, linting, and code formatting.\n \u001b[38;5;245mTypically the configuration file will be called `deno.json` or `deno.jsonc` and\n automatically detected; in that case this flag is not necessary.\n Docs: https://docs.deno.com/go/config\u001b[39m", - "help_heading": null, - "usage": "--config " - }, - { - "name": "no-config", - "short": null, - "long": "no-config", - "required": false, - "help": "Disable automatic loading of the configuration file", - "help_heading": null, - "usage": "--no-config" - }, - { - "name": "reload", - "short": "r", - "long": "reload", - "required": false, - "help": "Reload source code cache (recompile TypeScript). With no value, reloads everything. Pass a comma-separated list of specifiers to reload only those modules; \u001b[38;5;245mnpm:\u001b[39m reloads all npm modules; \u001b[38;5;245mnpm:chalk\u001b[39m reloads a single npm module; \u001b[38;5;245mjsr:@std/http/file-server,jsr:@std/assert/assert-equals\u001b[39m reloads specific modules.", - "help_heading": "Dependency management options", - "usage": "--reload[=...]" - }, - { - "name": "lock", - "short": null, - "long": "lock", - "required": false, - "help": "Check the specified lock file. (If value is not provided, defaults to \"./deno.lock\")", - "help_heading": "Dependency management options", - "usage": "--lock []" - }, - { - "name": "no-lock", - "short": null, - "long": "no-lock", - "required": false, - "help": "Disable auto discovery of the lock file", - "help_heading": "Dependency management options", - "usage": "--no-lock" - }, - { - "name": "frozen", - "short": null, - "long": "frozen", - "required": false, - "help": "Error out if lockfile is out of date", - "help_heading": "Dependency management options", - "usage": "--frozen[=]" - }, - { - "name": "cert", - "short": null, - "long": "cert", - "required": false, - "help": "Load certificate authority from PEM encoded file", - "help_heading": null, - "usage": "--cert " - }, - { - "name": "minimum-dependency-age", - "short": null, - "long": "minimum-dependency-age", - "required": false, - "help": "(Unstable) The age in minutes, ISO-8601 duration or RFC3339 absolute timestamp (e.g. '120' for two hours, 'P2D' for two days, '2025-09-16' for cutoff date, '2025-09-16T12:00:00+00:00' for cutoff time, '0' to disable)", - "help_heading": null, - "usage": "--minimum-dependency-age " - }, - { - "name": "inspect", - "short": null, - "long": "inspect", - "required": false, - "help": "Activate inspector on host:port \u001b[38;5;245m[default: 127.0.0.1:9229]\u001b[39m. Host and port are optional. Using port 0 will assign a random free port.", - "help_heading": "Debugging options", - "usage": "--inspect[=]" - }, - { - "name": "inspect-brk", - "short": null, - "long": "inspect-brk", - "required": false, - "help": "Activate inspector on host:port, wait for debugger to connect and break at the start of user script", - "help_heading": "Debugging options", - "usage": "--inspect-brk[=]" - }, - { - "name": "inspect-wait", - "short": null, - "long": "inspect-wait", - "required": false, - "help": "Activate inspector on host:port and wait for debugger to connect before running user code", - "help_heading": "Debugging options", - "usage": "--inspect-wait[=]" - }, - { - "name": "allow-scripts", - "short": null, - "long": "allow-scripts", - "required": false, - "help": "Allow running npm lifecycle scripts for the given packages\n \u001b[38;5;245mNote: Scripts will only be executed when using a node_modules directory (`--node-modules-dir`)\u001b[39m", - "help_heading": null, - "usage": "--allow-scripts[=...]" - }, - { - "name": "cached-only", - "short": null, - "long": "cached-only", - "required": false, - "help": "Require that remote dependencies are already cached", - "help_heading": "Dependency management options", - "usage": "--cached-only" - }, - { - "name": "location", - "short": null, - "long": "location", - "required": false, - "help": "Value of \u001b[38;5;245mglobalThis.location\u001b[39m used by some web APIs", - "help_heading": null, - "usage": "--location " - }, - { - "name": "v8-flags", - "short": null, - "long": "v8-flags", - "required": false, - "help": "To see a list of all available flags use --v8-flags=--help\n \u001b[38;5;245mFlags can also be set via the DENO_V8_FLAGS environment variable.\n Any flags set with this flag are appended after the DENO_V8_FLAGS environment variable\u001b[39m", - "help_heading": null, - "usage": "--v8-flags[=...]" - }, - { - "name": "seed", - "short": null, - "long": "seed", - "required": false, - "help": "Set the random number generator seed", - "help_heading": null, - "usage": "--seed " - }, - { - "name": "preload", - "short": null, - "long": "preload", - "required": false, - "help": "A list of files that will be executed before the main module", - "help_heading": null, - "usage": "--preload " - }, - { - "name": "require", - "short": null, - "long": "require", - "required": false, - "help": "A list of CommonJS modules that will be executed before the main module", - "help_heading": null, - "usage": "--require " - }, - { - "name": "script_arg", - "short": null, - "long": null, - "required": false, - "help": "Script arg", - "help_heading": null, - "usage": "[SCRIPT_ARG]..." - }, - { - "name": "yes", - "short": "y", - "long": "yes", - "required": false, - "help": "Assume confirmation for all prompts", - "help_heading": null, - "usage": "--yes" - }, - { - "name": "ignore-scripts", - "short": null, - "long": "ignore-scripts", - "required": false, - "help": "Do not run npm lifecycle scripts for the given packages", - "help_heading": null, - "usage": "--ignore-scripts[=...]" - }, - { - "name": "package", - "short": "p", - "long": "package", - "required": false, - "help": "Package to install (use when the binary name differs from the package name)", - "help_heading": null, - "usage": "--package " - }, - { - "name": "check", - "short": null, - "long": "check", - "required": false, - "help": "Enable type-checking. This subcommand does not type-check by default; pass \u001b[38;5;245m--check=all\u001b[39m to also type-check remote modules. Alternatively, use the \u001b[38;5;245m'deno check'\u001b[39m subcommand.", - "help_heading": "Type checking options", - "usage": "--check[=]" - }, - { - "name": "env-file", + "name": "inspect-wait", "short": null, - "long": "env-file", + "long": "inspect-wait", "required": false, - "help": "Load environment variables from local file\n \u001b[38;5;245mOnly the first environment variable with a given key is used.\n Existing process environment variables are not overwritten, so if variables with the same names already exist in the environment, their values will be preserved.\n Where multiple declarations for the same environment variable exist in your .env file, the first one encountered is applied. This is determined by the order of the files you pass as arguments.\u001b[39m", + "help": "Activate inspector on host:port and wait for debugger to connect before running user code", "help_heading": null, - "usage": "--env-file[=]" + "usage": "--inspect-wait" }, { - "name": "install-alias", + "name": "inspect-publish-uid", "short": null, - "long": "install-alias", + "long": "inspect-publish-uid", "required": false, - "help": "Creates a dx alias so you can run dx instead of deno x ", + "help": null, "help_heading": null, - "usage": "--install-alias []" - }, - { - "name": "unstable", - "short": null, - "long": "unstable", - "required": false, - "help": "The `--unstable` flag has been deprecated. Use granular `--unstable-*` flags instead", - "help_heading": "Unstable options", - "usage": "--unstable" - } - ], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno x\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[SCRIPT_ARG]...\u001b[0m" - }, - { - "name": "help", - "about": null, - "args": [], - "subcommands": [ - { - "name": "run", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help run\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "watch", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help watch\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "serve", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help serve\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "add", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help add\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "audit", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help audit\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "remove", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help remove\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "bench", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help bench\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "bundle", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help bundle\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "cache", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help cache\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "check", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help check\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "clean", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help clean\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "compile", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help compile\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "create", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help create\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "desktop", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help desktop\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "completions", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help completions\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "coverage", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help coverage\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "doc", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help doc\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "deploy", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help deploy\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "sandbox", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help sandbox\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "eval", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help eval\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "fmt", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help fmt\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "init", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help init\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "info", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help info\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "list", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help list\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "install", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help install\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "ci", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help ci\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "json_reference", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help json_reference\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "jupyter", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help jupyter\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "approve-scripts", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help approve-scripts\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "uninstall", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help uninstall\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "outdated", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help outdated\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "link", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help link\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "unlink", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help unlink\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "lsp", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help lsp\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "lint", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help lint\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "publish", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help publish\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "pack", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help pack\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "repl", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help repl\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "task", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help task\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "test", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help test\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "transpile", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help transpile\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "types", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help types\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "update", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help update\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "upgrade", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help upgrade\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "bump-version", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help bump-version\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "vendor", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help vendor\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "why", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help why\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" - }, - { - "name": "x", - "about": null, - "args": [], - "subcommands": [], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help x\u001b[0m \u001b[32m[OPTIONS]\u001b[0m" + "usage": "--inspect-publish-uid" } ], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno help\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[COMMAND]\u001b[0m" - } - ], - "usage": "\u001b[37mUsage:\u001b[0m \u001b[32mdeno\u001b[0m \u001b[32m[OPTIONS]\u001b[0m \u001b[32m[COMMAND]\u001b[0m", - "env": [ - { - "name": "DENO_AUTH_TOKENS", - "description": "A semi-colon separated list of bearer tokens and hostnames\nto use when fetching remote modules from private repositories", - "example": "(e.g. \"abcde12345@deno.land;54321edcba@github.com\")" - }, - { - "name": "DENO_CACHE_DB_MODE", - "description": "Controls whether Web cache should use disk based or in-memory database.", - "example": null - }, - { - "name": "DENO_CERT", - "description": "Load certificate authorities from PEM encoded file.", - "example": null - }, - { - "name": "DENO_COMPAT", - "description": "Enable Node.js compatibility mode - extensionless imports, built-in\nNode.js modules, CommonJS detection and more.", - "example": null - }, - { - "name": "DENO_CONDITIONS", - "description": "Comma-separated list of custom conditions to resolve npm package\nexports and imports with. Equivalent to using the --conditions flag.", - "example": null - }, - { - "name": "DENO_COVERAGE_DIR", - "description": "Set the directory for collecting code coverage profiles.\nEquivalent to using the --coverage flag.", - "example": null - }, - { - "name": "DENO_DIR", - "description": "Set the cache directory", - "example": null - }, - { - "name": "DENO_INSTALL_ROOT", - "description": "Set deno install's output directory", - "example": "(defaults to $HOME/.deno/bin)" - }, - { - "name": "DENO_JOBS", - "description": "Number of parallel workers used for the --parallel flag with the test\nsubcommand. Defaults to the number of available CPUs.", - "example": null - }, - { - "name": "DENO_KV_DB_MODE", - "description": "Controls whether Deno.openKv() API should use disk based or in-memory\ndatabase.", - "example": null - }, - { - "name": "DENO_KV_DEFAULT_PATH", - "description": "Set the default path for Deno.openKv() when no path is provided.", - "example": null - }, - { - "name": "DENO_KV_PATH_PREFIX", - "description": "Set a prefix to be added to all Deno.openKv() paths.", - "example": null - }, - { - "name": "DENO_KV_REQUIRES_DISTRIBUTED_DATABASE", - "description": "Require Deno.openKv() to resolve to a distributed (remote) database.\nWhen set to \"error\", Deno.openKv() is always exposed and rejects with a\nclear message unless the resolved path is remote. When set to \"warn\", a\nlocal/in-memory fallback is allowed but logs a warning. Used by Deno\nDeploy to surface a clear error when no KV database is attached.", - "example": null - }, - { - "name": "DENO_EMIT_CACHE_MODE", - "description": "Control if the transpiled sources should be cached.", - "example": null - }, - { - "name": "DENO_NO_PACKAGE_JSON", - "description": "Disables auto-resolution of package.json.", - "example": null - }, - { - "name": "DENO_NO_PROMPT", - "description": "Set to disable permission prompts on access\n(alternative to passing --no-prompt on invocation).", - "example": null - }, - { - "name": "DENO_NO_UPDATE_CHECK", - "description": "Set to disable checking if a newer Deno version is available", - "example": null - }, - { - "name": "DENO_PATCH_REACT_CVE", - "description": "Enable load-time source patches mitigating known React Server\nComponents CVEs (CVE-2025-55182, CVE-2025-55184).", - "example": null - }, - { - "name": "DENO_SERVE_ADDRESS", - "description": "Override address for Deno.serve", - "example": "(\"tcp:0.0.0.0:8080\", \"unix:/tmp/deno.sock\", or \"vsock:1234:5678\")" - }, - { - "name": "DENO_SERVE_AUTOMATIC_COMPRESSION", - "description": "Set to 1 or true to enable automatic response body compression in Deno.serve by default.", - "example": null - }, - { - "name": "DENO_AUTO_SERVE", - "description": "If the entrypoint contains export default { fetch }, `deno run`\nbehaves like `deno serve`.", - "example": null - }, - { - "name": "DENO_TLS_CA_STORE", - "description": "Comma-separated list of order dependent certificate stores.\nPossible values: \"system\", \"mozilla\" \u001b[38;5;245m(defaults to \"mozilla\")\u001b[39m", - "example": null - }, - { - "name": "DENO_TRACE_PERMISSIONS", - "description": "Environmental variable to enable stack traces in permission prompts.", - "example": null - }, - { - "name": "DENO_USE_CGROUPS", - "description": "Use cgroups to determine V8 memory limit.", - "example": null - }, - { - "name": "DENO_V8_FLAGS", - "description": "Set V8 command line options. Equivalent to using the --v8-flags flag;\nflags passed via --v8-flags are appended after these.", - "example": null - }, - { - "name": "FORCE_COLOR", - "description": "Set force color output even if stdout isn't a tty.", - "example": null - }, - { - "name": "HTTP_PROXY", - "description": "Proxy address for HTTP requests.", - "example": "(module downloads, fetch)" - }, - { - "name": "HTTPS_PROXY", - "description": "Proxy address for HTTPS requests.", - "example": "(module downloads, fetch)" - }, - { - "name": "NO_COLOR", - "description": "Set to disable color.", - "example": null - }, - { - "name": "NO_PROXY", - "description": "Comma-separated list of hosts which do not use a proxy.", - "example": "(module downloads, fetch)" - }, - { - "name": "NODE_USE_ENV_PROXY", - "description": "If set to 1, node:http and node:https honor HTTP_PROXY,\nHTTPS_PROXY, and NO_PROXY from the environment.", - "example": null - }, - { - "name": "NPM_CONFIG_REGISTRY", - "description": "URL to use for the npm registry.", - "example": null - }, - { - "name": "SSLKEYLOGFILE", - "description": "Write TLS session keys to the specified file in NSS Key Log format\nfor debugging encrypted traffic with tools like Wireshark.", - "example": null - }, - { - "name": "DENO_TRUST_PROXY_HEADERS", - "description": "If specified, removes X-deno-client-address header when serving HTTP.", - "example": null - }, - { - "name": "DENO_USR2_MEMORY_TRIM", - "description": "If specified, listen for SIGUSR2 signal to try and free memory (Linux only).", - "example": null + "subcommands": [] } ] }