File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,20 @@ example installation command to your repository:
158158$ deno install -n awesome_cli https://example.com/awesome/cli.ts
159159```
160160
161+ ### deno install --global --compile [ PACKAGE_OR_URL]
162+
163+ Use this command to compile a package or script into a standalone,
164+ self-contained binary. The resulting executable can be distributed and run
165+ without requiring Deno to be installed on the target system.
166+
167+ ``` shell
168+ $ deno install --global --compile -A npm:@anthropic-ai/claude-code
169+ ```
170+
171+ This combines the behavior of [ ` deno compile ` ] ( /runtime/reference/cli/compile/ )
172+ with global installation — producing a native binary placed in the installation
173+ root (same as ` --global ` without ` --compile ` ).
174+
161175## Native Node.js addons
162176
163177A lot of popular packages npm packages like
You can’t perform that action at this time.
0 commit comments