# rmdir

> Removes a directory.

- Remove directory, provided it is empty. Use `rm` to remove not empty directories:

`rmdir {{path/to/directory}}`

- Remove directories recursively (useful for nested dirs):

`rmdir -p {{path/to/directory}}`
