-
Notifications
You must be signed in to change notification settings - Fork 41
Client
The googet client has multiple subcommands, googet help
will show info command
help and googet flags
will show available flags.
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]
Uninstalls a package.
googet remove <name>
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>
Install all available package updates.
googet update
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>]
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>]
Return the latest version of a package.
googet latest <name>