ع
Start Topics Teams Reference What's new Saved
Core

The app vs the command line

Do I need to use a terminal, or can I just use the app?

Short answer

You can just use the app. Claude Code Desktop and the command-line version are the same engine behind two different interfaces. Desktop is an ordinary window you point and click. The terminal is for automation, scripting, and the Linux distributions Desktop's beta doesn't cover.

This question stops more people than it should, so here is the short version: the terminal is optional. It is a second door into the same building, not a stage you have to pass through before you’re allowed the good one. Everything the command line can do to your files, the app does too — the difference is whether you type an instruction or click one.

It helps to have the three words below straight, because they get used loosely. A GUI is any software you drive by looking and clicking, which is nearly everything you already use. A terminal is the plain-text window where you type instructions instead. A CLI is a program built to be driven that way. Claude Code has both a GUI and a CLI; Desktop is the GUI.

There are two honest reasons to open a terminal anyway. The first is an unsupported Linux — Desktop reached Ubuntu 22.04+ and Debian 12+ in beta in June 2026, but on Fedora, RHEL and the rest there is still no app, so those readers have no choice and none of the terminal material here is optional for them. The second is automation: once you want Claude to run inside a scheduled script or a pipeline rather than a conversation, you need something a script can call, and that is what claude -p is for. That path continues in automation.

The rest of the commands below are terminal comfort rather than terminal necessity — teaching your shell a newline shortcut, vim-style editing, running a shell command without leaving the chat. Useful if you live there, ignorable if you don’t. Nothing on this page is a prerequisite for getting started with Claude Code; come back to it the day you actually need it.

Where to actually learn it

If you’ve decided you want the terminal — because you’re on Linux, or because automation is where you’re headed — there’s a short hands-on track for it: the Power Track. Shell basics you practise in a sandbox in the browser (nothing on your machine to break), then worktrees, hooks and headless mode. It’s deliberately kept out of the main path, because a non-technical reader should never be routed through cd and rm on the way to their first useful hour with Claude.

The words

GUI graphical interface · graphical user interface
A GUI (Graphical User Interface) is the kind of software you drive by looking and clicking — windows, buttons, menus, panels — instead of typing commands. Your everyday apps are GUIs. It's the opposite of the CLI, where you type instructions into a terminal. Claude Code Desktop is the GUI way to use Claude Code.
CLI command-line interface
A Command-Line Interface — running a program by typing commands instead of clicking buttons. The terminal is where you do it. It looks bare, but it's precise, fast, and easy to automate.
Terminal shell
The window where you type commands and read their output — a plain-text way to talk to your computer. Same machine as your usual desktop, just a different door in. ("Shell" is the program inside it that actually reads your commands.)

Commonly confused with

Two things people mix up here, and the difference that actually matters.

Read more

How to do it

  • claude -p Run one prompt without the chat UI and print the answer — a Power-Track tool for scripts and pipes.
  • /terminal-setup Teach your terminal the shortcut for a newline (Shift+Enter) — a Power-Track setup step.
  • /vim Toggle vim-style editing in the input prompt — a Power-Track comfort for terminal users.
  • ! <command> Run a shell command from inside the chat and see the output land directly in the conversation.