# Running Claude Code in Your Terminal

> Use your own Claude.ai subscription to run Claude Code in your app's built-in terminal, side by side with Leo.

Source: https://llamapress.ai/wiki/running-claude-code-in-your-terminal | Updated: 2026-07-31

---

[Back to Wiki](https://llamapress.ai/wiki)

Use your own Claude.ai subscription to work on your app from the built-in terminal.

Your LlamaPress app comes with a built-in code editor and a terminal. If you have your own Claude.ai subscription, you can run **Claude Code** in that terminal. Claude Code is Anthropic's command-line coding agent. It reads and edits the same files Leo works on, so you can use both tools on the same app.

**The short version:** Open the **Code** tab, sign in with your VS Code password, type `clauded` in the terminal, then sign in with your Claude.ai account. The whole setup takes about five minutes, and you only do it once.

## Before you start

You need two things.

1. **A paid Claude.ai subscription** (Claude Pro or Claude Max). Claude Code bills against your own Anthropic account, not your LlamaPress plan. You can sign up at [claude.ai](https://claude.ai).
2. **Your VS Code password.** This is the password for the **Code** tab in your app. Email [support@llamapress.ai](mailto:support@llamapress.ai) and ask a LlamaPress admin for it. We will send it to you.

**This is an advanced feature.** Claude Code edits the real files of your live app. You do not need it to build with LlamaPress — Leo does the same work in plain chat. Use Claude Code only if you are comfortable with a terminal. Make a [checkpoint](https://llamapress.ai/wiki/checkpoints-and-version-history) before you start, so you can roll back if something breaks.

## Step 1 — Open the Code tab and sign in

Open your app. Click **Code** in the top bar, next to **Your App**. A screen titled *Welcome to code-server* appears. Type your VS Code password into the box. Click the blue **SUBMIT** button.

![The code-server login screen inside the Code tab](https://llamapress.ai/assets/llamapress-leo-claude-code-click-code-tab-and-enter-vscode-password-26d0ecfd8b02476b78b6abfaacd6bcacfebe19680f1c598fbb664de247f392ce.png)

## Step 2 — Open the terminal and start Claude Code

The code editor loads. Look at the bottom of the editor for a panel labelled **TERMINAL**. You should see a green prompt that ends in `~/Leonardo$`. Click inside that panel. Type `clauded` and press **Enter**.

![Typing clauded into the terminal panel at the bottom of the editor](https://llamapress.ai/assets/llamapress-leo-claude-code-type-clauded-in-terminal-b562ac441a9589942b2c270b68e3cccaaf251a22c425c771cd4983e6a0ceb583.png)

If the terminal panel is not showing, open the editor menu and choose **Terminal → New Terminal**.

## Step 3 — Choose a text style

Claude Code asks which text style looks best in your terminal. **Dark mode** is already selected. Press **Enter** to accept it.

![Claude Code asking you to choose a terminal text style, with Dark mode selected](https://llamapress.ai/assets/llamapress-leo-claude-code-choose-dark-mode-theme-22e95eee8ba9557c99f9e19ac01417bed9f766856ce21589ff747ebc5b5ecd61.png)

## Step 4 — Choose how to sign in

Claude Code asks how you want to sign in. The first option is **sign in with a Claude.ai subscription account**. That option is already selected. Press **Enter** to accept it.

## Step 5 — Copy the sign-in link

Claude Code prints a long web address that starts with `https://claude.com/`. Highlight the whole address with your mouse. Right-click the highlighted text. Click **Copy**.

![Highlighting the sign-in URL in the terminal and choosing Copy from the right-click menu](https://llamapress.ai/assets/llamapress-leo-claude-code-copy-sign-in-url-from-terminal-b46573e1d1694218c0399e8b0f1f46ef0e0c56d05ab47d669cff1f69678da08a.png)

## Step 6 — Authorize Claude Code

Open a new browser tab. Paste the address into the address bar. Press **Enter**. Anthropic asks you to sign in, then shows a page titled *Claude Code would like to connect to your Claude chat account*. Check that the account listed at the bottom is the right one. Click **Authorize**.

![The Anthropic authorization page with the Authorize button](https://llamapress.ai/assets/llamapress-leo-claude-code-authorize-anthropic-account-468bd0ba22ba92232d5134c89f17c05acd4e2795cbd49a5637c67e0fdce01766.png)

## Step 7 — Copy the authentication code

Anthropic shows a page titled **Authentication code**. Click **Copy code**.

![The Authentication code page with the Copy code button circled](https://llamapress.ai/assets/llamapress-leo-claude-code-copy-authentication-code-de176f2259747acdd0e62e89f8a8e3aaf7b2e4b731bf3c68ebc90a4344b335bc.png)

## Step 8 — Allow clipboard access

Go back to the browser tab with your app. Your browser may ask for permission to read your clipboard. Click **Allow**. Without this, the editor cannot paste the code.

![Browser permission popup asking to see text and images copied to the clipboard, with Allow circled](https://llamapress.ai/assets/llamapress-leo-claude-code-allow-clipboard-access-99bce5e89b87596c2b50e66dd8121415c11b7132bc07350e6b50439aa20023ed.png)

## Step 9 — Paste the code into the terminal

Click the terminal, next to the prompt that says *Paste code here if prompted >*. Paste the code. Press **Enter**.

![The authentication code pasted into the terminal prompt](https://llamapress.ai/assets/llamapress-leo-claude-code-paste-code-into-terminal-df15e796e2d426bb0dbd5d0d8d23fa340536f3a92fb05f3a8a29930390dadfd2.png)

## Step 10 — Trust the folder

Claude Code asks if you trust the folder `/home/ubuntu/Leonardo`. That folder is your own app. Choose **1. Yes, I trust this folder**. Press **Enter**.

![Claude Code asking whether you trust the /home/ubuntu/Leonardo folder](https://llamapress.ai/assets/llamapress-leo-claude-code-trust-this-folder-cbb220b2ca6571e55ceb20f28529b8c245e4e5d0d53a1a5fa75aa82a2b16fdd0.png)

## Step 11 — Accept bypass permissions mode

Claude Code shows a warning about **Bypass Permissions mode**. Read it. Choose **2. Yes, I accept**. Press **Enter**.

![The Bypass Permissions mode warning, with Yes I accept selected](https://llamapress.ai/assets/llamapress-leo-claude-code-accept-bypass-permissions-f75017a74fd36982eec274a08a3e773199672c26a05ba0bbc6926286610e83ea.png)

**What bypass permissions mode means.** Claude Code will run commands and edit files without asking you to approve each one first. This is why your app runs in its own isolated container: the damage stays inside your own app, and we can restore it. Still, read what Claude proposes before you tell it to do large or risky work. To turn approvals back on later, press **Shift+Tab** to cycle modes.

## You're done

Claude Code now shows a welcome box with your name, your plan, and the folder `~/Leonardo`. Type a request at the prompt, the same way you talk to Leo.

![Claude Code running in the terminal, showing the welcome box and prompt](https://llamapress.ai/assets/llamapress-leo-claude-code-running-welcome-screen-0d82f95d53462246a998290a8c9ef121c0d48a8214720d597db2785e75217bd0.png)

## Everyday use

- **Start it again:** type `clauded` in the terminal. You will not have to sign in again.
- **Stop it:** press **Ctrl+C** twice, or type `/exit`.
- **See what changed:** your edits appear in the file list on the left, and in your [history and checkpoints](https://llamapress.ai/wiki/checkpoints-and-version-history).
- **Reload your app:** switch back to the **Your App** tab and refresh the page to see the changes.

## Things to know

- **You pay Anthropic directly.** Claude Code usage counts against your own Claude.ai subscription. It is not included in your LlamaPress plan.
- **Leo and Claude Code share the same files.** Avoid running both on the same files at the same time, or they can overwrite each other's work.
- **Your app has a memory limit.** Claude Code uses a lot of memory. On smaller plans it can be shut down while it runs. If that keeps happening, email [support@llamapress.ai](mailto:support@llamapress.ai) and we will check your app's memory.
- **Keep your VS Code password private.** Anyone with it can edit your app's code. Email [support@llamapress.ai](mailto:support@llamapress.ai) if you need it changed.

## Related guides

- [Checkpoints and version history](https://llamapress.ai/wiki/checkpoints-and-version-history) — save a restore point before you start.
- [Getting your source code](https://llamapress.ai/wiki/getting-your-source-code) — download your code or connect GitHub.
- [Leo tools and features](https://llamapress.ai/wiki/leo-tools-and-features) — what the Code, Tickets, and Feedback tabs do.
- [You own your app](https://llamapress.ai/wiki/you-own-your-app) — what ownership means here.

Need your VS Code password, or stuck on a step? Email [support@llamapress.ai](mailto:support@llamapress.ai) and we'll walk through it with you.
