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

# zplug-check(1)

Return true if all packages are installed, false otherwise

## NAME

zplug-check - Return true if all packages are installed, false otherwise

## SYNOPSIS

```
zplug check [--verbose] ["username/reponame"]
```

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

## DESCRIPTION

It’s possible to confirm whether the package is installed. Besides, if no packages are given as the arguments, check command checks whether there is a package that has not been installed.

## OPTIONS

- **--verbose**

  Be verbose.

## EXAMPLES

Installation check:

```
if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi
```

The above code means that the packages will be installed if there is a package that has not been installed.

Installation check from CLI:

```
$ zplug check --verbose ´some_author/some_repo´
- some_author/some_repo: not installed
```

## SEE ALSO

**[zplug(1)](/zplug/1.md)**, **[zplug-status(1)](/zplug-status/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
