Skip to main content

Usage

anaconda repo remove [OPTIONS] <SPEC> [<SPEC> ...]

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.

Arguments

Options

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