docs/reference/cli/pixi/install.md
Install an environment, both updating the lock file and installing the environment
--8<-- "docs/reference/cli/pixi/install_extender:description"
pixi install [OPTIONS]
--environment (-e) <ENVIRONMENT></a>
: The environment to installMay be provided more than once.
--all (-a)</a>
: Install all environments--skip <SKIP></a>
: Skip installation of specific packages present in the lock file. This uses a soft exclusion: the package will be skipped but its dependencies are installedMay be provided more than once.
--skip-with-deps <SKIP_WITH_DEPS></a>
: Skip a package and its entire dependency subtree. This performs a hard exclusion: the package and its dependencies are not installed unless reachable from another non-skipped rootMay be provided more than once.
--only <ONLY></a>
: Install and build only these package(s) and their dependencies. Can be passed multiple timesMay be provided more than once.
--no-config</a>
: Don't read system or user-level configuration files. Project-local <project>/.pixi/config.toml is still loadedenv: PIXI_NO_CONFIG
default: false
--config-file <PATH></a>
: Load configuration from this file instead of searching system and user-level paths. Project-local <project>/.pixi/config.toml is still merged on topenv: PIXI_CONFIG_FILE
--auth-file <AUTH_FILE></a>
: Path to the file containing the authentication token--concurrent-downloads <CONCURRENT_DOWNLOADS></a>
: Max concurrent network requests, default is 50--concurrent-solves <CONCURRENT_SOLVES></a>
: Max concurrent solves, default is the number of CPUs--pinning-strategy <PINNING_STRATEGY></a>
: Set pinning strategyoptions: semver, minor, major, latest-up, exact-version, no-pin
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER></a>
: Specifies whether to use the keyring to look up credentials for PyPIoptions: disabled, subprocess
--run-post-link-scripts</a>
: Run post-link scripts (insecure)--no-symbolic-links</a>
: Disallow symbolic links during package installationenv: PIXI_NO_SYMBOLIC_LINKS
--no-hard-links</a>
: Disallow hard links during package installationenv: PIXI_NO_HARD_LINKS
--no-ref-links</a>
: Disallow ref links (copy-on-write) during package installationenv: PIXI_NO_REF_LINKS
--tls-no-verify</a>
: Do not verify the TLS certificate of the server--tls-root-certs <TLS_ROOT_CERTS></a>
: Which TLS root certificates to use: 'webpki' (bundled Mozilla roots) or 'system' (system store)env: PIXI_TLS_ROOT_CERTS
--use-environment-activation-cache</a>
: Use environment activation cache (experimental)--frozen</a>
: Install the environment as defined in the lock file, doesn't update lock file if it isn't up-to-date with the manifest fileenv: PIXI_FROZEN
--locked</a>
: Check if lock file is up-to-date before installing the environment, aborts when lock file isn't up-to-date with the manifest fileenv: PIXI_LOCKED
--manifest-path (-m) <MANIFEST_PATH></a>
: The path to pixi.toml, pyproject.toml, or the workspace directory--workspace (-w) <WORKSPACE></a>
: Name of the workspaceInstall an environment, both updating the lock file and installing the environment.
This command installs an environment, if the lock file is not up-to-date it will be updated.
pixi install only installs one environment at a time, if you have multiple environments you can select the right one with the --environment flag. If you don't provide an environment, the default environment will be installed.
If you want to install all environments, you can use the --all flag.
Running pixi install is not required before running other commands like pixi run or pixi shell. These commands will automatically install the environment if it is not already installed.
You can use pixi reinstall to reinstall all environments, one environment or just some packages of an environment.
--8<-- "docs/reference/cli/pixi/install_extender:example"