-
Batch Mode (
-b
):- Runs the installer without any user input (non-interactive mode).
- Automatically accepts the default settings.
- Useful in automated setups like scripts or CI/CD pipelines.
-
Update Mode (
-u
):- Updates an existing Miniconda installation.
- If Miniconda is already installed, it upgrades the version or modifies the existing installation without reinstalling it completely.
-
Installation Path (
-p <path>
):- Specifies the installation directory for Miniconda.
- Example:
-p ~/miniconda3
installs Miniconda in theminiconda3
directory in the user's home folder.
-
Force Mode (
-f
):- Forces installation even if the target directory already exists, potentially overwriting it.
-
License Agreement (
-a
):- Automatically accepts the license agreement.
- Example:
-a yes
.
-
Prefix (
--prefix
):- An alternative to
-p
, used to set the installation directory. - Example:
--prefix ~/miniconda
.
- An alternative to
bash ~/miniconda.sh -b -p ~/my_conda -u
- Installs or updates Miniconda non-interactively in the
~/my_conda
directory.