You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "A comprehensive guide to using Deno's command-line interface (CLI). Learn about running scripts, managing permissions, using watch mode, and configuring Deno's runtime behavior through command-line flags and options."
5
5
oldUrl:
@@ -9,26 +9,17 @@ oldUrl:
9
9
- /runtime/manual/tools/
10
10
---
11
11
12
-
Deno is a command line program. The Deno command line interface (CLI) can be
13
-
used to run scripts, manage dependencies, and even compile your code into
14
-
standalone executables. You may be familiar with some simple commands having
15
-
followed the examples thus far. This page will provide a more detailed overview
16
-
of the Deno CLI.
12
+
The Deno CLI is an all-in-one toolchain for JavaScript and TypeScript projects:
13
+
it runs and tests code, formats and lints, manages dependencies, compiles to
14
+
standalone binaries, and a lot more. Each subcommand (`run`, `test`, `fmt`,
15
+
`compile`, etc.) has its own flags; run `deno help` or
16
+
`deno <subcommand> --help` to see them.
17
17
18
-
The Deno CLI has a number of subcommands (like `run`, `init` and `test`, etc.).
19
-
They are used to perform different tasks within the Deno runtime environment.
20
-
Each subcommand has its own set of flags and options (eg --version) that can be
21
-
used to customize its behavior.
18
+
For the complete list of subcommands and flags, see the
19
+
[CLI reference](/runtime/reference/cli/). This page covers the patterns you'll
20
+
hit early on: how to run code, how to pass arguments, and how to use watch mode.
22
21
23
-
You can view all of the available commands and flags by running the `deno help`
24
-
subcommand in your terminal, or using the `-h` or `--help` flags.
25
-
26
-
Check out the [CLI reference guide](/runtime/reference/cli/) for a further
27
-
documentation on all the subcommands and flags available. We'll take a look at a
28
-
few commands in a bit more detail below to see how they can be used and
29
-
configured.
30
-
31
-
## An example subcommand - `deno run`
22
+
## Running scripts
32
23
33
24
You can run a local TypeScript or JavaScript file by specifying its path
0 commit comments