Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing command options in micromamba #3535

Open
1 of 2 tasks
JohanMabille opened this issue Oct 15, 2024 · 1 comment
Open
1 of 2 tasks

Missing command options in micromamba #3535

JohanMabille opened this issue Oct 15, 2024 · 1 comment

Comments

@JohanMabille
Copy link
Member

JohanMabille commented Oct 15, 2024

The following command options in conda / mamba1 are missing in micromamba/mamba 2:

TODO: list missing command options and track them here.

@anutosh491
Copy link

anutosh491 commented Oct 16, 2024

More commands found in conda/mamba1 missing in micromamba/mamba2

Not shown explicitly through --help

  • compare
  • deactivate
  • init
  • uninstall
  • package (Create low-level conda packages. (EXPERIMENTAL))

Others

  • doctor (Display a health report for your environment)
  • export (Export a given environment)
  • notices (Retrieve latest channel notifications)
  • rename
  • content-trust (Signing and verification tools for Conda)

Differences in flags/utilities for common commands (provided by conda but not by mamba 2)

  1. Create
  • --clone ENV (Create a new environment as a copy of an existing local env)
  • --show-channel-urls (Show channel urls)
  • -C, --use-index-cache ( Use cache of channel index files, even if it has expired)
  • --dev ( Use sys.executable -m conda in wrapper scripts instead of CONDA_EXE. This is mainly for use during tests where we test new conda sources against old Python versions.)
  • --no-lock (Disable locking)
  1. Install
  • --revision REVISION (Revert to the specified REVISION)
  • --dev
  • --solver (Choose which solver backend to use)
  • --no-lock
  • --show-channel-urls
  1. Update (some common to create & install)
  • --use-local (Use locally built packages)
  • --force-reinstall (Ensure that any user-requested package is uninstalled and reinstalled)
  • --update-deps (Update dependencies that have available update)
  • --no-update-deps (Do not update or change already-installed dependencies)
  • --update-specs (Update based on provided specifications)
  • --clobber (Allow clobbering of overlapping file paths within package)
  1. list (some commonly listed above)
  • --reverse (List installed packages in reverse order)
  • -c, --canonical (Output canonical names of packages only)
  • --explicit (List explicitly all installed conda packages with URL)
  • --md5 (Add MD5 hashsum when using --explicit)
  • -e, --export (Output explicit, machine-readable requirement strings instead of human-readable lists of packages)
  • -r, --revisions (List the revision history)
  • --no-pip (Do not include pip-only installed packages)
  • --auth (In explicit mode, leave authentication details in package URLs)
  1. remove
  • --keep-env (Used with --all, delete all packages but keep the environment)
  • -c CHANNEL
  • --use-local
  • --override-channels
  • --repodata-fn REPODATA_FNS
  • --features (Remove features (instead of packages))
  • --force-remove, --force
  • some mentioned above like (--use-index-cache, networking options like ssl-verify, --no-pin, --solver etc)
  1. info
  • --base (Display base environment path)
  • -e, --envs (List all known conda environments)
  • -s, --system (List environment variables)
  • --unsafe-channels (Display list of channels with tokens exposed)
  1. remove
  • -c [TEMPFILES ...], --tempfiles [TEMPFILES ...]. (Remove temporary files that could not be deleted earlier due to being in-use)
  • -l, --logfiles (Remove log files)
  1. run
  • --no-capture-output, --live-stream (Don't capture stdout/stderr)
  • --debug-wrapper-scripts ( When this is set, where implemented, the shell wrapper scriptswill use the echo command to print debugging information to stderr)
  1. search
  • -i, --info (Provide detailed information about each package)
  • --skip-flexible-search (Do not perform flexible search if initial search fails)
  • some common ones as pointed above.
  1. activate
  • --no-stack Do not stack the environment

NOTE: For the common commands conda displays an basic example/docstring for how to use each command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants