Install the command-line tool

Turn on the glimmer command, put it on your PATH, and choose whether it asks before each use.

The glimmer command is a small tool inside the app. It talks to Glimmer, which does the work. If Glimmer isn’t running, the command starts it in the background and waits up to 20 seconds.

Turn it on#

  1. Open Settings ▸ Automation.
  2. Turn on Command-line tool. macOS adds Glimmer’s small background helper to System Settings ▸ General ▸ Login Items; it lets the command find the app. Open Login Items takes you there.
  3. Next to Install “glimmer” in, choose a folder (by default ~/.local/bin, or the first bin folder in your home that’s on your PATH) and click Install.

Check it:

glimmer version

What install does#

Install only ever writes a link inside your home folder, never in /usr/local/bin, /opt/homebrew or ~/Library, and never replaces a file it didn’t create. The link follows the app, so after an update the same command runs the new version.

To remove the link:

glimmer uninstall

Turning Command-line tool off removes the background helper.

Ask before use#

Ask before command-line use makes Glimmer ask before running a command. Off, the tool runs as you, like any app you start. Coding agents are always asked, whatever this setting says (see MCP server).

Mac App Store version#

In the App Store version the command can’t read or write files named on the command line. Use redirection instead:

glimmer capture --screen > shot.png
glimmer ocr - < scan.png

Next#

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

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