proomt

Search

Search posts, papers, and topics

All posts

HerokuAndy Smith6 min readintro

6 Lesser-Known Heroku CLI Commands You Probably Aren’t Using

Summary

A short‑list of six Heroku CLI commands that can reduce UI‑driven context switches: exporting config vars, inspecting live DB queries, SSH‑like dyno access, running detached jobs, enabling shell autocomplete, and opening add‑on dashboards.

  • heroku config -s > .env – dump all config vars to a local .env (or append a single var).
  • heroku pg:ps – view active Postgres queries with duration and PID.
  • heroku ps:exec – open a secure SSH tunnel into a running dyno for live debugging.
  • heroku run:detached – fire‑and‑forget long‑running jobs; monitor via heroku logs --dyno.

Each command eliminates a mouse‑driven step, keeping developers in the terminal and preserving focus. For teams that already rely on the Heroku CLI, these shortcuts shave minutes per day and reduce the risk of accidental credential leaks or interrupted background jobs.

4/10

Related reading

  1. Fine-Grained Access Control Now Available for All Heroku Customers

    Heroku replaces its static role model with per‑app fine‑grained permissions (view, deploy, operate, manage). The new model is exposed via the Dashboard, Heroku CLI (v11.10+), and Platform API, enabling teams to enforce least‑privilege, improve compliance, and automate access provisioning.

    Herokuheroku.com3 minrelease
  2. llm-keys-ui 0.1

    Simon Willison released llm-keys-ui 0.1, a tiny web UI that lets you store LLM API keys on a remote machine and retrieve them via the llm CLI, avoiding pasting keys into chat sessions. It runs with a single uvx command and exposes local network URLs for access.

    Simon Willisonsimonwillison.net1 minrelease
  3. Blog: How to Build a DevOps Agent

    This blog walks through the open‑source DevOps Agent Kit, which lets Claude Code or Cursor act as a DevOps assistant by connecting to CloudBees Unify, Jira, and Slack via MCP servers and to GitHub via the CLI. It provides a repeatable setup (Docker, Node, env file) and seven slash commands for pipeline overview, triage, security, release readiness, flag management, CI health scoring, and Jira tic…

    Codeshipcloudbees.com10 min
  4. Telling a Computer to Do Things

    The author explains how learning shell scripting unlocked the ability to automate and stitch together tools, emphasizing that proficiency is more about a rich CLI toolbox than syntax. He provides concrete tips, tool suggestions, and examples for writing maintainable scripts.

    Hacker News front pagewill-keleher.com7 minHN8736