Skip to content
On this page

saya vm rm

Remove one or more stopped VMs

Synopsis

Remove one or more stopped Vms by id or id-prefix.

saya vm rm [OPTIONS] ID|ID-Prefix [ID|ID-Prefix]...

Examples


- remove a stopped VM by id
  saya vm rm 22ef4769-54a0-4717-858f-6857af10ae81
  
- remove a stopped VM by id prefix
  saya vm rm 22ef4769

- remove multiple stopped VMs
  saya vm rm 22ef4769 b293d619-6646-4598-a886-ac4d54933c2f

Options

  -h, --help   help for rm

Options inherited from parent commands

      --config string        config file (default is .saya.yaml file found in the current working directory or  $HOME/.saya or /etc/saya/.saya.yaml
      --forge string         path of the directory that holds saya runtime data(e.g. local repository, VM data, transient session data, etc)
  -l, --license-key string   license key to use saya
      --log-level string     logging level, error|warn|info|debug|trace (default "info")

SEE ALSO