Skip to content

Command Line Interface ​

bike is a command-line tool for opening, reading, and editing outlines from the terminal and scripts. It drives the running Bike app, and also runs Bike's MCP server.

Installing the bike Command ​

Choose Bike > Install Command-Line Tool…

This creates links at /usr/local/bin/bike and /usr/local/share/man/man1/bike.1 that point into Bike.app. If Bike can't create them, it shows a command to run in Terminal instead. If you move Bike.app, install again to fix those links.

Quick Examples ​

Commands target the frontmost outline by default:

sh
bike get outline -o markdown               # print the frontmost outline as markdown
bike create row --text "New task"          # add a row to the frontmost outline
bike get commands                          # list Bike's command ids
bike evaluate commands fold:collapse-all   # run one of them
bike open outline ~/notes/todo.bike        # open an outline from a path
bike observe outline                       # stream outline changes as they happen
bike mcp                                   # run an MCP server on stdio

Read the manual with man bike, and get help for any subcommand with --help, e.g. bike get outline --help. For everything else, see the Session Automation guide.

See also ​