docs: document pixi add channel::package usage example#5893
Open
darilsobze wants to merge 3 commits intoprefix-dev:mainfrom
Open
docs: document pixi add channel::package usage example#5893darilsobze wants to merge 3 commits intoprefix-dev:mainfrom
darilsobze wants to merge 3 commits intoprefix-dev:mainfrom
Conversation
ruben-arts
reviewed
Apr 15, 2026
| pixi add numpy # (1)! | ||
| pixi add numpy pandas "pytorch>=1.8" # (2)! | ||
| pixi add "numpy>=1.22,<1.24" # (3)! | ||
| pixi add https://repo.prefix.dev/bioconda::htslib # (3a)! |
Contributor
There was a problem hiding this comment.
Suggested change
| pixi add https://repo.prefix.dev/bioconda::htslib # (3a)! | |
| pixi add https://prefix.dev/bioconda::htslib # (3a)! |
While repo works it's a deprecated definition.
Contributor
There was a problem hiding this comment.
And the 3a doesn't work it has to be 4, so all the other values have to be moved.
Author
There was a problem hiding this comment.
so what should i do now? could u please explain more clearly?
Contributor
There was a problem hiding this comment.
Make it item 4 and make 4 -> 5 etc.
ruben-arts
requested changes
Apr 15, 2026
Contributor
ruben-arts
left a comment
There was a problem hiding this comment.
You can test this by running pixi run docs it shows you the dev version of the docs website.
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.
Description
This PR documents how to install a dependency from a specific channel using the
channel::packagesyntax withpixi add.Pixi already supports package-scoped channels, but this usage was not discoverable from the CLI documentation. The added example shows how to install a single package from a non-default channel without permanently adding that channel to the workspace.
Fixes #{4231}
How Has This Been Tested?
i verified that the example command works as described
TODO