Repository navigation
docs: restore snap installation instructions for v1.3 - #557
Merged
FeynmanZhou merged 1 commit intoApr 15, 2026
Merged
Conversation
The snap installation section was removed from the v1.3 docs. Now that the snap release workflow is active and publishing to the Snap Store, restore the installation instructions with the required --classic flag. ORAS uses classic confinement to access files outside the snap sandbox, so users need to pass --classic when installing. Fixes oras-project/oras#1965 Signed-off-by: Terry Howe <[email protected]>
TerryHowe
requested review from
FeynmanZhou,
asmitbm,
sabre1041,
sajayantony and
shizhMSFT
as code owners
March 20, 2026 14:19
This was referenced Nov 14, 2026
TerryHowe
pushed a commit
that referenced
this pull request
Nov 14, 2026
## Summary The Homebrew, WinGet, Nix and GitHub Actions sections were removed from the 1.3.0-beta installation page in #458, with a note that these package managers "will be updated after the stable release". 1.3 has been GA since 1.3.0 and the page is now on v1.3.6, but only Snap came back (#557). The latest installation page still has that note, while the home page tells readers to run `brew install oras` and `winget install oras`. All of these channels ship 1.3.x today, so this PR documents them again on the 1.3 page: - **Homebrew**: `brew install oras`. homebrew-core has 1.3.6 bottles for macOS and Linux - **WinGet**: `winget install oras --version 1.3.6` in the Windows section, pinned like the other 1.3 snippets and the 1.2 page. `ORASProject.ORAS` 1.3.6 is in winget-pkgs - **GitHub Actions**: `oras-project/setup-oras@v2` with `version: 1.3.6`, so the 1.3 page keeps installing 1.3 after the action's default moves on (the 1.2 page still shows `@v1`) - **Runner images**: ORAS CLI is preinstalled on the Ubuntu 22.04 image used by GitHub-hosted runners and Azure Pipelines agents. Ubuntu 20.04, which the 1.2 page lists, has been retired - **Nix**: `nix-env -iA nixpkgs.oras`, linking to the package's current location under `pkgs/by-name` (the link on older pages points to a path that no longer exists) Channels not run by the ORAS community keep the "may not be the latest version" note used on the older pages. The stale "will be updated after the stable release" note is removed. Fixes #688 ## Validation - `nix-env -iA nixpkgs.oras` in a `nixos/nix` container installs oras 1.3.5 and `oras version` runs - checked the Homebrew formula API (`stable: 1.3.6`, Linux and macOS bottles), the `ORASProject.ORAS` 1.3.6 manifest in winget-pkgs, the setup-oras v2 release data (includes 1.3.6), and the Ubuntu 22.04 runner image readme (lists ORAS CLI 1.3.6) - all new external links return 200, and the `#cli-tools` and `#advanced-usage` anchors exist - `npm test`, `npm run check-links` and `npm run build` pass. `refresh-commands` leaves the generated command pages unchanged, and `/docs/installation` renders the new sections and notes - `vale` reports no issues in `versioned_docs/version-1.3/installation.mdx` Signed-off-by: NopeCharon <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The snap installation section was removed from the v1.3 docs, which prompted issue oras-project/oras#1965. Now that the snap release workflow is active and publishing to the Snap Store (as of oras-project/oras#2011), restore the installation instructions.
Changes
versioned_docs/version-1.3/installation.mdxwithsnap install oras --classic--classicis required because ORAS uses classic confinement to access files outside the snap sandboxWhy
--classicis requiredORAS is a CLI tool that reads and writes files at arbitrary paths provided by the user. Strict snap confinement would prevent this, so classic confinement is intentional and the
--classicflag is unavoidable.Fixes oras-project/oras#1965