skillfed

gsutil

A command line tool for interacting with cloud storage services.

gsutil v5.37 1.3M downloads/30d#4,142 on PyPI
Permissive license Apache 2.0 Active released

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 gsutil

uv

uv add gsutil

poetry

poetry add gsutil

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: System :: FilesystemsTopic :: Utilities

Tags

google cloud storage cligcs command line toolcloud storage bucket managementgsutil google cloudcloud storage upload downloadgcs object managementgoogle storage command line
cloud-storagegoogle-cloudcli-tool

More Utilities packages