Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.21 KB

installation-modes.md

File metadata and controls

33 lines (25 loc) · 1.21 KB

Short Notes on Command Options for Miniconda Installation:

  1. 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.
  2. 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.
  3. Installation Path (-p <path>):

    • Specifies the installation directory for Miniconda.
    • Example: -p ~/miniconda3 installs Miniconda in the miniconda3 directory in the user's home folder.

Other Common Options:

  1. Force Mode (-f):

    • Forces installation even if the target directory already exists, potentially overwriting it.
  2. License Agreement (-a):

    • Automatically accepts the license agreement.
    • Example: -a yes.
  3. Prefix (--prefix):

    • An alternative to -p, used to set the installation directory.
    • Example: --prefix ~/miniconda.

Example:

bash ~/miniconda.sh -b -p ~/my_conda -u
  • Installs or updates Miniconda non-interactively in the ~/my_conda directory.