From f81fa5a29e50790ab0ce1f645231a61e82190da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Mon, 28 Jul 2025 16:25:04 +0300 Subject: [PATCH 1/8] feat: add new configuration options for concurrency and experimental features --- crates/pixi_config/src/lib.rs | 171 +++++++++++++++++++++++++++++++++- 1 file changed, 170 insertions(+), 1 deletion(-) diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index f324b1d2f5..3575d78e4b 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -1262,10 +1262,13 @@ impl Config { pub fn get_keys(&self) -> &[&str] { &[ "authentication-override-file", + "concurrency", + "concurrency.downloads", + "concurrency.solves", "default-channels", "detached-environments", + "experimental", "experimental.use-environment-activation-cache", - "max-concurrent-solves", "mirrors", "pinning-strategy", "proxy-config", @@ -1282,6 +1285,7 @@ impl Config { "repodata-config.disable-jlap", "repodata-config.disable-sharded", "repodata-config.disable-zstd", + "run-post-link-scripts", "s3-options", "s3-options.", "s3-options..endpoint-url", @@ -2404,6 +2408,171 @@ UNUSED = "unused" assert!(s3_options.force_path_style); assert_eq!(s3_options.region, "auto"); + // Test tool-platform + config + .set("tool-platform", Some("linux-64".to_string())) + .unwrap(); + assert_eq!(config.tool_platform, Some(Platform::Linux64)); + + // Test run-post-link-scripts + config + .set("run-post-link-scripts", Some("insecure".to_string())) + .unwrap(); + assert_eq!( + config.run_post_link_scripts, + Some(RunPostLinkScripts::Insecure) + ); + + // Test shell.force-activate + config + .set("shell.force-activate", Some("true".to_string())) + .unwrap(); + assert_eq!(config.shell.force_activate, Some(true)); + + // Test shell.source-completion-scripts + config + .set("shell.source-completion-scripts", Some("false".to_string())) + .unwrap(); + assert_eq!(config.shell.source_completion_scripts, Some(false)); + + // Test experimental.use-environment-activation-cache + config + .set( + "experimental.use-environment-activation-cache", + Some("true".to_string()), + ) + .unwrap(); + assert_eq!( + config.experimental.use_environment_activation_cache, + Some(true) + ); + + // Test more repodata-config options + config + .set("repodata-config.disable-bzip2", Some("true".to_string())) + .unwrap(); + let repodata_config = config.repodata_config(); + assert_eq!(repodata_config.default.disable_bzip2, Some(true)); + + config + .set("repodata-config.disable-zstd", Some("false".to_string())) + .unwrap(); + let repodata_config = config.repodata_config(); + assert_eq!(repodata_config.default.disable_zstd, Some(false)); + + config + .set("repodata-config.disable-sharded", Some("true".to_string())) + .unwrap(); + let repodata_config = config.repodata_config(); + assert_eq!(repodata_config.default.disable_sharded, Some(true)); + + // Test pypi-config.allow-insecure-host + config + .set( + "pypi-config.allow-insecure-host", + Some(r#"["pypi.example.com"]"#.to_string()), + ) + .unwrap(); + assert_eq!(config.pypi_config().allow_insecure_host.len(), 1); + + // Test proxy-config + config + .set( + "proxy-config.http", + Some("http://proxy.example.com:8080".to_string()), + ) + .unwrap(); + assert_eq!( + config.proxy_config.http, + Some(Url::parse("http://proxy.example.com:8080").unwrap()) + ); + + config + .set( + "proxy-config.https", + Some("https://proxy.example.com:8080".to_string()), + ) + .unwrap(); + assert_eq!( + config.proxy_config.https, + Some(Url::parse("https://proxy.example.com:8080").unwrap()) + ); + + config + .set( + "proxy-config.non-proxy-hosts", + Some(r#"["localhost", "127.0.0.1"]"#.to_string()), + ) + .unwrap(); + assert_eq!(config.proxy_config.non_proxy_hosts.len(), 2); + + // Test s3-options with individual keys + config + .set( + "s3-options.test-bucket.endpoint-url", + Some("http://localhost:9000".to_string()), + ) + .unwrap(); + config + .set( + "s3-options.test-bucket.region", + Some("us-east-1".to_string()), + ) + .unwrap(); + config + .set( + "s3-options.test-bucket.force-path-style", + Some("false".to_string()), + ) + .unwrap(); + + // Test concurrency configuration + config + .set("concurrency.solves", Some("5".to_string())) + .unwrap(); + assert_eq!(config.concurrency.solves, 5); + + config + .set("concurrency.downloads", Some("25".to_string())) + .unwrap(); + assert_eq!(config.concurrency.downloads, 25); + + // Test max-concurrent-solves (legacy accessor) + assert_eq!(config.max_concurrent_solves(), 5); + assert_eq!(config.max_concurrent_downloads(), 25); + + // Test tls-no-verify + config + .set("tls-no-verify", Some("true".to_string())) + .unwrap(); + assert_eq!(config.tls_no_verify, Some(true)); + + // Test mirrors + config + .set( + "mirrors", + Some( + r#"[{"url": "https://mirror.example.com", "host": "conda-forge"}]"#.to_string(), + ), + ) + .unwrap(); + assert_eq!(config.mirrors.len(), 1); + + // Test detached-environments + config + .set("detached-environments", Some("/custom/path".to_string())) + .unwrap(); + assert!(matches!( + config.detached_environments, + Some(DetachedEnvironments::Path(_)) + )); + + // Test pinning-strategy + config + .set("pinning-strategy", Some("semver".to_string())) + .unwrap(); + assert_eq!(config.pinning_strategy, Some(PinningStrategy::Semver)); + config.set("unknown-key", None).unwrap_err(); } From 23da7ecbd016b10f9217e7290c324159351eb32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Mon, 28 Jul 2025 16:38:52 +0300 Subject: [PATCH 2/8] fix test --- crates/pixi_config/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index 3575d78e4b..8d24f135fe 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -2551,9 +2551,7 @@ UNUSED = "unused" config .set( "mirrors", - Some( - r#"[{"url": "https://mirror.example.com", "host": "conda-forge"}]"#.to_string(), - ), + Some(r#"{"https://conda.anaconda.org/conda-forge": ["https://prefix.dev/conda-forge"]}"#.to_string()), ) .unwrap(); assert_eq!(config.mirrors.len(), 1); From b05f86b54e659fefdcaffec0cb5409889e783f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Mon, 28 Jul 2025 17:17:44 +0300 Subject: [PATCH 3/8] CLI configuration and tests --- crates/pixi_config/src/lib.rs | 73 +++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 4 deletions(-) diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index 8d24f135fe..6b0d1641ea 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -139,6 +139,26 @@ pub struct ConfigCli { /// Max concurrent network requests, default is `50` #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] pub concurrent_downloads: Option, + + /// The platform to use to install tools + #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] + pub tool_platform: Option, + + /// Run post-link scripts (insecure) + #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] + pub run_post_link_scripts: bool, + + /// Use environment activation cache (experimental) + #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] + pub use_environment_activation_cache: bool, + + /// Set detached environments path + #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] + pub detached_environments: Option, + + /// Set pinning strategy + #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] + pub pinning_strategy: Option, } #[derive(Parser, Debug, Clone, Default)] @@ -758,7 +778,7 @@ impl From for Config { .pypi_keyring_provider .map(|val| PyPIConfig::default().with_keyring(val)) .unwrap_or_default(), - detached_environments: None, + detached_environments: cli.detached_environments.map(DetachedEnvironments::Path), concurrency: ConcurrencyConfig { solves: cli .concurrent_solves @@ -767,6 +787,20 @@ impl From for Config { .concurrent_downloads .unwrap_or(ConcurrencyConfig::default().downloads), }, + tool_platform: cli.tool_platform, + run_post_link_scripts: if cli.run_post_link_scripts { + Some(RunPostLinkScripts::Insecure) + } else { + None + }, + experimental: ExperimentalConfig { + use_environment_activation_cache: if cli.use_environment_activation_cache { + Some(true) + } else { + None + }, + }, + pinning_strategy: cli.pinning_strategy, ..Default::default() } } @@ -1938,12 +1972,18 @@ UNUSED = "unused" #[test] fn test_config_from_cli() { + // Test with all CLI options enabled let cli = ConfigCli { tls_no_verify: true, auth_file: None, pypi_keyring_provider: Some(KeyringProvider::Subprocess), - concurrent_solves: None, - concurrent_downloads: None, + concurrent_solves: Some(8), + concurrent_downloads: Some(100), + tool_platform: Some(Platform::Linux64), + run_post_link_scripts: true, + use_environment_activation_cache: true, + detached_environments: Some(PathBuf::from("/custom/envs")), + pinning_strategy: Some(PinningStrategy::Semver), }; let config = Config::from(cli); assert_eq!(config.tls_no_verify, Some(true)); @@ -1951,6 +1991,22 @@ UNUSED = "unused" config.pypi_config().keyring_provider, Some(KeyringProvider::Subprocess) ); + assert_eq!(config.concurrency.solves, 8); + assert_eq!(config.concurrency.downloads, 100); + assert_eq!(config.tool_platform, Some(Platform::Linux64)); + assert_eq!( + config.run_post_link_scripts, + Some(RunPostLinkScripts::Insecure) + ); + assert_eq!( + config.experimental.use_environment_activation_cache, + Some(true) + ); + assert!(matches!( + config.detached_environments, + Some(DetachedEnvironments::Path(_)) + )); + assert_eq!(config.pinning_strategy, Some(PinningStrategy::Semver)); let cli = ConfigCli { tls_no_verify: false, @@ -1958,6 +2014,11 @@ UNUSED = "unused" pypi_keyring_provider: None, concurrent_solves: None, concurrent_downloads: None, + tool_platform: None, + run_post_link_scripts: false, + use_environment_activation_cache: false, + detached_environments: None, + pinning_strategy: None, }; let config = Config::from(cli); @@ -1966,7 +2027,11 @@ UNUSED = "unused" config.authentication_override_file, Some(PathBuf::from("path.json")) ); - assert!(!config.experimental.use_environment_activation_cache()); + assert_eq!(config.tool_platform, None); + assert_eq!(config.run_post_link_scripts, None); + assert_eq!(config.experimental.use_environment_activation_cache, None); + assert_eq!(config.detached_environments, None); + assert_eq!(config.pinning_strategy, None); } #[test] From cd5c307caa7344b206355d17bcab7ffe06bdb56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Mon, 28 Jul 2025 17:28:09 +0300 Subject: [PATCH 4/8] docs --- docs/reference/cli/pixi/add.md | 10 ++++++++++ docs/reference/cli/pixi/build.md | 10 ++++++++++ docs/reference/cli/pixi/exec.md | 10 ++++++++++ docs/reference/cli/pixi/global/add.md | 10 ++++++++++ docs/reference/cli/pixi/global/expose/add.md | 10 ++++++++++ docs/reference/cli/pixi/global/expose/remove.md | 10 ++++++++++ docs/reference/cli/pixi/global/install.md | 10 ++++++++++ docs/reference/cli/pixi/global/list.md | 10 ++++++++++ docs/reference/cli/pixi/global/remove.md | 10 ++++++++++ docs/reference/cli/pixi/global/shortcut/add.md | 10 ++++++++++ docs/reference/cli/pixi/global/shortcut/remove.md | 10 ++++++++++ docs/reference/cli/pixi/global/sync.md | 10 ++++++++++ docs/reference/cli/pixi/global/uninstall.md | 10 ++++++++++ docs/reference/cli/pixi/global/update.md | 10 ++++++++++ docs/reference/cli/pixi/global/upgrade-all.md | 10 ++++++++++ docs/reference/cli/pixi/import.md | 10 ++++++++++ docs/reference/cli/pixi/install.md | 10 ++++++++++ docs/reference/cli/pixi/reinstall.md | 10 ++++++++++ docs/reference/cli/pixi/remove.md | 10 ++++++++++ docs/reference/cli/pixi/run.md | 10 ++++++++++ docs/reference/cli/pixi/shell-hook.md | 10 ++++++++++ docs/reference/cli/pixi/shell.md | 10 ++++++++++ docs/reference/cli/pixi/update.md | 10 ++++++++++ docs/reference/cli/pixi/upgrade.md | 10 ++++++++++ docs/reference/cli/pixi/workspace/channel/add.md | 10 ++++++++++ docs/reference/cli/pixi/workspace/channel/remove.md | 10 ++++++++++ .../cli/pixi/workspace/export/conda-explicit-spec.md | 10 ++++++++++ 27 files changed, 270 insertions(+) diff --git a/docs/reference/cli/pixi/add.md b/docs/reference/cli/pixi/add.md index 9df239d7e8..2f5b8281ee 100644 --- a/docs/reference/cli/pixi/add.md +++ b/docs/reference/cli/pixi/add.md @@ -41,6 +41,16 @@ pixi add [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Git Options - `--git (-g) ` diff --git a/docs/reference/cli/pixi/build.md b/docs/reference/cli/pixi/build.md index ae43d07cdd..cec5a4e854 100644 --- a/docs/reference/cli/pixi/build.md +++ b/docs/reference/cli/pixi/build.md @@ -35,6 +35,16 @@ pixi build [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Global Options - `--manifest-path ` diff --git a/docs/reference/cli/pixi/exec.md b/docs/reference/cli/pixi/exec.md index 496fed2c7a..8d5ea67c23 100644 --- a/docs/reference/cli/pixi/exec.md +++ b/docs/reference/cli/pixi/exec.md @@ -46,6 +46,16 @@ pixi exec [OPTIONS] [COMMAND]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Run a command and install it in a temporary environment. diff --git a/docs/reference/cli/pixi/global/add.md b/docs/reference/cli/pixi/global/add.md index 2f54c80bc4..10bbc52e1a 100644 --- a/docs/reference/cli/pixi/global/add.md +++ b/docs/reference/cli/pixi/global/add.md @@ -37,6 +37,16 @@ pixi global add [OPTIONS] --environment ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Adds dependencies to an environment diff --git a/docs/reference/cli/pixi/global/expose/add.md b/docs/reference/cli/pixi/global/expose/add.md index f0dd8e9e5a..b26fe33b8d 100644 --- a/docs/reference/cli/pixi/global/expose/add.md +++ b/docs/reference/cli/pixi/global/expose/add.md @@ -33,6 +33,16 @@ pixi global expose add [OPTIONS] --environment [MAPPING]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Add exposed binaries from an environment to your global environment diff --git a/docs/reference/cli/pixi/global/expose/remove.md b/docs/reference/cli/pixi/global/expose/remove.md index d6900e0c9f..5e82ac4494 100644 --- a/docs/reference/cli/pixi/global/expose/remove.md +++ b/docs/reference/cli/pixi/global/expose/remove.md @@ -28,6 +28,16 @@ pixi global expose remove [OPTIONS] [EXPOSED_NAME]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Remove exposed binaries from the global environment diff --git a/docs/reference/cli/pixi/global/install.md b/docs/reference/cli/pixi/global/install.md index e1f6981008..df59407e35 100644 --- a/docs/reference/cli/pixi/global/install.md +++ b/docs/reference/cli/pixi/global/install.md @@ -48,6 +48,16 @@ pixi global install [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Installs the defined packages in a globally accessible location and exposes their command line applications. diff --git a/docs/reference/cli/pixi/global/list.md b/docs/reference/cli/pixi/global/list.md index 499b004522..0105ef65e9 100644 --- a/docs/reference/cli/pixi/global/list.md +++ b/docs/reference/cli/pixi/global/list.md @@ -35,6 +35,16 @@ pixi global list [OPTIONS] [REGEX] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Lists all packages previously installed into a globally accessible location via `pixi global install`. diff --git a/docs/reference/cli/pixi/global/remove.md b/docs/reference/cli/pixi/global/remove.md index f03eda69e5..234997010e 100644 --- a/docs/reference/cli/pixi/global/remove.md +++ b/docs/reference/cli/pixi/global/remove.md @@ -33,6 +33,16 @@ pixi global remove [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Removes dependencies from an environment diff --git a/docs/reference/cli/pixi/global/shortcut/add.md b/docs/reference/cli/pixi/global/shortcut/add.md index cca90829bd..84a2f112bc 100644 --- a/docs/reference/cli/pixi/global/shortcut/add.md +++ b/docs/reference/cli/pixi/global/shortcut/add.md @@ -33,5 +33,15 @@ pixi global shortcut add [OPTIONS] --environment [PACKAGE]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/shortcut/add_extender:example" diff --git a/docs/reference/cli/pixi/global/shortcut/remove.md b/docs/reference/cli/pixi/global/shortcut/remove.md index 94baaa3d5f..acd3fe6579 100644 --- a/docs/reference/cli/pixi/global/shortcut/remove.md +++ b/docs/reference/cli/pixi/global/shortcut/remove.md @@ -28,5 +28,15 @@ pixi global shortcut remove [OPTIONS] [SHORTCUT]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/shortcut/remove_extender:example" diff --git a/docs/reference/cli/pixi/global/sync.md b/docs/reference/cli/pixi/global/sync.md index e973d3a380..0eb5873b0c 100644 --- a/docs/reference/cli/pixi/global/sync.md +++ b/docs/reference/cli/pixi/global/sync.md @@ -23,5 +23,15 @@ pixi global sync [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/sync_extender:example" diff --git a/docs/reference/cli/pixi/global/uninstall.md b/docs/reference/cli/pixi/global/uninstall.md index aee73d49ec..81d7228f68 100644 --- a/docs/reference/cli/pixi/global/uninstall.md +++ b/docs/reference/cli/pixi/global/uninstall.md @@ -29,6 +29,16 @@ pixi global uninstall [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Description Uninstalls environments from the global environment. diff --git a/docs/reference/cli/pixi/global/update.md b/docs/reference/cli/pixi/global/update.md index 6fe5498255..84c9230c53 100644 --- a/docs/reference/cli/pixi/global/update.md +++ b/docs/reference/cli/pixi/global/update.md @@ -28,5 +28,15 @@ pixi global update [OPTIONS] [ENVIRONMENTS]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/update_extender:example" diff --git a/docs/reference/cli/pixi/global/upgrade-all.md b/docs/reference/cli/pixi/global/upgrade-all.md index 6728bbea1f..5044c75508 100644 --- a/docs/reference/cli/pixi/global/upgrade-all.md +++ b/docs/reference/cli/pixi/global/upgrade-all.md @@ -31,5 +31,15 @@ pixi global upgrade-all [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/upgrade-all_extender:example" diff --git a/docs/reference/cli/pixi/import.md b/docs/reference/cli/pixi/import.md index e85243b1f5..d4bedabe4f 100644 --- a/docs/reference/cli/pixi/import.md +++ b/docs/reference/cli/pixi/import.md @@ -40,6 +40,16 @@ pixi import [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/install.md b/docs/reference/cli/pixi/install.md index c042ceb9f7..c60536266d 100644 --- a/docs/reference/cli/pixi/install.md +++ b/docs/reference/cli/pixi/install.md @@ -30,6 +30,16 @@ pixi install [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--frozen` diff --git a/docs/reference/cli/pixi/reinstall.md b/docs/reference/cli/pixi/reinstall.md index 2e7f6026ea..c012f0b79e 100644 --- a/docs/reference/cli/pixi/reinstall.md +++ b/docs/reference/cli/pixi/reinstall.md @@ -35,6 +35,16 @@ pixi reinstall [OPTIONS] [PACKAGE]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--frozen` diff --git a/docs/reference/cli/pixi/remove.md b/docs/reference/cli/pixi/remove.md index e99c10cccf..bbaa23c910 100644 --- a/docs/reference/cli/pixi/remove.md +++ b/docs/reference/cli/pixi/remove.md @@ -39,6 +39,16 @@ pixi remove [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Git Options - `--git (-g) ` diff --git a/docs/reference/cli/pixi/run.md b/docs/reference/cli/pixi/run.md index 0e6adc3840..8c95b9bfe9 100644 --- a/docs/reference/cli/pixi/run.md +++ b/docs/reference/cli/pixi/run.md @@ -40,6 +40,16 @@ pixi run [OPTIONS] [TASK]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy - `--force-activate` : Do not use the environment activation cache. (default: true except in experimental mode) - `--no-completions` diff --git a/docs/reference/cli/pixi/shell-hook.md b/docs/reference/cli/pixi/shell-hook.md index 2ecffea561..19ad108526 100644 --- a/docs/reference/cli/pixi/shell-hook.md +++ b/docs/reference/cli/pixi/shell-hook.md @@ -32,6 +32,16 @@ pixi shell-hook [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy - `--force-activate` : Do not use the environment activation cache. (default: true except in experimental mode) - `--no-completions` diff --git a/docs/reference/cli/pixi/shell.md b/docs/reference/cli/pixi/shell.md index 4dc002db7e..6f1f9465ec 100644 --- a/docs/reference/cli/pixi/shell.md +++ b/docs/reference/cli/pixi/shell.md @@ -27,6 +27,16 @@ pixi shell [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy - `--change-ps1 ` : Do not change the PS1 variable when starting a prompt
**options**: `true`, `false` diff --git a/docs/reference/cli/pixi/update.md b/docs/reference/cli/pixi/update.md index a7b7511e02..53ab62b405 100644 --- a/docs/reference/cli/pixi/update.md +++ b/docs/reference/cli/pixi/update.md @@ -42,6 +42,16 @@ pixi update [OPTIONS] [PACKAGES]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Global Options - `--manifest-path ` diff --git a/docs/reference/cli/pixi/upgrade.md b/docs/reference/cli/pixi/upgrade.md index 9cf61ae3c9..44b131a1b8 100644 --- a/docs/reference/cli/pixi/upgrade.md +++ b/docs/reference/cli/pixi/upgrade.md @@ -40,6 +40,16 @@ pixi upgrade [OPTIONS] [PACKAGES]... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/workspace/channel/add.md b/docs/reference/cli/pixi/workspace/channel/add.md index 08ce5436f9..738b31233a 100644 --- a/docs/reference/cli/pixi/workspace/channel/add.md +++ b/docs/reference/cli/pixi/workspace/channel/add.md @@ -37,6 +37,16 @@ pixi workspace channel add [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/workspace/channel/remove.md b/docs/reference/cli/pixi/workspace/channel/remove.md index 41c0ce51f9..f0f80c54ac 100644 --- a/docs/reference/cli/pixi/workspace/channel/remove.md +++ b/docs/reference/cli/pixi/workspace/channel/remove.md @@ -37,6 +37,16 @@ pixi workspace channel remove [OPTIONS] ... : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md b/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md index d49c2dd7dc..fd655d6dd3 100644 --- a/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md +++ b/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md @@ -42,6 +42,16 @@ pixi workspace export conda-explicit-spec [OPTIONS] : Max concurrent solves, default is the number of CPUs - `--concurrent-downloads ` : Max concurrent network requests, default is `50` +- `--tool-platform ` +: The platform to use to install tools +- `--run-post-link-scripts` +: Run post-link scripts (insecure) +- `--use-environment-activation-cache` +: Use environment activation cache (experimental) +- `--detached-environments ` +: Set detached environments path +- `--pinning-strategy ` +: Set pinning strategy ## Update Options - `--no-lockfile-update` From cf381e8d297958a7f5661f88917a5610bddfc802 Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Tue, 29 Jul 2025 09:53:46 +0200 Subject: [PATCH 5/8] misc: order options, add value enum --- crates/pixi_config/src/lib.rs | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index 6b0d1641ea..da7f7da17c 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -120,45 +120,45 @@ pub fn get_cache_dir() -> miette::Result { } #[derive(Parser, Debug, Default, Clone)] pub struct ConfigCli { - /// Do not verify the TLS certificate of the server. - #[arg(long, action = ArgAction::SetTrue, help_heading = consts::CLAP_CONFIG_OPTIONS)] - tls_no_verify: bool, - /// Path to the file containing the authentication token. #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] auth_file: Option, - /// Specifies whether to use the keyring to look up credentials for PyPI. + /// Max concurrent network requests, default is `50` #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pypi_keyring_provider: Option, + concurrent_downloads: Option, /// Max concurrent solves, default is the number of CPUs #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub concurrent_solves: Option, + concurrent_solves: Option, - /// Max concurrent network requests, default is `50` + /// Set detached environments path #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub concurrent_downloads: Option, + detached_environments: Option, - /// The platform to use to install tools + /// Set pinning strategy + #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS, value_enum)] + pinning_strategy: Option, + + /// Specifies whether to use the keyring to look up credentials for PyPI. #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub tool_platform: Option, + pypi_keyring_provider: Option, /// Run post-link scripts (insecure) #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub run_post_link_scripts: bool, + run_post_link_scripts: bool, - /// Use environment activation cache (experimental) + /// The platform to use to install tools #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub use_environment_activation_cache: bool, + tool_platform: Option, - /// Set detached environments path - #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub detached_environments: Option, + /// Do not verify the TLS certificate of the server. + #[arg(long, action = ArgAction::SetTrue, help_heading = consts::CLAP_CONFIG_OPTIONS)] + tls_no_verify: bool, - /// Set pinning strategy + /// Use environment activation cache (experimental) #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - pub pinning_strategy: Option, + use_environment_activation_cache: bool, } #[derive(Parser, Debug, Clone, Default)] @@ -503,7 +503,7 @@ impl PyPIConfig { } /// The strategy for that will be used for pinning a version of a package. -#[derive(Serialize, Deserialize, Debug, Clone, Default, PartialEq, Eq, Copy)] +#[derive(Serialize, Deserialize, Debug, Clone, Default, PartialEq, Eq, Copy, clap::ValueEnum)] #[serde(rename_all = "kebab-case")] pub enum PinningStrategy { /// Default semver strategy e.g. "1.2.3" becomes ">=1.2.3, <2" but "0.1.0" From 2376a9f0ef5bd9c89bceddc447ee9f30b09ea836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Tue, 29 Jul 2025 13:15:34 +0300 Subject: [PATCH 6/8] some cleanup --- crates/pixi_config/src/lib.rs | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/crates/pixi_config/src/lib.rs b/crates/pixi_config/src/lib.rs index da7f7da17c..b4ae04e69d 100644 --- a/crates/pixi_config/src/lib.rs +++ b/crates/pixi_config/src/lib.rs @@ -132,10 +132,6 @@ pub struct ConfigCli { #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] concurrent_solves: Option, - /// Set detached environments path - #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - detached_environments: Option, - /// Set pinning strategy #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS, value_enum)] pinning_strategy: Option, @@ -148,10 +144,6 @@ pub struct ConfigCli { #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] run_post_link_scripts: bool, - /// The platform to use to install tools - #[arg(long, help_heading = consts::CLAP_CONFIG_OPTIONS)] - tool_platform: Option, - /// Do not verify the TLS certificate of the server. #[arg(long, action = ArgAction::SetTrue, help_heading = consts::CLAP_CONFIG_OPTIONS)] tls_no_verify: bool, @@ -778,7 +770,7 @@ impl From for Config { .pypi_keyring_provider .map(|val| PyPIConfig::default().with_keyring(val)) .unwrap_or_default(), - detached_environments: cli.detached_environments.map(DetachedEnvironments::Path), + detached_environments: None, concurrency: ConcurrencyConfig { solves: cli .concurrent_solves @@ -787,7 +779,7 @@ impl From for Config { .concurrent_downloads .unwrap_or(ConcurrencyConfig::default().downloads), }, - tool_platform: cli.tool_platform, + tool_platform: None, run_post_link_scripts: if cli.run_post_link_scripts { Some(RunPostLinkScripts::Insecure) } else { @@ -1979,10 +1971,8 @@ UNUSED = "unused" pypi_keyring_provider: Some(KeyringProvider::Subprocess), concurrent_solves: Some(8), concurrent_downloads: Some(100), - tool_platform: Some(Platform::Linux64), run_post_link_scripts: true, use_environment_activation_cache: true, - detached_environments: Some(PathBuf::from("/custom/envs")), pinning_strategy: Some(PinningStrategy::Semver), }; let config = Config::from(cli); @@ -1993,7 +1983,6 @@ UNUSED = "unused" ); assert_eq!(config.concurrency.solves, 8); assert_eq!(config.concurrency.downloads, 100); - assert_eq!(config.tool_platform, Some(Platform::Linux64)); assert_eq!( config.run_post_link_scripts, Some(RunPostLinkScripts::Insecure) @@ -2002,10 +1991,6 @@ UNUSED = "unused" config.experimental.use_environment_activation_cache, Some(true) ); - assert!(matches!( - config.detached_environments, - Some(DetachedEnvironments::Path(_)) - )); assert_eq!(config.pinning_strategy, Some(PinningStrategy::Semver)); let cli = ConfigCli { @@ -2014,10 +1999,8 @@ UNUSED = "unused" pypi_keyring_provider: None, concurrent_solves: None, concurrent_downloads: None, - tool_platform: None, run_post_link_scripts: false, use_environment_activation_cache: false, - detached_environments: None, pinning_strategy: None, }; @@ -2027,10 +2010,8 @@ UNUSED = "unused" config.authentication_override_file, Some(PathBuf::from("path.json")) ); - assert_eq!(config.tool_platform, None); assert_eq!(config.run_post_link_scripts, None); assert_eq!(config.experimental.use_environment_activation_cache, None); - assert_eq!(config.detached_environments, None); assert_eq!(config.pinning_strategy, None); } From a3349a3b0524980b649b65d81f52607ff7c38aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Tue, 29 Jul 2025 13:30:32 +0300 Subject: [PATCH 7/8] cli e2e tests --- tests/integration_python/test_main_cli.py | 52 +++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/tests/integration_python/test_main_cli.py b/tests/integration_python/test_main_cli.py index 0b3aa3bb0c..ced859b30a 100644 --- a/tests/integration_python/test_main_cli.py +++ b/tests/integration_python/test_main_cli.py @@ -775,6 +775,58 @@ def test_concurrency_flags( ) +def test_cli_config_options( + pixi: Path, tmp_pixi_workspace: Path, multiple_versions_channel_1: str +) -> None: + manifest_path = tmp_pixi_workspace / "pixi.toml" + + # Create a new project + verify_cli_command([pixi, "init", "--channel", multiple_versions_channel_1, tmp_pixi_workspace]) + + # Test --pinning-strategy flag + verify_cli_command( + [pixi, "add", "--pinning-strategy=semver", "--manifest-path", manifest_path, "package"] + ) + verify_cli_command( + [pixi, "add", "--pinning-strategy=minor", "--manifest-path", manifest_path, "package2"] + ) + verify_cli_command( + [pixi, "add", "--pinning-strategy=major", "--manifest-path", manifest_path, "package3"] + ) + verify_cli_command( + [ + pixi, + "add", + "--pinning-strategy=latest-up", + "--manifest-path", + manifest_path, + "package==0.1.0", + ] + ) + + # Test other CLI config flags + verify_cli_command( + [pixi, "install", "--run-post-link-scripts", "--manifest-path", manifest_path] + ) + verify_cli_command([pixi, "install", "--tls-no-verify", "--manifest-path", manifest_path]) + verify_cli_command( + [pixi, "install", "--use-environment-activation-cache", "--manifest-path", manifest_path] + ) + verify_cli_command( + [pixi, "install", "--pypi-keyring-provider=disabled", "--manifest-path", manifest_path] + ) + verify_cli_command( + [pixi, "install", "--pypi-keyring-provider=subprocess", "--manifest-path", manifest_path] + ) + + # Test --auth-file flag + auth_file = tmp_pixi_workspace / "auth.json" + auth_file.write_text("{}") + verify_cli_command( + [pixi, "install", f"--auth-file={auth_file}", "--manifest-path", manifest_path] + ) + + def test_dont_add_broken_dep(pixi: Path, tmp_pixi_workspace: Path, dummy_channel_1: str) -> None: manifest_path = tmp_pixi_workspace / "pixi.toml" From 71fa3c94026f1f589dc6206747dce70d21817491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denizhan=20Dak=C4=B1l=C4=B1r?= Date: Tue, 29 Jul 2025 13:31:26 +0300 Subject: [PATCH 8/8] new docs --- docs/reference/cli/pixi/add.md | 21 ++++++++----------- docs/reference/cli/pixi/build.md | 21 ++++++++----------- docs/reference/cli/pixi/exec.md | 21 ++++++++----------- docs/reference/cli/pixi/global/add.md | 21 ++++++++----------- docs/reference/cli/pixi/global/expose/add.md | 21 ++++++++----------- .../cli/pixi/global/expose/remove.md | 21 ++++++++----------- docs/reference/cli/pixi/global/install.md | 21 ++++++++----------- docs/reference/cli/pixi/global/list.md | 21 ++++++++----------- docs/reference/cli/pixi/global/remove.md | 21 ++++++++----------- .../reference/cli/pixi/global/shortcut/add.md | 21 ++++++++----------- .../cli/pixi/global/shortcut/remove.md | 21 ++++++++----------- docs/reference/cli/pixi/global/sync.md | 21 ++++++++----------- docs/reference/cli/pixi/global/uninstall.md | 21 ++++++++----------- docs/reference/cli/pixi/global/update.md | 21 ++++++++----------- docs/reference/cli/pixi/global/upgrade-all.md | 21 ++++++++----------- docs/reference/cli/pixi/import.md | 21 ++++++++----------- docs/reference/cli/pixi/install.md | 21 ++++++++----------- docs/reference/cli/pixi/reinstall.md | 21 ++++++++----------- docs/reference/cli/pixi/remove.md | 21 ++++++++----------- docs/reference/cli/pixi/run.md | 21 ++++++++----------- docs/reference/cli/pixi/shell-hook.md | 21 ++++++++----------- docs/reference/cli/pixi/shell.md | 21 ++++++++----------- docs/reference/cli/pixi/update.md | 21 ++++++++----------- docs/reference/cli/pixi/upgrade.md | 21 ++++++++----------- .../cli/pixi/workspace/channel/add.md | 21 ++++++++----------- .../cli/pixi/workspace/channel/remove.md | 21 ++++++++----------- .../workspace/export/conda-explicit-spec.md | 21 ++++++++----------- 27 files changed, 243 insertions(+), 324 deletions(-) diff --git a/docs/reference/cli/pixi/add.md b/docs/reference/cli/pixi/add.md index 2f5b8281ee..b52b09c30c 100644 --- a/docs/reference/cli/pixi/add.md +++ b/docs/reference/cli/pixi/add.md @@ -30,27 +30,24 @@ pixi add [OPTIONS] ... : Whether the pypi requirement should be editable ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Git Options - `--git (-g) ` diff --git a/docs/reference/cli/pixi/build.md b/docs/reference/cli/pixi/build.md index cec5a4e854..c36adfcf2f 100644 --- a/docs/reference/cli/pixi/build.md +++ b/docs/reference/cli/pixi/build.md @@ -24,27 +24,24 @@ pixi build [OPTIONS] : Whether to clean the build directory before building ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Global Options - `--manifest-path ` diff --git a/docs/reference/cli/pixi/exec.md b/docs/reference/cli/pixi/exec.md index 8d5ea67c23..1179002afa 100644 --- a/docs/reference/cli/pixi/exec.md +++ b/docs/reference/cli/pixi/exec.md @@ -35,27 +35,24 @@ pixi exec [OPTIONS] [COMMAND]... : Before executing the command, list packages in the environment Specify `--list=some_regex` to filter the shown packages ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Run a command and install it in a temporary environment. diff --git a/docs/reference/cli/pixi/global/add.md b/docs/reference/cli/pixi/global/add.md index 10bbc52e1a..daf5551468 100644 --- a/docs/reference/cli/pixi/global/add.md +++ b/docs/reference/cli/pixi/global/add.md @@ -26,27 +26,24 @@ pixi global add [OPTIONS] --environment ...
May be provided more than once. ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Adds dependencies to an environment diff --git a/docs/reference/cli/pixi/global/expose/add.md b/docs/reference/cli/pixi/global/expose/add.md index b26fe33b8d..258a066ff4 100644 --- a/docs/reference/cli/pixi/global/expose/add.md +++ b/docs/reference/cli/pixi/global/expose/add.md @@ -22,27 +22,24 @@ pixi global expose add [OPTIONS] --environment [MAPPING]...
**required**: `true` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Add exposed binaries from an environment to your global environment diff --git a/docs/reference/cli/pixi/global/expose/remove.md b/docs/reference/cli/pixi/global/expose/remove.md index 5e82ac4494..55ebce13ba 100644 --- a/docs/reference/cli/pixi/global/expose/remove.md +++ b/docs/reference/cli/pixi/global/expose/remove.md @@ -17,27 +17,24 @@ pixi global expose remove [OPTIONS] [EXPOSED_NAME]...
May be provided more than once. ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Remove exposed binaries from the global environment diff --git a/docs/reference/cli/pixi/global/install.md b/docs/reference/cli/pixi/global/install.md index df59407e35..175f097d60 100644 --- a/docs/reference/cli/pixi/global/install.md +++ b/docs/reference/cli/pixi/global/install.md @@ -37,27 +37,24 @@ pixi global install [OPTIONS] ... : Specifies that no shortcuts should be created for the installed packages ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Installs the defined packages in a globally accessible location and exposes their command line applications. diff --git a/docs/reference/cli/pixi/global/list.md b/docs/reference/cli/pixi/global/list.md index 0105ef65e9..0afd6a934e 100644 --- a/docs/reference/cli/pixi/global/list.md +++ b/docs/reference/cli/pixi/global/list.md @@ -24,27 +24,24 @@ pixi global list [OPTIONS] [REGEX]
**options**: `size`, `name` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Lists all packages previously installed into a globally accessible location via `pixi global install`. diff --git a/docs/reference/cli/pixi/global/remove.md b/docs/reference/cli/pixi/global/remove.md index 234997010e..157eb2f77c 100644 --- a/docs/reference/cli/pixi/global/remove.md +++ b/docs/reference/cli/pixi/global/remove.md @@ -22,27 +22,24 @@ pixi global remove [OPTIONS] ... : Specifies the environment that the dependencies need to be removed from ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Removes dependencies from an environment diff --git a/docs/reference/cli/pixi/global/shortcut/add.md b/docs/reference/cli/pixi/global/shortcut/add.md index 84a2f112bc..55476edf20 100644 --- a/docs/reference/cli/pixi/global/shortcut/add.md +++ b/docs/reference/cli/pixi/global/shortcut/add.md @@ -22,26 +22,23 @@ pixi global shortcut add [OPTIONS] --environment [PACKAGE]...
**required**: `true` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/shortcut/add_extender:example" diff --git a/docs/reference/cli/pixi/global/shortcut/remove.md b/docs/reference/cli/pixi/global/shortcut/remove.md index acd3fe6579..6271f57f78 100644 --- a/docs/reference/cli/pixi/global/shortcut/remove.md +++ b/docs/reference/cli/pixi/global/shortcut/remove.md @@ -17,26 +17,23 @@ pixi global shortcut remove [OPTIONS] [SHORTCUT]...
May be provided more than once. ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/shortcut/remove_extender:example" diff --git a/docs/reference/cli/pixi/global/sync.md b/docs/reference/cli/pixi/global/sync.md index 0eb5873b0c..340acc9fdf 100644 --- a/docs/reference/cli/pixi/global/sync.md +++ b/docs/reference/cli/pixi/global/sync.md @@ -12,26 +12,23 @@ pixi global sync [OPTIONS] ``` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/sync_extender:example" diff --git a/docs/reference/cli/pixi/global/uninstall.md b/docs/reference/cli/pixi/global/uninstall.md index 81d7228f68..8242aa49a6 100644 --- a/docs/reference/cli/pixi/global/uninstall.md +++ b/docs/reference/cli/pixi/global/uninstall.md @@ -18,27 +18,24 @@ pixi global uninstall [OPTIONS] ...
**required**: `true` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Description Uninstalls environments from the global environment. diff --git a/docs/reference/cli/pixi/global/update.md b/docs/reference/cli/pixi/global/update.md index 84c9230c53..8f46da796e 100644 --- a/docs/reference/cli/pixi/global/update.md +++ b/docs/reference/cli/pixi/global/update.md @@ -17,26 +17,23 @@ pixi global update [OPTIONS] [ENVIRONMENTS]...
May be provided more than once. ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/update_extender:example" diff --git a/docs/reference/cli/pixi/global/upgrade-all.md b/docs/reference/cli/pixi/global/upgrade-all.md index 5044c75508..3d448b8434 100644 --- a/docs/reference/cli/pixi/global/upgrade-all.md +++ b/docs/reference/cli/pixi/global/upgrade-all.md @@ -20,26 +20,23 @@ pixi global upgrade-all [OPTIONS]
**default**: `current_platform` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy --8<-- "docs/reference/cli/pixi/global/upgrade-all_extender:example" diff --git a/docs/reference/cli/pixi/import.md b/docs/reference/cli/pixi/import.md index d4bedabe4f..a17891b948 100644 --- a/docs/reference/cli/pixi/import.md +++ b/docs/reference/cli/pixi/import.md @@ -29,27 +29,24 @@ pixi import [OPTIONS] : A name for the created feature ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/install.md b/docs/reference/cli/pixi/install.md index c60536266d..c897f0a641 100644 --- a/docs/reference/cli/pixi/install.md +++ b/docs/reference/cli/pixi/install.md @@ -19,27 +19,24 @@ pixi install [OPTIONS] : Install all environments ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--frozen` diff --git a/docs/reference/cli/pixi/reinstall.md b/docs/reference/cli/pixi/reinstall.md index c012f0b79e..adee3cab30 100644 --- a/docs/reference/cli/pixi/reinstall.md +++ b/docs/reference/cli/pixi/reinstall.md @@ -24,27 +24,24 @@ pixi reinstall [OPTIONS] [PACKAGE]... : Install all environments ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--frozen` diff --git a/docs/reference/cli/pixi/remove.md b/docs/reference/cli/pixi/remove.md index bbaa23c910..f18efb887c 100644 --- a/docs/reference/cli/pixi/remove.md +++ b/docs/reference/cli/pixi/remove.md @@ -28,27 +28,24 @@ pixi remove [OPTIONS] ...
**default**: `default` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Git Options - `--git (-g) ` diff --git a/docs/reference/cli/pixi/run.md b/docs/reference/cli/pixi/run.md index 8c95b9bfe9..4e89c155f4 100644 --- a/docs/reference/cli/pixi/run.md +++ b/docs/reference/cli/pixi/run.md @@ -29,27 +29,24 @@ pixi run [OPTIONS] [TASK]... : ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy - `--force-activate` : Do not use the environment activation cache. (default: true except in experimental mode) - `--no-completions` diff --git a/docs/reference/cli/pixi/shell-hook.md b/docs/reference/cli/pixi/shell-hook.md index 19ad108526..d25ae7ba6c 100644 --- a/docs/reference/cli/pixi/shell-hook.md +++ b/docs/reference/cli/pixi/shell-hook.md @@ -21,27 +21,24 @@ pixi shell-hook [OPTIONS]
**default**: `false` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy - `--force-activate` : Do not use the environment activation cache. (default: true except in experimental mode) - `--no-completions` diff --git a/docs/reference/cli/pixi/shell.md b/docs/reference/cli/pixi/shell.md index 6f1f9465ec..b849aa6b5c 100644 --- a/docs/reference/cli/pixi/shell.md +++ b/docs/reference/cli/pixi/shell.md @@ -16,27 +16,24 @@ pixi shell [OPTIONS] : The environment to activate in the shell ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy - `--change-ps1 ` : Do not change the PS1 variable when starting a prompt
**options**: `true`, `false` diff --git a/docs/reference/cli/pixi/update.md b/docs/reference/cli/pixi/update.md index 53ab62b405..b96e39c73b 100644 --- a/docs/reference/cli/pixi/update.md +++ b/docs/reference/cli/pixi/update.md @@ -31,27 +31,24 @@ pixi update [OPTIONS] [PACKAGES]... : Output the changes in JSON format ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Global Options - `--manifest-path ` diff --git a/docs/reference/cli/pixi/upgrade.md b/docs/reference/cli/pixi/upgrade.md index 44b131a1b8..bceddbbdb2 100644 --- a/docs/reference/cli/pixi/upgrade.md +++ b/docs/reference/cli/pixi/upgrade.md @@ -29,27 +29,24 @@ pixi upgrade [OPTIONS] [PACKAGES]... : Only show the changes that would be made, without actually updating the manifest, lock file, or environment ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/workspace/channel/add.md b/docs/reference/cli/pixi/workspace/channel/add.md index 738b31233a..080475e1f0 100644 --- a/docs/reference/cli/pixi/workspace/channel/add.md +++ b/docs/reference/cli/pixi/workspace/channel/add.md @@ -26,27 +26,24 @@ pixi workspace channel add [OPTIONS] ... : The name of the feature to modify ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/workspace/channel/remove.md b/docs/reference/cli/pixi/workspace/channel/remove.md index f0f80c54ac..8cbc1615c4 100644 --- a/docs/reference/cli/pixi/workspace/channel/remove.md +++ b/docs/reference/cli/pixi/workspace/channel/remove.md @@ -26,27 +26,24 @@ pixi workspace channel remove [OPTIONS] ... : The name of the feature to modify ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--no-install` diff --git a/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md b/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md index fd655d6dd3..1890b09476 100644 --- a/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md +++ b/docs/reference/cli/pixi/workspace/export/conda-explicit-spec.md @@ -31,27 +31,24 @@ pixi workspace export conda-explicit-spec [OPTIONS]
**default**: `false` ## Config Options -- `--tls-no-verify` -: Do not verify the TLS certificate of the server - `--auth-file ` : Path to the file containing the authentication token +- `--concurrent-downloads ` +: Max concurrent network requests, default is `50` +- `--concurrent-solves ` +: Max concurrent solves, default is the number of CPUs +- `--pinning-strategy ` +: Set pinning strategy +
**options**: `semver`, `minor`, `major`, `latest-up`, `exact-version`, `no-pin` - `--pypi-keyring-provider ` : Specifies whether to use the keyring to look up credentials for PyPI
**options**: `disabled`, `subprocess` -- `--concurrent-solves ` -: Max concurrent solves, default is the number of CPUs -- `--concurrent-downloads ` -: Max concurrent network requests, default is `50` -- `--tool-platform ` -: The platform to use to install tools - `--run-post-link-scripts` : Run post-link scripts (insecure) +- `--tls-no-verify` +: Do not verify the TLS certificate of the server - `--use-environment-activation-cache` : Use environment activation cache (experimental) -- `--detached-environments ` -: Set detached environments path -- `--pinning-strategy ` -: Set pinning strategy ## Update Options - `--no-lockfile-update`