Skip to content
AI and automation5 min read

Claude Code explained: what it is and how it works

Short answer

Claude Code is Anthropic's coding agent. You describe a task in plain language and it reads your project, plans, edits the code and runs commands such as tests and Git, asking before changes. It runs in the terminal, VS Code, JetBrains, a desktop app and the browser, and needs a paid Claude plan or a Console account.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What Claude Code actually does
  2. How it works: a four-step loop
  3. Where Claude Code runs
  4. What you need to start
  5. A first session
  6. When it fits and when it doesn’t
  7. Common beginner mistakes
  8. On ArabyHost

What separates Claude Code from a code-suggestion assistant is that it doesn’t stop at suggesting. It works inside your project folder like a developer sitting at your terminal: it searches the files, writes the change, runs the test, reads the error, fixes it and tries again. You set the task and approve the important steps; it does the work. The facts here come from Anthropic’s official documentation as of November 2026. The tool changes quickly, so check its docs when in doubt.

What Claude Code actually does

Task Example request
Build a feature “Add a contact page with a form that saves messages to the database”
Fix a bug “Here is the error from the log. Find the cause and fix it”
Understand code you didn’t write “Explain how this project is structured and how it starts”
Write tests “Write tests for the login module, run them and fix what fails”
Work with Git “Commit these changes with a clear message”

All of this goes through specific tools: reading files, editing them, running terminal commands and searching. That is why it is called an AI agent rather than a chat model.

How it works: a four-step loop

  1. Gathers context: reads the files related to your request, plus CLAUDE.md in the project root if there is one: a file where you write the project’s rules and how to run it.
  2. Plans: for bigger tasks, press Shift+Tab to switch to plan mode and it proposes a plan before touching any file.
  3. Acts: edits files and runs commands. Depending on your permission settings it asks before each edit or command, and /permissions shows what is allowed.
  4. Verifies: runs the tests or the build, reads the result and fixes things until they pass.

The model itself runs on Anthropic’s servers, so the files and command output it reads are sent there. Keep passwords and API keys out of the code and in environment variables.

Where Claude Code runs

According to the official docs, the same engine runs on several surfaces, and your CLAUDE.md, settings and MCP servers work on all of them:

  • Terminal (CLI): the full-featured surface. Type claude in the project folder. Steps for each system are in Install Claude Code.
  • VS Code, Cursor and JetBrains: an extension that shows diffs inside the editor.
  • Desktop app: for people who prefer not to use a terminal; its Code tab includes Claude Code without a separate install.
  • Browser: at claude.ai/code sessions run in the cloud against a GitHub repository, with no local setup.
  • A server over SSH: install it on the server and work on the live files, as in Claude Code on a server.

What you need to start

  • An account that includes Claude Code: a paid Claude plan or a Console account. Details and published prices are in Claude Code pricing.
  • A supported machine: the docs list macOS 13+, Windows 10 1809+, Ubuntu 20.04+, Debian 10+, at least 4 GB of RAM, and an internet connection from a country Anthropic supports.
  • A project in Git: not a technical requirement, but it is what makes the work safe. Every change can be reviewed with git diff and undone.

A first session

cd my-project
claude

Then type inside the session:

/init
Explain this project: which language, how do I run it locally, and which files matter?

/init writes a CLAUDE.md describing the project. Then ask for one small task, review what changed, and commit. Other useful commands: /model to switch models, /usage to see consumption, /clear to start fresh when you move to an unrelated task, and claude --continue to pick up the last session.

When it fits and when it doesn’t

It fits when you have a real project whose code you want to own and move to any host, and you’re fine working with folders, files and a terminal. It fits less if you want one screen that builds and hosts the app without showing you code. Platforms such as Lovable or Bolt are easier to start with there, though you will need to get the code out later. The full comparison is in The best vibe coding tools, and Google’s equivalent is compared in Gemini CLI vs Claude Code.

Common beginner mistakes

  • A big vague request like “improve the project”: it burns usage and changes things you didn’t mean. Ask for one task with a file and an expected result.
  • Accepting everything unread: read git diff before each commit, especially in database and permission code.
  • Running it straight on the live site: try it on a copy or a subdomain first.
  • Forgetting the project needs somewhere to run: Claude Code writes code; it doesn’t host it. That is a separate step.

On ArabyHost

You built it with Claude Code, so where does it run? That depends on what it is, and the full table is in Where to host a project you built with AI. Static sites and PHP apps run on the regular hosting plans (PHP 8.1 to 8.3 with MySQL/MariaDB). Node.js (20 and 24) and Python (3.9 to 3.12) apps run on the AI/Developer plans through CloudLinux selectors and Phusion Passenger, with SSH jailed in CageFS, Git and Composer, and background workers kept alive with cron. Claude Code itself runs over SSH on those plans, and you can connect it to your account through Araby MCP to deploy and read logs with your approval. There is no root, no Docker and no GPU. Claude Code is an Anthropic product that you use with your own Anthropic account; ArabyHost has no partnership with Anthropic.

FAQ

Is Claude Code free?

No. According to Anthropic's docs in November 2026 you need a Pro, Max, Ultra, Team or Enterprise plan, or a pay-as-you-go Console account; the free claude.ai plan doesn't include it. See the Claude Code pricing page for details.

Do I need to know how to code to use Claude Code?

A beginner can build a working project with it, because it writes the code and runs the commands itself. You will still need basic Git and terminal skills to review what it did and undo mistakes, and a security review before real users arrive.

How is Claude Code different from chatting with Claude?

A chat gives you code to copy yourself. Claude Code works inside your project folder: it reads and edits files, runs commands, sees the results and corrects itself, so it finishes the task instead of describing it.

Does Claude Code work on Windows?

Yes. Anthropic's docs list Windows 10 1809 or later, natively from PowerShell or CMD or inside WSL, as well as macOS 13 or later and Linux distributions such as Ubuntu and Debian.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.