LinuxCommandLibrary

gcloud-components

Google Cloud SDK component manager

TLDR

List available components

$ gcloud components list
copy
Install component
$ gcloud components install [kubectl]
copy
Update all components
$ gcloud components update
copy
Remove component
$ gcloud components remove [component-id]
copy
Reinstall component
$ gcloud components reinstall [component-id]
copy

SYNOPSIS

gcloud components command [options]

DESCRIPTION

gcloud components manages the modular component system of the Google Cloud SDK. The SDK follows a core-plus-components architecture where a minimal base installation can be extended with additional tools as needed.
Common optional components include kubectl for Kubernetes management, gsutil for Cloud Storage operations, bq for BigQuery interactions, and language-specific App Engine runtimes. This modular approach keeps the initial SDK installation small while allowing expansion for specific workflows.
The update command keeps all installed components current with the latest features and bug fixes. Component management is tracked locally, allowing different machines to have different component sets based on their specific use cases. Some components have dependencies on others, which the system handles automatically during installation.

PARAMETERS

COMMAND

Operation: list, install, update, remove, reinstall.
list
Show available and installed components.
install COMPONENT
Install specified component.
update
Update SDK to latest version.
remove COMPONENT
Uninstall component.
reinstall COMPONENT
Reinstall component.
--help
Display help information.

CAVEATS

Updates may change behavior. Some components have dependencies. Admin rights may be needed.

HISTORY

gcloud components is part of the Google Cloud SDK management system, enabling modular installation of only the tools you need.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community