cursor-statusline
v0.1.1
Published
Interactive setup tool that generates Cursor statusline.sh
Downloads
268
Readme
cursor-statusline
cursor-statusline is an interactive setup tool for Cursor CLI status lines.
It generates a runtime ~/.cursor/statusline.sh script and wires it into your Cursor config.
Japanese README: README.ja.md

Design
- Runtime
statusLine.commandpoints to~/.cursor/statusline.sh npx -y cursor-statuslineis only used for setup/update- After setup, Cursor can run with the generated script only
Setup
npx -y cursor-statuslineRunning setup performs the following:
- Choose enabled items and order in interactive UI
- Save
~/.config/cursor-statusline/config.toml - Generate or update
~/.cursor/statusline.sh - Set
statusLine.commandto~/.cursor/statusline.shin~/.cursor/cli-config.json
-y is shorthand for --yes, which auto-confirms npx package prompts.
Controls in Setup UI
- Type to filter items
- Press
Spaceto toggle an item ON/OFF - Press
Enterto confirm selection - Reorder step starts right after selection:
- Choose whether to reorder
- Pick the item to move
- Pick destination index
- Repeat until order is finalized
Default Items (v1)
modelcurrent-dirgit-branchcontext-used
Supported Items (v1)
- model
- model-with-params
- current-dir
- project-name
- git-branch
- git-diff
- context-used
- context-remaining
- context-window-size
- tokens-used
- tokens-in
- tokens-out
- session-id
- session-name
- cli-version
- vim-mode
- worktree-name
Development
npm install
npm run check
npm test
npm run build