Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions runtime/reference/cli/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,20 @@ example installation command to your repository:
$ deno install -n awesome_cli https://example.com/awesome/cli.ts
```

### deno install --global --compile [PACKAGE_OR_URL]

Use this command to compile a package or script into a standalone,
self-contained binary. The resulting executable can be distributed and run
without requiring Deno to be installed on the target system.

```shell
$ deno install --global --compile -A npm:@anthropic-ai/claude-code
```

This combines the behavior of [`deno compile`](/runtime/reference/cli/compile/)
with global installation — producing a native binary placed in the installation
root (same as `--global` without `--compile`).

## Native Node.js addons

A lot of popular packages npm packages like
Expand Down