Commands and keys
Every slash command, flag and keyboard shortcut in Line CLI.
- How do /sessions and /resume work?/sessions or /resume opens a picker of up to 15 recent sessions in this project folder, with title, age and message count.How-to
- How do I attach a file to my message in Line CLI?Type @ and start typing a file name, press Tab to complete, and send. Line attaches that project file. Secret and outside files are skipped.How-to
- How do I change settings with /config?/config shows your settings file and current values. /config auto on|off, /config thinking on|off and /config model <id> change them.How-to
- How do I change the approval mode with /mode?/mode ask, /mode accept-edits, /mode auto or /mode plan sets how much Line asks before acting. Shift+Tab cycles the same modes.How-to
- How do I quit Line CLI?Type /exit (or /quit, /q), or press Ctrl+C when the input is empty. Your session is saved and background shells are stopped.How-to
- How do I read the /context breakdown?/context shows the window size, % used, and tokens for the system prompt, tools, your messages, replies, tool calls, results and free space.How-to
- How do I reuse a prompt I typed earlier?Press the up and down arrows in the input box to move through your prompt history. Line keeps it in ~/.config/line/history.jsonl.How-to
- How do I see help inside Line CLI?Type /help (or /?) for every command, key, mode and feature. From the shell, line --help shows flags and examples.How-to
- How do I select and copy text in Line CLI?With mouse scrolling on, hold Shift while dragging to select text. Or type /mouse off so your terminal handles the mouse normally.How-to
- How do I start Line CLI with a task already typed?Put the prompt after line in quotes, for example line "fix the failing test". Line starts and begins working on it right away.How-to
- How do I stop Line CLI in the middle of a task?Press Esc to interrupt the current turn. Nothing half-written is applied. Then type a new instruction, /undo changes, or continue.How-to
- How do I use Line CLI with VS Code or another editor?Open your editor's built-in terminal in the project and run line. Edits appear in your editor; /diff and /files show what changed.How-to
- How do I use plan mode (/plan) in Line CLI?/plan toggles plan mode: Line researches read-only and ends with a plan for you to approve. /plan <task> turns it on and starts at once.How-to
- How do I write a message with several lines in Line CLI?Press Shift+Enter, Alt+Enter or Ctrl+J for a new line, or end a line with a backslash. Enter sends the message.How-to
- How does /compact work in Line CLI?/compact summarizes the conversation (goal, decisions, files, commands, state, next steps) so work continues with a smaller context.How-to
- What are commands like /guard:audit?Plugins add their own slash commands, named /<plugin>:<command>. They appear only while that plugin is enabled.FAQ
- What are the keyboard shortcuts in Line CLI?Line CLI keys: Enter to send, Shift+Enter for a new line, Esc to interrupt, Shift+Tab to change mode, Tab to complete, and scrolling keys.Reference
- What commands does Line CLI have?A complete list of Line CLI slash commands: models, modes, changes, context, sessions, extensions, account and app commands.Reference
- What does /auto do?/auto toggles auto-approve, so edits and commands run without asking. Secret files and reads outside the project still ask.How-to
- What does /init do?/init asks Line to study your project in plan mode and write LINE.md: a short guide to the codebase that Line follows in later sessions.How-to
- What does /status show in Line CLI?/status shows Line's version and build, your account, model, auto-approve state, project folder, instructions file and session id.How-to
- What does /todos show?/todos shows the agent's current plan, the to-do list it keeps with todo_write, with each item's status: done, in progress or pending.FAQ
- What flags and subcommands does the line command accept?Every line command-line flag and subcommand: prompts, print mode, continue and resume, model and effort, permissions, sandbox, login and more.Reference
- What's the difference between /new and /clear in Line CLI?Both start a fresh conversation and save the old session. /new also says "New session started." Neither deletes files or saved sessions.FAQ
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.