The command line

Fixes for the glimmer command: not found, no session, version mismatch, Glimmer not running, permission denied.

Every error prints what went wrong and a hint. With --json, the error is a JSON object with an exitCode. See JSON output and exit codes.

glimmer: command not found#

Install it from Settings ▸ Automation, then make sure its folder (by default ~/.local/bin) is on your PATH. See Install the command-line tool.

Exit 3: permission denied#

Glimmer lacks Screen Recording (or Accessibility, for ax), or you declined this client. Allow the permission in System Settings. To change a decision about a client or agent, open Settings ▸ Automation ▸ Allowed agents and tools.

Exit 9: no graphical login session#

Capturing needs a user logged in at the Mac with a screen. It fails over SSH, from a launchd daemon, on a headless runner, or while the screen is locked. Run glimmer from Terminal in the logged-in session, or from a LaunchAgent in that session.

Exit 10: version mismatch#

The glimmer command and the app are different versions. The message says which is older. Reinstall the command from Settings ▸ Automation, or update Glimmer.

Exit 11: Glimmer isn’t available#

  • “Glimmer isn’t running”: you used --no-launch. Open Glimmer, or leave the option out.
  • “Glimmer’s command-line connection isn’t set up”: turn on the command-line tool in Settings ▸ Automation.
  • Glimmer isn’t installed, or didn’t start in time.

Exit 12: busy#

Glimmer is in the middle of another capture or recording. Wait for it to finish.

Exit 14: redaction required#

Something in the capture needs a person to review it before it can leave Glimmer. Review it in the app, or change your redaction settings.

Next#

Something missing or unclear? Write to [email protected].

↑ ↓ to move, Enter to open, Esc to close