Skip to content

Commit

Permalink
Adapt docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Oct 21, 2024
1 parent 7664271 commit 29d4a56
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ To install keyring you can use pixi global install:
```
=== "Google Artifact Registry"
```shell
pixi global install --environment keyring keyring keyrings.google-artifactregistry-auth
pixi global install keyring --with keyrings.google-artifactregistry-auth
```
=== "Azure DevOps Artifacts"
```shell
pixi global install --environment keyring keyring keyring.artifacts
pixi global install keyring --with keyring.artifacts
```

For other registries, you will need to adapt these instructions to add the right keyring backend.
Expand Down
2 changes: 1 addition & 1 deletion docs/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pixi global install fish
pixi global install rattler-build

# Install a multi package environment
pixi global install python jupyter numpy pandas --environment data-science-env --expose python --expose jupyter
pixi global install --environment data-science-env --expose python --expose jupyter python jupyter numpy pandas
```

## Use pixi in GitHub Actions
Expand Down
3 changes: 2 additions & 1 deletion docs/features/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ $ (default) which python
Of course you can use `pixi` to install `direnv` globally. We recommend to run

```
pixi global install direnv```
pixi global install direnv
```

to install the latest version of `direnv` on your computer.

Expand Down
2 changes: 1 addition & 1 deletion docs/features/global_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Creating two separate non-interfering environments, while exposing only the mini
### Example: Creating a Data Science Sandbox Environment
You can create an environment with multiple tools using the following command:
```shell
pixi global install --environment data-science --expose jupyter=jupyter --expose ipython=ipython jupyter numpy pandas matplotlib ipython
pixi global install --environment data-science --expose jupyter --expose ipython jupyter numpy pandas matplotlib ipython
```
This command generates the following entry in the manifest:
```toml
Expand Down
3 changes: 2 additions & 1 deletion src/cli/global/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ use pixi_config::{self, Config, ConfigCli};
///
/// Example:
/// - pixi global install starship nushell ripgrep bat
/// - pixi global install --environment science jupyter polars
/// - pixi global install jupyter --with polars
/// - pixi global install --expose python3.8=python python=3.8
/// - pixi global install --environment science --expose jupyter --expose ipython jupyter ipython polars
#[derive(Parser, Debug, Clone)]
#[clap(arg_required_else_help = true, verbatim_doc_comment)]
pub struct Args {
Expand Down

0 comments on commit 29d4a56

Please sign in to comment.