Ollama is a tool for running large language models locally from the command line. Inside its interactive REPL, slash-commands and readline-style control keys let you switch models, tweak parameters, inspect a model, and manage sessions without leaving the terminal.
Official:Official site
All Ollama keyboard shortcuts (Windows)
+ 27 more controls in the table below
+ 27 more controls in the table below
38 shortcuts
Set 13
| Action | Shortcut |
|---|---|
| Set Session Variables | /set |
| Set System Message | /setthensystemthen<string> |
| Set a Parameter | /setthenparameterthen... |
| Enable JSON Mode | /setthenformatthenjson |
| Show LLM Stats (Verbose) | /setthenverbose |
| Enable Thinking | /setthenthink |
| Disable Thinking | /setthennothink |
| Enable History | /setthenhistory |
| Disable History | /setthennohistory |
| Enable Word Wrap | /setthenwordwrap |
| Disable Word Wrap | /setthennowordwrap |
| Disable Formatting | /setthennoformat |
| Disable LLM Stats (Quiet) | /setthenquiet |
Keyboard Control 11
| Action | Shortcut |
|---|---|
| Stop Model Responding | CtrlC |
| Exit Ollama | CtrlD |
| Clear the Screen | CtrlL |
| Open Editor to Compose Prompt | CtrlG |
| Move to Beginning of Line | CtrlA |
| Move to End of Line | CtrlE |
| Move Back One Word | AltB |
| Move Forward One Word | AltF |
| Delete Sentence After Cursor | CtrlK |
| Delete Sentence Before Cursor | CtrlU |
| Delete Word Before Cursor | CtrlW |
Show 7
| Action | Shortcut |
|---|---|
| Show Model Information | /show |
| Show Model Details | /showtheninfo |
| Show Modelfile | /showthenmodelfile |
| Show Parameters | /showthenparameters |
| Show System Message | /showthensystem |
| Show Model License | /showthenlicense |
| Show Prompt Template | /showthentemplate |
Session 6
| Action | Shortcut |
|---|---|
| Exit REPL | /bye |
| Help for Commands | /? |
| Clear Session Context | /clear |
| Save Current Session | /savethen<model> |
| Load a Session or Model | /loadthen<model> |
| Help for Keyboard Shortcuts | /?thenshortcuts |
Input 1
| Action | Shortcut |
|---|---|
| Begin Multi-line Message | """ |
Sourced from docs.ollama.com, github.com Last verified (re-checked every 6 weeks)
Unofficial reference. ShortcutPosters is not affiliated with, endorsed by, or sponsored by Ollama. All product names, logos, and trademarks are property of their respective owners. See our licensing & trademark notice.
Get the Ollama poster
5 art directions — pick one below, click to zoom & compare.
A printable, framed-quality poster of the essential Ollama shortcuts for Windows — the keys worth keeping in view, designed to stay readable on a wall.
Free PNG is web-resolution & watermarked.
Frequently asked questions
- Does the poster include every Ollama shortcut?
- Ollama has 38 keyboard shortcuts on Windows — the complete list is free to read on this page. The poster features the most essential ones, curated to stay readable on a wall.
- Can I print it at home?
- Yes. The digital download is a high-resolution 300 DPI file you can print at home or at any print shop, in standard frame sizes.
- Does it cover both Mac and Windows?
- We sell a separate edition per platform so every key matches your keyboard exactly. This page is the Windows edition.
- Is this an official Ollama product?
- No. This is an unofficial reference poster and is not affiliated with or endorsed by Ollama. All trademarks belong to their respective owners.
Thanks — your feedback helps us improve.
Promote your app
Built an app with great keyboard shortcuts? Get it into the database — a free, searchable reference page, and an optional printable poster your power users will pin to the wall.
- Free shortcut reference page
- Indexed & searchable
- Optional framed poster