gsutil
A command line tool for interacting with cloud storage services.
What it is and what it does
gsutil is Google's official command-line interface for Google Cloud Storage, allowing developers and operators to manage cloud storage from the terminal. It handles the full lifecycle of bucket and object operations—creation, deletion, uploading, downloading, listing, and permission management—without requiring a graphical interface or custom scripts.
The tool integrates deeply with Google Cloud authentication and relies on 14 runtime dependencies to handle OAuth flows, HTTP communication, cryptography, and cloud API interactions. It's marked as Production/Stable and actively maintained, supporting modern Python versions from 3.9 through 3.14. Installation carries moderate friction due to its dependency chain, but the tool is widely used in cloud infrastructure automation, CI/CD pipelines, and manual storage administration.
Use it for:
- Automate bucket and object management in CI/CD pipelines and infrastructure-as-code workflows.
- Upload and download large datasets or application artifacts to/from Google Cloud Storage.
- Manage access control lists and permissions on buckets and objects from the command line.
- List and inspect bucket contents, metadata, and storage usage in scripts or manual operations.
- Migrate or sync data between local filesystems and Google Cloud Storage.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
gsutil is a command-line tool for managing Google Cloud Storage buckets and objects, supporting operations like creation, deletion, upload, download, listing, and ACL editing.
Yes, if you work with Google Cloud Storage. gsutil is the canonical tool for GCS management from the command line, actively maintained, production-stable, and carries no known vulnerabilities. The high install friction is justified by its comprehensive dependency chain for secure cloud authentication and API interaction. Not relevant if you don't use Google Cloud Storage.
Install
gsutil on PyPI
pip
pip install gsutiluv
uv add gsutilpoetry
poetry add gsutilInstalling gsutil
Before you install
High install friction due to 14 runtime dependencies including cryptographic libraries (pyOpenSSL, google-auth, google-apitools) and OAuth plugins. Maintenance is active with recent releases, supporting Python 3.9 through 3.14.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions, typical for Google-backed infrastructure tools.
Quickstart
pip install gsutil
gsutil ls gs://bucket-name
gsutil cp local-file gs://bucket-name/
Requires Python 3.9 or later; Google Cloud credentials must be configured (typically via gcloud auth or environment variables) for authentication to work.
Verify before relying
- Whether the 14 dependencies introduce security surface beyond what's covered by the zero known vulnerabilities in OSV.
- Performance characteristics when handling large-scale object operations or transfers.
- Compatibility with non-Google cloud storage services or S3-like APIs.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.9) |
| Install friction | high — source build required |
| Runtime dependencies | 14 — argcomplete, crcmod, fasteners, gcs-oauth2-boto-plugin, google-apitools, httplib2, google-reauth, mock, monotonic, pyOpenSSL, retry_decorator, six, google-auth, google-auth-httplib2 |
| Maintenance | actively maintained — 108 days since the last release |
| First released | |
| Downloads | 1,265,983/month — #4,142 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: gsutil-5.37.tar.gz
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
gcp-storage-emulatorProvides a local emulator for Google Cloud…
permissive · top 15,000 on PyPI
gcsfsProvides a file-system-like interface to Google…
permissive · top 1,000 on PyPI
rclone-pythonA Python wrapper that exposes rclone's cloud…
permissive · top 15,000 on PyPI
vercel_blobA Python client for uploading, downloading,…
unclear · top 15,000 on PyPI
coscmdCOSCMD is a command-line tool for managing…
permissive · top 15,000 on PyPI
b2Command-line interface for managing files,…
permissive · top 15,000 on PyPI
kbcstoragePython client for the Keboola Storage API that…
permissive · top 15,000 on PyPI
gcloud-aio-storageProvides an asyncio-based Python client for…
permissive · top 1,000 on PyPI
boostedblobboostedblob is a command-line tool and async…
permissive · top 5,000 on PyPI
storage3Async Python client library for uploading,…
permissive · top 1,000 on PyPI