---
name: "zplug-clean"
section: "1"
platform: "linux"
package: "zplug"
version: "2.4.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/zplug-clean"
---

# zplug-clean(1)

Remove repositories which are no longer managed

## NAME

zplug-clean - Remove repositories which are no longer managed

## SYNOPSIS

```
zplug clean [--force] [--select] ["username/reponame"]
```

```
The word ´package´ refers to the string in the format: "username/reponame".
```

## DESCRIPTION

Remove the packages that is installed in the **$ZPLUG\_HOME/repos** directory but not described in your **.zshrc** or config file for zplug. Otherwise, remove the packages you want to uninstall expressly.

## OPTIONE

**--force**

Forcibly. By default, to confirm whether you want to delete by yes/no prompt.

**--select**

Remove to choose from the list of installed packages.

## EXAMPLES

Remove the packages that is installed but not described with the prompt:

```
$ zplug clean
```

Same as above, without the prompt:

```
$ zplug clean --force
```

Remove a particular package:

```
$ zplug clean ´some_author/some_repo´
Remove? (y/N) ´~/.zplug/repos/some_author/some_repo´
```

## SEE ALSO

**[zplug(1)](/zplug/1.md)**

## FURTHER DOCUMENTATION

See the references in official wiki page to get started using zplug. The wiki may perhaps be overwhelming for first-time users.

## AUTHORS

zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it.

## COPYING

Copyright (C) 2015-2016 Masaki Ishiyama

MIT License

## REPORTING BUGS

Report bugs to the zplug issues
