Skip to main content

Usage

anaconda repo remove <SPEC> [<SPEC> ...] [-f] [--family <FAMILY>]
Replace <SPEC> with a package spec (for example, channel::package or channel::package/version).
Replace <FAMILY> with the artifact family when filtering (for example, conda).

Description

Removes a package or artifact from the repository. The spec must use the formal package name as it appears in the package URL. You can remove a specific file, a version (all files), or a package (all versions). By default, the command prompts for confirmation unless --force is used.

Options

Option
Default
Description
\<SPEC\>
Package spec: <channel>[/<subchannel>][::<package>[/<version>[/<filename>]]] (one or more)
-f, --force
Do not prompt for confirmation
--family <FAMILY>
Artifact family: conda, python, cran, anaconda_project, anaconda_env, notebook, gra
-h, --help
Show help for this command

Examples

Remove a specific package file
anaconda repo remove mychannel::mypackage/1.2.0/mypackage.tar.gz
Remove a specific file without specifying the version
anaconda repo remove mychannel::mypackage//mypackage.tar.gz
Remove all files for a version
anaconda repo remove mychannel::mypackage/1.2.0
Remove entire package (all versions and data)
anaconda repo remove mychannel::mypackage
Remove without confirmation prompt
anaconda repo remove mychannel::mypackage/1.0.0 --force