Command snippets
Insert saved commands into any terminal
110 ready-made commands for Git, Docker, Node and more, plus your own.
Insert a snippet
- Click >_ in a terminal's header, or open Terminal > Insert Snippet.
- Hover a category.
- Click a snippet.
The command appears at the prompt. Edit it if you need to, then press Return.
110 commands included
| Category | Snippets |
|---|---|
| Git | 10 |
| Node | 8 |
| Laravel | 20 |
| PHP & Composer | 7 |
| Docker | 9 |
| Homebrew | 12 |
| Servers & SSH | 17 |
| Database | 7 |
| macOS | 8 |
| Shell | 12 |
None of them runs by itself. Some leave a blank for you to fill in, and some are destructive if you run them, such as Discard local changes or Redis flush all, so read each one before pressing Return.
Good to know
- A snippet is typed into whatever is running, which may not be a shell prompt.
- A snippet runs by itself only if you turn on Press Return after inserting for it.
- A snippet with several lines is sent with its line breaks, so a shell can run the earlier lines. Keep commands you want to check to one line.
- The >_ button inserts into its own terminal. The menu bar inserts into the active one.
Want your own? See the snippet manager.