Google Cloud SDK (gcloud CLI) plugin for vfox and mise.
mise use -g vfox:gcloud@latestvfox add gcloud
vfox install gcloud@latest# With mise
mise use gcloud@450.0.0
# With vfox
vfox install gcloud@450.0.0# With mise
mise ls-remote gcloud
# With vfox
vfox search gcloudAfter installation, you may need to initialize gcloud:
gcloud initYou can install additional SDK components:
gcloud components install kubectl
gcloud components install gke-gcloud-auth-plugin
gcloud components install cloud-sql-proxyYou can define a set of Cloud SDK components to be installed automatically every
time a new gcloud version is installed. Create a file named
.default-cloud-sdk-components with one component ID per line.
The plugin searches for this file in the following locations (in order):
$CLOUDSDK_CONFIG/.default-cloud-sdk-components(defaults to~/.config/gcloud/on Unix or%APPDATA%\gcloud\on Windows)$HOME/.default-cloud-sdk-components
Example ~/.default-cloud-sdk-components:
alpha
beta
cloud-firestore-emulator
gke-gcloud-auth-plugin
- Linux (x86_64, ARM)
- macOS (x86_64, ARM/Apple Silicon)
- Windows (x86_64)
This plugin sets the following environment variables:
| Variable | Description |
|---|---|
PATH |
Includes the gcloud SDK bin directory |
CLOUDSDK_ROOT_DIR |
Points to the gcloud SDK installation directory |
MIT