Configuration reference
boost reads two kinds of files. Both use the same format.
| File | What it's for |
|---|---|
| Your personal file | Your own aliases. Linux: ~/.config/boost/config.yaml, macOS: ~/Library/Application Support/boost/config.yaml, Windows: %AppData%\boost\config.yaml |
.boost.yaml in a project |
Aliases, stack and setup for that project. boost finds it in the current folder or any folder above it. |
When both have an alias with the same name, the project one wins while you're inside that project.
aliases
The short form is just the command:
aliases:
gs: git status
The long form has more options:
aliases:
deploy:
run: ./scripts/deploy.sh {{target=staging}}
desc: Deploy the app
tags: [ops, release]
cwd: services/api
env:
LOG_LEVEL: debug
confirm: Deploy now?
require:
branch: main
clean_git: true
tools: [docker]
files: [.env]
env: [AWS_PROFILE]
log: true
agent: false
| Option | What it does |
|---|---|
run |
The command. Can also be a map of commands per OS (see below). |
desc |
A short description, shown in list, show and the picker |
tags |
One tag or a list. Filter with boost list --tag ops |
cwd |
Folder to run in. Relative paths start at the project root (project aliases) or the current folder (personal aliases). ~ works. |
env |
Environment variables for this command. You can use other variables in them, like $HOME. |
confirm |
true for a default question, or your own question text |
require |
Guards that must pass before the command runs |
log |
Save the output of every run. See it with boost logs <alias> |
agent |
Allow AI agents to run this alias through boost mcp |
steps |
Makes the alias a workflow (see workflows) |
retry |
Workflow only: retry a failing step this many times |
continue_on_error |
Workflow only: keep going when a step fails |
Project aliases without a cwd run from the project root, wherever you are inside the project.
Commands per operating system
aliases:
ip:
run:
linux: ip a
mac: ifconfig
windows: ipconfig
default: echo "not supported here"
Placeholders
| Write | Meaning |
|---|---|
{{name}} |
Ask for a value |
{{name=main}} |
Ask, with main as the default |
{{branch: git branch --format='%(refname:short)'}} |
Show the output of the command as a list to pick from |
{{branch=main: git branch}} |
A list with a default |
{{secret:API_TOKEN}} |
A secret from your OS keychain (boost secret set API_TOKEN) |
Give values on the command line with name=value. A list command can use earlier values, for example {{pod: kubectl get pods -n {{ns}} -o name}}.
Go/Docker-style text like {{.Names}} is left alone, so docker ps --format '{{.Names}}' works as normal.
envs
envs:
staging:
vars:
API_URL: https://staging.example.com
prod:
vars:
API_URL: https://example.com
confirm: true
Use with boost <alias> --env staging. The variables are set for the command, plus BOOST_ENV with the profile name. Profiles named prod, production or live always ask first.
stack
See stack.md.
stack:
db:
run: docker compose up postgres
port: 5432
api:
run: npm run dev
cwd: api
env: {PORT: "4000"}
wait_for: db
setup
setup:
check:
node: ">=20"
docker: running
git: "*"
files: [.env]
env: [DATABASE_URL]
steps:
- npm install
- cp .env.example .env
- db:migrate
check keys are tool names with a version rule (>=20, ^3.10, ~1.4, >=1.20, <2, * for "installed"), or running to check that a service such as Docker is running. files and env check files and environment variables. Steps can be aliases, tasks or commands, and run from the project root.
hosts
hosts:
web: deploy@10.0.0.5
workers: [deploy@10.0.0.6, deploy@10.0.0.7]
Run with boost <alias> @web, @workers, or @all. Remote runs use the linux command if the alias has one, otherwise default.
mcp
mcp:
allow: [test, lint, build]
Names of aliases or tasks that AI agents may run through boost mcp.
settings (personal file only)
settings:
shell: /bin/zsh
editor: code --wait
notify_after: 30
update_check: true
safety: true
ai_model: gemini-3.8-flash
gist_id: abc123
| Setting | Default | What it does |
|---|---|---|
shell |
$SHELL, or PowerShell on Windows |
Shell used to run commands |
editor |
$VISUAL / $EDITOR |
Editor for boost edit |
notify_after |
30 |
Desktop notification for commands longer than this many seconds. -1 turns it off. |
update_check |
true |
Check npm for a new version once a day |
safety |
true |
Ask before dangerous-looking commands |
ai_model |
gemini-3.8-flash |
Model for ask, explain, fix |
gist_id |
Set by boost sync |
Environment variables
| Variable | What it does |
|---|---|
BOOST_HOME |
Use a different folder for boost's files |
BOOST_YES=1 |
Never ask for confirmation (for scripts) |
BOOST_NO_UPDATE_CHECK=1 |
Turn off the update check |
BOOST_NO_PROJECT=1 |
Ignore .boost.yaml files |
BOOST_SHELL |
Shell to run commands with |
BOOST_NONINTERACTIVE=1 |
Never show prompts or pickers |
BOOST_NO_BANNER=1 |
Don't show the welcome after installing or updating |
BOOST_NO_SHELL_SETUP=1 |
Don't add the shell setup line when installing or updating |
BOOST_GITHUB_TOKEN |
Token for boost sync (instead of the keychain) |
GEMINI_API_KEY |
Key for boost ask / explain / fix (instead of the keychain) |