ks pkg remove

Remove a package from the app or environment scope

Synopsis

The remove command removes a reference to a ksonnet library. The reference can either be
global or scoped to an environment. If the last reference to a library version is removed, the cached
files will be removed as well.

Syntax

  1. ks pkg remove <registry>/<library> [flags]

Examples

  1. # Remove an nginx dependency
  2. ks pkg remove incubator/nginx
  3. # Remove an nginx dependency from the stage environment
  4. ks pkg remove incubator/nginx --env stage

Options

  1. --env string Environment to remove package from (optional)
  2. -h, --help help for remove

Options inherited from parent commands

  1. --dir string Ksonnet application root to use; Defaults to CWD
  2. --tls-skip-verify Skip verification of TLS server certificates
  3. -v, --verbose count Increase verbosity. May be given multiple times.

SEE ALSO

  • ks pkg - Manage packages and dependencies for the current ksonnet application