render-cli

Manages Render services, deploys, logs, SSH, and psql from the terminal.

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/DingJun1028/esggo-kv --skill render-cli-dingjun1028
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: render-cli
Source: https://github.com/DingJun1028/esggo-kv/tree/main/.agents/skills/render-cli
Command: npx skills add https://github.com/DingJun1028/esggo-kv --skill render-cli-dingjun1028

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Operating Render cloud services through the web dashboard is slow and cannot be scripted, making CI/CD automation, log inspection, and database access repetitive and error-prone. ## Core Features & Use Cases - Deployment Automation: Trigger deploys of services, specific commits, or Docker images with --wait and --confirm flags for reliable CI/CD pipelines. - Observability & Access: Tail logs in real time, SSH into running instances or ephemeral shells, and run psql queries against Render Postgres with JSON or CSV output. - Blueprint Validation & Scripting: Validate render.yaml files and use non-interactive JSON output for scripting service queries. - Use Case: In a GitHub Actions workflow, install the Render CLI, authenticate with RENDER_API_KEY, and run render deploys create <service-id> --wait --confirm -o json so the pipeline fails automatically if the deploy fails. ## Quick Start Install the Render CLI, set your RENDER_API_KEY, and ask the agent to deploy your service and stream its logs.

Frequently Asked Questions about render-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Render service from the command line?▼

Run `render deploys create <service-id> --wait --confirm -o json` after authenticating. The `--wait` flag makes the command exit non-zero on failure, and `--confirm` skips interactive prompts, which is required in CI/CD.

How do I authenticate the Render CLI in CI/CD pipelines?▼

Set the RENDER_API_KEY environment variable with an API key generated from Account Settings > API Keys in the Render Dashboard. API keys do not expire and take precedence over CLI login tokens.

How do I query a Render Postgres database from the terminal?▼

Use `render psql <database-id> -c "SELECT ..."` for single queries. Add `-o json` for JSON output or `-o text -- --csv` to get CSV output through psql passthrough flags.

Why does my Render CLI command hang in CI?▼

Commands hang in CI when they wait for interactive input. Always add `--confirm` to skip prompts and set `-o json` or `-o text` (or export RENDER_OUTPUT) since interactive output mode only works in a TTY.

What should I do when the Render CLI token expires?▼

Re-run `render login` to open the browser and generate a new CLI token, which is saved to ~/.render/cli.yaml. For long-lived automation, switch to a RENDER_API_KEY instead since API keys do not expire.

Can I validate a render.yaml Blueprint before deploying?▼

Yes, run `render blueprints validate` in the directory containing render.yaml, or pass a path to validate a specific file. This catches configuration errors before any deploy is triggered.