Run CLI is an interactive CLI to manage your Google Cloud Run resources in a visual way.
The idea is to establish a high-performance, terminal-based alternative to the Google Cloud Console for executing daily operational tasks.
- Visual Resource Management: Offers a sophisticated visual representation of cloud resources using interactive tables and dashboards, providing superior clarity over standard flat CLI output.
- Interactive Discoverability: Simplifies the management of complex settings through intuitive interactive menus, eliminating the need to memorize extensive and complex command-line flags.
- Rapid Context Switching: Enables instantaneous switching between different Google Cloud projects and regions within a single, continuous terminal session.
- Interactive TUI: A user-friendly terminal interface to manage your Cloud Run resources.
- Dynamic Terminal Title: Context-aware window/terminal title displaying the current view, inspected resource, or active modal (e.g.,
Run | Services,Run | Services | frontend,Run | Help). - Project & Region Selection: Easily switch between your Google Cloud projects and regions.
- Log Viewer: Stream logs from your services directly in the terminal.
- Konami Code: Try the legendary code for a little surprise!
- Service Management: View, search, and manage your Cloud Run services.
- Authentication Management: Toggle between "Require authentication" and "Allow unauthenticated invocations" directly from the interface.
- Service Dashboard: Navigate to a dedicated dashboard for each service with multiple views.
- Observability & Telemetry: Real-time metrics in the Service Dashboard featuring KPI summary cards (Total Requests, 5xx Error Rate %, p95 Latency, Active Instances), Unicode sparkline trend graphs, window switcher (
1h/6h/24h), auto-refresh toggle (a), and recent warning/error logs stream. - Service Proxy: Locally proxy private services with automatic authentication token injection (press
p). - Networking View: Monitor ingress settings, endpoints status (URI, IAP), and VPC Access configurations.
- Security View: Check authentication requirements, service identity, encryption keys, and binary authorization policies.
- Revision Management: Detailed list of revisions sorted by creation date (most recent first) with traffic allocation, tags, and deployment history.
- Deep Insights: Explore revision details including billing mode, startup CPU boost, concurrency, and request timeouts.
- Resource Monitoring: View container configurations, images, ports, and resource limits (Memory, CPU, and GPU/Accelerators).
- Job Management: Monitor and manage your Cloud Run jobs.
- Job Dashboard: Dedicated view for jobs including execution history and status.
- Execution Management: View detailed execution history with task success/failure counts, duration, and status.
- Instance Management: View, inspect, and manage your Google Cloud Run instances (
Ctrl+N). - Direct Lifecycle Actions: Start (
s), Stop (x), and Delete (k) instances interactively. - Authentication Management: Toggle between "Require authentication" and "Allow unauthenticated invocations" directly from the interface (
a). - Instance Proxy: Locally proxy private instances with automatic authentication token injection (
p) and open the active URL in your default browser (o). - Instance Dashboard: Explore multi-tab inspection dashboards including Overview, Containers, Conditions & Networking, and raw syntax-highlighted YAML/JSON definitions (
Enter). - Log Viewer: Stream Cloud Logging records specific to instances (
l). - Console Integration: Direct shortcut (
Ctrl+Z) to open the selected instance or instances list directly in Google Cloud Console.
- Worker Pool Management: View and manage your Cloud Run worker pools.
- Scaling Control: Monitor and adjust scaling settings.
- Domain Management: View your custom domain mappings.
- DNS Configuration: Quickly access DNS record instructions for easy setup.
- Go Module Version Detection: Automatically resolves release version, commit hash, and build date when installed via
go installusing Go runtime build information. - Update Notifications: Non-blocking background check unobtrusively alerts you in the TUI header whenever a newer release is published on GitHub.
Run CLI is available on Linux, OSX and Windows platforms.
-
Binaries for Mac OS, Linux and Windows are available as tarballs in the release page.
-
Via Homebrew (Mac OS) or LinuxBrew (Linux)
brew tap julienbreux/run brew install --cask julienbreux/run/run
-
Via
go installYou can install Run CLI using
go install:go install github.com/JulienBreux/run-cli/cmd/run@latest
-
Via CURL
You can install Run CLI using CURL and the shell script:
curl -sL https://JulienBreux.github.io/run-cli/get | sh
Simply run the command:
gcloud auth application-default login # Currently mandatory :/
runThis will start the interactive TUI, allowing you to manage your Google Cloud Run resources.
This project uses a Makefile to streamline development. Running make or make help displays all available targets.
To view all available targets and descriptions:
make
# or
make help- Go (version 1.27+)
- Docker (for building the Docker image)
- Google Cloud SDK (
gcloud, optional, for updating the regions list)
To build the binary from source, run:
make buildThis will create the run executable in the ./bin directory.
To run the unit tests:
make testTo lint the codebase:
make lintTo update the list of supported regions in internal/run/api/region/region.go using the gcloud CLI:
make regions-updateContributions are welcome! We appreciate all contributions, from bug reports and documentation enhancements to code and feature additions.
- Contribution Guidelines: Please review our Contributing Guidelines to get started with setup, development targets, and conventions.
- Maintainers & Contributors: See our roster of maintainers and contributors in MAINTAINERS.md.
- Code of Conduct: This project is governed by the Contributor Covenant Code of Conduct.
- Support & Questions: Need help or want to discuss ideas? Refer to SUPPORT.md.
- Security: To report a security vulnerability, please see SECURITY.md.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
