boost: a command shortener for your terminal
Save long commands as short aliases. Run any project's tasks with one tool. Works with bash, zsh, fish, PowerShell and CMD on Linux, macOS and Windows.
Install
npm install -g command-shortner
This gives you the boost command. Run the same command again to update. After installing, open a new terminal: boost sets up your shell for you.
Quick start
boost add gs "git status" # save a command
boost gs # run it
gs # or just type the name
boost # search and pick one to run
What it does
Placeholders
One alias, many values. boost asks for the value, or shows a list to pick from.
boost add gc 'git commit -m "{{message}}"'
boost add co "git checkout {{branch: git branch --format='%(refname:short)'}}"
Project tasks
Inside a project, boost finds tasks from package.json, Makefile, justfile, Taskfile.yml, Cargo.toml, go.mod, pyproject.toml and Docker Compose files.
boost tasks
boost dev # runs npm run dev
Team aliases
Put shared aliases in a .boost.yaml file and commit it. Everyone on the team gets the same shortcuts.
aliases:
dev: npm run dev
db: docker compose up -d postgres
Workflows
Run steps in order or at the same time. If one fails, continue from where it stopped. See Workflows.
Dev stack
Start your database, API and frontend in one terminal with boost up. See Dev stack.
Safety
boost asks before risky commands like rm -rf, can block a command unless you're on the right branch, and keeps tokens in your OS keychain. See Safety.
More
- Different commands per operating system
- Run aliases on servers over SSH
- Suggestions from your shell history, and import from
.bashrc/.zshrc - History, stats, saved logs and Tab completion
- Sync aliases between computers
- Optional AI help (Gemini) and a way for AI coding tools to run your approved commands. See AI and MCP.
Compared to other options
| boost | Shell aliases | Makefile / npm scripts | |
|---|---|---|---|
| Works in every shell and OS | Yes | One shell | Per project |
| Personal and team shortcuts | Both | Personal | Team |
| Asks for values | Yes | No | No |
| Runs other projects' tasks | Yes | No | No |
| Confirmations and guards | Yes | No | No |
Questions
What is a command shortener?
A tool that saves a long terminal command under a short name, called an alias. Save ./scripts/deploy.sh --prod once, then type deploy.
How is boost different from aliases in .bashrc?
boost aliases work in every shell, can ask for values, can be shared with a team, sync between computers, and support workflows and confirmations. Import your existing aliases with boost import --from-shell.
Does boost need Node.js?
No. npm is only used to install it. boost itself runs on its own.
Is boost free?
Yes. boost is free and open source under the GPL-3.0 license.
Next
Start with Getting started, or see every option in the Configuration guide. The full list of commands is in the README.