pixi reinstall#
About#
Re-install an environment, both updating the lockfile and re-installing the environment
Usage#
Arguments#
-
<PACKAGE>- Specifies the package that should be reinstalled. If no package is given, the whole environment will be reinstalled
May be provided more than once.
Options#
-
--environment (-e) <ENVIRONMENT>- The environment to install
May be provided more than once.
-
--all (-a)- Install all environments
Config Options#
-
--auth-file <AUTH_FILE>- Path to the file containing the authentication token
-
--concurrent-downloads <CONCURRENT_DOWNLOADS>- Max concurrent network requests, default is
50
-
--concurrent-solves <CONCURRENT_SOLVES>- Max concurrent solves, default is the number of CPUs
-
--pinning-strategy <PINNING_STRATEGY>- Set pinning strategy
options:semver,minor,major,latest-up,exact-version,no-pin
-
--pypi-keyring-provider <PYPI_KEYRING_PROVIDER>- Specifies whether to use the keyring to look up credentials for PyPI
options:disabled,subprocess
-
--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)
Update Options#
-
--frozen- Install the environment as defined in the lockfile, doesn't update lockfile if it isn't up-to-date with the manifest file
env:PIXI_FROZEN
-
--locked- Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn't up-to-date with the manifest file
env:PIXI_LOCKED
Global Options#
-
--manifest-path <MANIFEST_PATH>- The path to
pixi.toml,pyproject.toml, or the workspace directory
Description#
Re-install an environment, both updating the lockfile and re-installing the environment.
This command reinstalls an environment, if the lockfile is not up-to-date it will be updated. If packages are specified, only those packages will be reinstalled. Otherwise the whole environment will be reinstalled.
pixi reinstall only re-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 re-installed.
If you want to re-install all environments, you can use the --all flag.