Skip to content

docs: document deno install --os and --arch (2.8)#3076

Open
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-install-os-arch
Open

docs: document deno install --os and --arch (2.8)#3076
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-install-os-arch

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Documents the new --os and --arch flags on deno install shipping in Deno 2.8 (denoland/deno#32785). They let you install npm packages targeting a different platform than the current machine — useful for cross-platform deployment artifacts.

  • New "deno install --os and --arch" subsection in runtime/reference/cli/install.md.
  • Examples covering Linux/arm64, Windows/x64, and overriding just --arch.
  • Notes that the flags conflict with --global (local installs only).

Test plan

  • deno task serve — section renders, ToC anchor resolves.

Adds a section to install.md describing the new cross-platform install
flags. Notes the Node.js-compatible value set, the default-to-current
behavior when only one flag is provided, and the conflict with
--global.

Refs denoland/deno#32785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant