Client - google/googet GitHub Wiki

The googet client has multiple subcommands, googet help will show info command help and googet flags will show available flags.

install

Downloads and installs a package, install also performs package upgrades. This command will attempt to resolve and download the package from a repository if it is provided a package name or a package name with version. If a package path is provided that package will not be resolved from a repository.

Install latest available:

googet install foopkg
googet install foopkg.noarch

Install specific version:

googet install foopkg.noarch.1.2.3@4

Reinstall a package:

googet install -reinstall foopkg.noarch.1.2.3@4

Install a local package:

googet install [email protected]

Install from a specific source repo(s):

googet install -sources repo1,repo2,... [email protected]

remove

Uninstalls a package.

googet remove <name>

download

Downloads a package. An optional 'download_dir' flag can be passed otherwise it downloads to the current working directory.

googet download [-download_dir <dir>] <name>

update

Install all available package updates.

googet update

installed

Lists all installed packages using the (optional) filter. The default filter is an empty string and will return all packages, otherwise it will be used as substring search.

googet installed [<name>]

available

Searches the repo for packages using the (optional) filter. The default filter is an empty string and will return all packages, otherwise it will be used for a substring search.

googet available [<name>]

latest

Return the latest version of a package.

googet latest <name>
⚠️ **GitHub.com Fallback** ⚠️