(reference_pebble_rm_command)= # rm command The `rm` command is used to remove a file or directory. ## Usage ```{terminal} :input: pebble rm --help Usage: pebble rm [rm-OPTIONS] The rm command removes a file or directory. [rm command options] -r Remove all files and directories recursively in the specified path ``` Read more: [Use Pebble in containers](../pebble-in-containers.md).