Every prompt you write while coding,
saved automatically
The PromptCase CLI is a small helper that runs quietly in the background and picks up the prompts you write in the AI coding tools you already use — then keeps them in your library, ready to search, reuse and share.
Free on every plan · macOS, Windows & Linux · needs Node.js 22.5 or newer
Works with the tools you already use
One install covers all of them — there's nothing to set up per tool. Use a tool you don't have? It simply never appears. In your dashboard, every prompt is labelled with the tool it came from.
Set it once, then forget it
After a two-step setup the CLI starts on its own and keeps running in the background — including after you restart your computer. There are no buttons to press and nothing to remember; your new prompts just show up in your library.
Want to check on it or pause it? A handful of simple commands (below) let you see its status, force a sync, or stop it.
Only your prompts — nothing else
- It captures only the messages you write. The assistant's replies, tool output and system messages are left out.
- It never touches the code in your projects — just the prompts you type into your AI tools.
- Everything syncs to promptcase.dev and your account only. Each prompt is labelled with the tool it came from, so your library stays tidy.
The full detail is in our Privacy Policy.
Set up in two steps
You need Node.js 22.5 or newer. Not sure? Run node --version in a terminal.
Step 1 — install it
One command in your terminal, the same on every operating system:
npm install -g promptcase
Step 2 — connect your account
Run the setup command and paste your token when it asks:
promptcase setup
Grab the token from Dashboard → Devices (Connect Device → CLI). That's it — the helper starts itself and keeps running in the background from then on.
Handy commands
You rarely need these — the CLI looks after itself — but they're here when you want them.
promptcase status
See whether you're signed in and the helper is running and syncing.
promptcase sync
Sync right now instead of waiting for the next background run.
promptcase show
Peek at the most recently synced prompts, right in your terminal.
promptcase stop
Pause the background helper. It comes back next time you start it.
promptcase logout
Stop the helper, sign out, and clear the saved token from this computer.
promptcase setup
Sign in and start the helper. (promptcase init does the same thing.)
Two commands to set up
Stop losing the prompts that worked. Let the CLI collect them while you keep coding.