Spec-Zone.ru › Deno 2

Deno CLI Subcommands

The Deno CLI (Command Line Interface) allows you to interact with the Deno runtime environment from your terminal or command prompt. The CLI has a number of subcommands that can be used to perform different tasks, check the links below for more information on each subcommand.

Execution

  • deno run - run a script
  • deno serve - run a web server
  • deno task - run a task
  • deno repl - starts a read-eval-print-loop
  • deno eval - evaluate provided script

Dependency management

  • deno add - add dependencies
  • deno approve-scripts - manage lifecycle scripts of npm packages
  • deno audit - audit dependencies
  • deno bump-version - bump the project version in deno.json or package.json
  • deno cache - (Deprecated. Please use deno install)
  • deno install - install a dependency or a script
  • deno uninstall - uninstall a dependency or a script
  • deno remove - Remove dependencies
  • deno outdated - view or update outdated dependencies
  • deno why - explain why a package is in the dependency tree

Tooling

  • deno bench - benchmarking tool
  • deno check - type check your program without running it
  • deno compile - compile a program into a standalone executable
  • deno completions - generate shell completions
  • deno coverage - generate test coverage reports
  • deno create - scaffold a new project from a template
  • deno doc - generate documentation for a module
  • deno deploy - Manage and publish your projects on the web
  • deno desktop - build a desktop app from the current Deno project
  • deno fmt - format your code
  • deno info - inspect an ES module and all of its dependencies
  • deno init - create a new project
  • deno jupyter - run a Jupyter notebook
  • deno lint - lint your code
  • deno lsp - language server protocol integration
  • deno pack - create an npm tarball from the current Deno project
  • deno publish - publish a module to JSR
  • deno test - run your tests
  • deno transpile - transpile TypeScript, JSX, or TSX to JavaScript
  • deno types - print runtime types
  • deno upgrade - upgrade Deno to the latest version
  • deno x - run an npm or JSR package

Other

  • Unstable feature flags
  • Integrating the Deno LSP

Last updated on June 16, 2026

© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/runtime/reference/cli

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API