The "Dumb" Way to Manage Smart Commands.
Stop asking AI for the same command twice. Store it. Trust it. Run it.
Modern terminals are smart, but they have a fatal flaw: They remember your mistakes.
If you mistype a command, break a flag, or run a syntax error, your shell history (Ctrl+R or autosuggestions) saves it forever. When you try to find it later, you often get the broken version, leading to frustration and wasted time.
DumbCLI is your "Golden Record." It ignores the noise and only stores the verified, working commands that you explicitly choose to save.
The Workflow:
- Stop searching history for that one specific
ffmpegcommand buried under 50 failed attempts. - Stop Googling the same Regex syntax every two weeks.
- Stop asking AI for critical operations and risking hallucinations.
DumbCLI lets you save complex shell commands with Short IDs or Aliases, and reuse them instantly with dynamic arguments.
- Anti-Hallucination: Don't rely on AI for critical ops. Use your own trusted, verified commands.
- Clean History: Your shell history is full of typos. DumbCLI is curated. It only runs what works.
- Dynamic Placeholders: The killer feature. Use
{}to insert arguments at runtime. - Team Onboarding: Export your project's build/test scripts to JSON. New team members just
importand start working immediately. - Power User Syntax (Alpha): Add commands in seconds without leaving the prompt.
- Smart Search: Find commands by ID, alias, or vague comment keywords.
We recommend downloading the installer and running it locally (no direct curl | bash).
# Download the installer
curl -fsSL https://plexaur.com/dumbcli/install.sh -o install.sh
# Review the script (recommended)
less install.sh
# Run it
chmod +x install.sh
./install.sh# Download the installer
iwr -UseBasicParsing https://plexaur.com/dumbcli/install.ps1 -OutFile install.ps1
# Review the script (recommended)
notepad .\install.ps1
# Run it
powershell -ExecutionPolicy Bypass -File .\install.ps1curl -fsSL https://plexaur.com/dumbcli/install.ps1 -o install.ps1
powershell -ExecutionPolicy Bypass -File install.ps1The installer will handle both first-time install and updates.
Interactive mode makes it easy to save complex one-liners.
$ dumb addFollow the prompts to add command, alias, and comments.
Run directly by ID or Alias (or use d as a shortcut for dumb):
$ dumb 1
# OR
$ d build-app
# OR explicitly with run / r
$ dumb run build-app
$ d r 1Use --strict (e.g., dumb --strict ...) if you want to disable implicit execution and require run.
Stop hardcoding paths or messages. Use {} as a placeholder when adding a command.
Saved Command (Alias: gcom):
git commit -m "{}"Run it:
$ dumb gcom "Fixing the login bug"
# OR
$ dumb run gcom "Fixing the login bug"Result: Executed git commit -m "Fixing the login bug" instantly. Flags (e.g. d c -n file.txt) are forwarded directly to your saved command.
Don't want to go through the interactive menu? Use the generic syntax:
d:a:<command>:<alias>:<comment>
# Quickly save an echo command
dumb d:a:"echo Hello World":hello:"My first command"Ideal for dev teams. Don't write a long Wiki page about how to build the project. Just share a project-commands.json.
Team Lead:
# Export verified build scripts
dumb export ./onboarding/New Developer:
# Import scripts into their local DumbCLI
dumb import -a ./onboarding/project-commands.jsonNow the new dev has all the project scripts ready to go!
| Command | Description |
|---|---|
dumb <id/alias> [args...] |
Execute a saved command directly (implicit run; d works as a binary alias) |
dumb add |
Add a new command interactively |
dumb ls / dumb list |
List all saved commands (shows ID & Alias) |
dumb find <query> |
Search commands by ID, alias, command text, or comment |
dumb run <id/alias> [args...] |
Explicitly execute a command (dumb r is a shorthand alias) |
dumb edit <id/alias> |
Update a command's logic, alias, or comment |
dumb dl <id/alias> |
Delete a command |
dumb import <file> |
Load commands from a JSON file (use -a / --append to append) |
dumb export [path] |
Backup your commands to JSON |
dumb dump |
Print your raw dumbcli.json file |
dumb --strict ... |
Disable implicit run and require explicit run |
Note: Built-in command names (
add,ls,list,dl,edit,find,run,r,dump,export,import,help,version) are reserved and cannot be used as aliases.
DumbCLI installs the project files in a permanent, OS-specific location:
- Linux:
~/.local/share/dumbcli(or$XDG_DATA_HOME/dumbcli) - macOS:
~/Library/Application Support/DumbCLI - Windows:
%LOCALAPPDATA%\DumbCLI
This is separate from your personal command data.
Your commands and settings are stored locally in ~/.dumbcli/ (or $DUMBCLI_HOME if set):
- Commands:
~/.dumbcli/dumbcli.json - Config:
~/.dumbcli/config.json
Back up or sync this folder if you want to move your commands across machines.
Run the test suite locally with:
npm testFound a bug? Want to add a feature? Connect with me on GitHub: https://github.com/S488U