▲ 139 today2.1k starsPython
CLI lets you spin up Colab GPUs from your terminal
What is google-colab-cli?
The google-colab-cli tool provides a command-line interface to Google Colab. It can provision CPU, GPU or TPU VMs, run local scripts or notebooks, mount Drive, and automatically shut down the runtime, all from your shell.
Who it is for
Developers who need headless or automated access to Colab’s hardware can script training jobs or pipelines without opening a browser.
Try it in 60 seconds
You need: Linux or macOS system with Python installed
uv tool install google-colab-clicolab newecho 'print("Hello from Google Colab!")' | colab execcolab stop
Apache-2.0 licenseUpdated todayPython36 open issues
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted googlecolab/google-colab-cli on November 8, 2026, when it had 2.1k GitHub stars. It now has 2.1k. On its busiest day it gained 139 stars. It is published under the Apache-2.0 license and has 305 forks. Early Signal files it under Coding, Agents, Inference.
Questions about google-colab-cli
- Is google-colab-cli free and open source?
- Yes. googlecolab/google-colab-cli is open source under the Apache-2.0 license, and the code is on GitHub at https://github.com/googlecolab/google-colab-cli.
- How do I install google-colab-cli?
- Use one of these, depending on your setup: uv tool install google-colab-cli · colab new · echo 'print("Hello from Google Colab!")' | colab exec · colab stop
- What do I need to run google-colab-cli?
- Linux or macOS system with Python installed