an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js), Google Ads AW-18388216863. Loaded only when Do Not Track is
off, so it follows the same rule as the PostHog block on this site. -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
if (navigator.doNotTrack !== '1') {
var gtagScript = document.createElement('script');
gtagScript.async = true;
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id=AW-18388216863';
document.head.appendChild(gtagScript);
gtag('js', new Date());
gtag('config', 'AW-18388216863');
}
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>How to Use Claude Code: Setup, First Task and the Commands That Matter — Munder Difflin Blog</title>
<meta name="description" content="How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs." />
<link rel="canonical" href="https://munderdiffl.in/blog/how-to-use-claude-code/" />
<link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />
<link rel="apple-touch-icon" href="https://munderdiffl.in/logo.png" />
<meta name="theme-color" content="#F5F2E8" />
<!-- Open Graph -->
<meta property="og:site_name" content="Munder Difflin Blog" />
<meta property="og:type" content="article" />
<meta property="og:title" content="How to Use Claude Code: Setup, First Task and the Commands That Matter — Munder Difflin Blog" />
<meta property="og:description" content="How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs." />
<meta property="og:url" content="https://munderdiffl.in/blog/how-to-use-claude-code/" />
<meta property="og:image" content="https://munderdiffl.in/blog/assets/media/how-to-use-claude-code/hero.png" />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="900" />
<meta property="og:image:alt" content="Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end" />
<meta property="og:locale" content="en_US" />
<meta property="article:published_time" content="2026-10-05T00:00:00.000Z" />
<meta property="article:author" content="Chaitanya Giri" />
<meta property="article:tag" content="Guides" />
<meta property="article:tag" content="Claude Code" />
<meta property="article:tag" content="Getting Started" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="How to Use Claude Code: Setup, First Task and the Commands That Matter — Munder Difflin Blog" />
<meta name="twitter:description" content="How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs." />
<meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/how-to-use-claude-code/hero.png" />
<meta name="twitter:image:alt" content="Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end" />
<link rel="alternate" type="application/atom+xml" title="Munder Difflin Blog" href="https://munderdiffl.in/blog/feed.xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700;9..144,900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="/blog/assets/blog-press.css" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "How to Use Claude Code: Setup, First Task and the Commands That Matter",
"description": "How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.",
"image": ["https://munderdiffl.in/blog/assets/media/how-to-use-claude-code/hero.png"],
"datePublished": "2026-10-05T00:00:00.000Z",
"dateModified": "2026-10-05T00:00:00.000Z",
"author": { "@type": "Person", "name": "Chaitanya Giri" },
"publisher": {
"@type": "Organization",
"name": "Munder Difflin",
"logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }
},
"mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/how-to-use-claude-code/" },
"keywords": "how to use claude code, claude code setup, claude code tutorial, how to install claude code, claude code for beginners, claude code commands",
"articleSection": "Guides",
"inLanguage": "en-US",
"url": "https://munderdiffl.in/blog/how-to-use-claude-code/"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },
{ "@type": "ListItem", "position": 3, "name": "How to Use Claude Code: Setup, First Task and the Commands That Matter", "item": "https://munderdiffl.in/blog/how-to-use-claude-code/" }
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{ "@type": "Question", "name": "Is Claude Code free to use?", "acceptedAnswer": { "@type": "Answer", "text": "No. Anthropic's setup docs, checked 5 Oct 2026, say Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free claude.ai plan does not include Claude Code access. Anthropic's pricing page says Claude Code is included in all paid plans and shares their usage limits." } },
{ "@type": "Question", "name": "Do I need Node.js to install Claude Code?", "acceptedAnswer": { "@type": "Answer", "text": "Only for the npm route: the setup docs, checked 5 Oct 2026, say the npm package requires Node.js 22 or later. The install Anthropic recommends is the native installer, one curl command on macOS, Linux and WSL or one PowerShell command on Windows, and it updates itself in the background. Homebrew and WinGet installs do not auto-update." } },
{ "@type": "Question", "name": "How do I start Claude Code in a project?", "acceptedAnswer": { "@type": "Answer", "text": "Open a terminal, cd into the project folder and run claude. The first run asks you to log in through your browser. After that, type a question such as what does this project do? and Claude Code reads the files it needs." } },
{ "@type": "Question", "name": "What is `CLAUDE.md` and do I need one?", "acceptedAnswer": { "@type": "Answer", "text": "It is a file Claude reads at the start of every conversation, used for build commands, code style and workflow rules. You don't need one to start, but running /init generates a starter file from your project. Anthropic's memory docs suggest keeping each file under 200 lines." } },
{ "@type": "Question", "name": "How do I undo something Claude Code changed?", "acceptedAnswer": { "@type": "Answer", "text": "Press Esc twice on an empty prompt, or run /rewind, to open the rewind menu and restore the code, the conversation or both. Checkpoints only track edits made through Claude's file editing tools, not changes made by shell commands. Anthropic's docs say it is not a replacement for git, so commit before a big task." } }
]
}
</script>
<script>
// Anonymous blog analytics (PostHog) — same posture as the main site and the
// app's TELEMETRY.md: public write-only token ('' = inert), anonymous-only
// (person_profiles 'never'), no autocapture/recording, DNT respected.
(function () {
var PH_KEY = 'phc_qJzsokwcbtTGHemnvywR3nSqivNNgMjHeNVEWkZNydFB';
if (!PH_KEY || navigator.doNotTrack === '1') return;
var s = document.createElement('script');
s.async = true;
s.src = 'https://us-assets.i.posthog.com/static/array.js';
s.onload = function () {
if (!window.posthog) return;
window.posthog.init(PH_KEY, {
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
before_send: function (event) {
// PostHog fills $ip from the connection unless the event carries one.
// Null it here and disable the GeoIP lookup so no IP, city, postal
// code or lat/long is ever derived or stored for this page view.
if (event && event.properties) {
event.properties.$ip = null;
event.properties.$geoip_disable = true;
}
return event;
},
disable_session_recording: true,
respect_dnt: true
});
};
document.head.appendChild(s);
})();
</script>
</head>
<body class="theme-press">
<a class="skip-link" href="#main">Skip to content</a>
<nav id="nav">
<a class="brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<span class="spacer"></span>
<div class="links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in">↗ Product</a>
</div>
<div class="nav-actions">
<a class="btn sm" href="https://munderdiffl.in/blog/feed.xml" aria-label="RSS feed">⤵ RSS</a>
<a class="btn sm primary" href="https://munderdiffl.in/#install">⤓ Download</a>
</div>
</nav>
<main id="main">
<article class="t-guides">
<header class="post-head wrap">
<nav class="crumbs" aria-label="Breadcrumb">
<a href="/blog/">Blog</a>
<span>/</span>
<a href="/blog/topics/guides/">Guides</a>
</nav>
<h1>How to Use Claude Code: Setup, First Task and the Commands That Matter</h1>
<p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>
<div class="byline">
<span class="av" aria-hidden="true">MD</span>
<strong>Chaitanya Giri</strong>
<span class="dot" aria-hidden="true">·</span>
<time datetime="2026-10-05">Oct 5, 2026</time>
<span class="dot" aria-hidden="true">·</span>
<span>5 min read</span>
<span class="tag kind">Guides</span>
</div>
</header>
<div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/how-to-use-claude-code/hero.png" alt="Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end" loading="lazy" decoding="async" /></figure></div>
<div class="post-wrap wrap">
<div class="prose">
<p>To use Claude Code, install it with one command, run <code>claude</code> inside a project folder, log in through your browser, and type what you want in plain English. It reads your code, edits files and runs commands. You need a paid Claude plan or a Console account. Checked 5 Oct 2026.</p>
<p>You can do all of this by hand, or use <a href="https://harnessmd.com/download">Munder Difflin</a>, free and open source, a desktop app that runs a team of coding agents such as Claude Code, Codex and Gemini CLI on your own computer. It’s for the day one Claude Code session is not enough. The <a href="/blog/how-to-install-and-use-munder-difflin/">install guide</a> covers that setup. This post is the single session path, and it sits with the rest of our <a href="/blog/topics/guides/">guides</a>.</p>
<h2 id="what-do-you-need-before-you-install-claude-code" tabindex="-1">What do you need before you install Claude Code? <a class="anchor" href="#what-do-you-need-before-you-install-claude-code" aria-hidden="true">#</a></h2>
<p>You need a supported computer and a paid account. Anthropic’s <a href="https://code.claude.com/docs/en/setup">setup page</a> lists macOS 13.0 or later, Windows 10 1809 or later, Ubuntu 20.04, Debian 10 or Alpine Linux 3.19 and up, with 4 GB of RAM or more and an internet connection.</p>
<p>On accounts, the same page says Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free <a href="http://claude.ai">claude.ai</a> plan does not include it. Our <a href="/blog/how-much-does-claude-code-cost/">Claude Code cost breakdown</a> covers which plan fits.</p>
<h2 id="how-do-you-set-up-claude-code" tabindex="-1">How do you set up Claude Code? <a class="anchor" href="#how-do-you-set-up-claude-code" aria-hidden="true">#</a></h2>
<p>Run the native installer, check the version, then start <code>claude</code> in a project and log in. These are the commands from Anthropic’s <a href="https://code.claude.com/docs/en/quickstart">quickstart</a>, read on 5 Oct 2026.</p>
<figure class="mg" data-scene="marble"><img src="/blog/assets/media/how-to-use-claude-code/setup-steps.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A yellow marble rolls along a dotted track through five stops, and each one comes alive as it passes: a box opens for Install, a key turns for Sign in, files rise out of a folder for Open a project, a speech bubble pops for Ask a question, and a line of code turns green for Make a change. A strip below shows the command for each stop."><figcaption>The five setup steps, from Anthropic's quickstart. Tap a stop for its command. Checked 5 Oct 2026.</figcaption></figure>
<ol>
<li><strong>Install.</strong> On macOS, Linux or WSL:</li>
</ol>
<pre class="language-bash"><code class="language-bash"><span class="token function">curl</span> <span class="token parameter variable">-fsSL</span> https://claude.ai/install.sh <span class="token operator">|</span> <span class="token function">bash</span></code></pre>
<p>On Windows PowerShell:</p>
<pre class="language-powershell"><code class="language-powershell"><span class="token function">irm</span> https:<span class="token operator">/</span><span class="token operator">/</span>claude<span class="token punctuation">.</span>ai/install<span class="token punctuation">.</span>ps1 <span class="token punctuation">|</span> <span class="token function">iex</span></code></pre>
<p>That line is for PowerShell; the quickstart has a separate one for CMD and recommends Git for Windows. Native installs update themselves in the background. <code>brew install --cask claude-code</code> and <code>winget install Anthropic.ClaudeCode</code> also work, but those two don’t auto-update.</p>
<ol start="2">
<li><strong>Check it.</strong> Open a new terminal window and run:</li>
</ol>
<pre class="language-bash"><code class="language-bash">claude <span class="token parameter variable">--version</span></code></pre>
<p>It prints a version number followed by <code>(Claude Code)</code>. The latest release on <a href="https://github.com/anthropics/claude-code/releases/tag/v2.1.289">GitHub</a> today is v2.1.289, published 3 Oct 2026 (UTC). Homebrew can lag behind it. If your shell says <code>claude</code> isn’t found, the install folder isn’t on your PATH yet: Anthropic’s <a href="https://code.claude.com/docs/en/troubleshoot-install#command-not-found-claude-after-installation">install troubleshooting page</a> has the fix.</p>
<ol start="3">
<li><strong>Sign in.</strong> Start a session and follow the browser prompts. Your credentials are stored, so this happens once. <code>/login</code> switches accounts later, and <code>/exit</code> leaves the session.</li>
</ol>
<pre class="language-bash"><code class="language-bash">claude</code></pre>
<ol start="4">
<li><strong>Open a project.</strong> Claude Code works in the folder you start it from:</li>
</ol>
<pre class="language-bash"><code class="language-bash"><span class="token builtin class-name">cd</span> /path/to/your/project
claude</code></pre>
<ol start="5">
<li><strong>Ask before you change anything.</strong> Type <code>what does this project do?</code> and read the answer. You don’t add files by hand: the quickstart says Claude Code reads your project files as needed.</li>
</ol>
<h2 id="what-should-your-first-task-in-claude-code-be" tabindex="-1">What should your first task in Claude Code be? <a class="anchor" href="#what-should-your-first-task-in-claude-code-be" aria-hidden="true">#</a></h2>
<p>Make it a small change you can check by eye, such as the quickstart’s own example:</p>
<pre class="language-text"><code class="language-text">add a hello world function to the main file</code></pre>
<p>Claude Code finds the file and shows you the change. Whether it asks first depends on the permission mode. The quickstart says that on current versions auto mode is the built-in starting mode for interactive terminal sessions, so a classifier reviews actions instead of you. If it asks before making the change, select Yes. Press <code>Shift+Tab</code> to switch modes at any time. Why the prompts appear, and how to tune them, is in <a href="/blog/why-does-claude-code-keep-asking-for-permission/">why Claude Code keeps asking for permission</a>.</p>
<p>Then run <code>/init</code>. It generates a starter <code>CLAUDE.md</code>, the file Claude reads at the start of every conversation. Put build commands, code style and workflow rules in it. The <a href="https://code.claude.com/docs/en/memory">memory docs</a> say to target under 200 lines per file. It’s a memo, not the employee handbook.</p>
<h2 id="how-do-you-write-a-prompt-claude-code-can-act-on" tabindex="-1">How do you write a prompt Claude Code can act on? <a class="anchor" href="#how-do-you-write-a-prompt-claude-code-can-act-on" aria-hidden="true">#</a></h2>
<p>Name the symptom, the likely location and what fixed looks like. That advice, and the example below, come from Anthropic’s <a href="https://code.claude.com/docs/en/best-practices">best practices page</a>, which puts it this way: “The more precise your instructions, the fewer corrections you’ll need.”</p>
<figure class="mg" data-scene="focus"><img src="/blog/assets/media/how-to-use-claude-code/prompt.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A slider moves from vague to specific. At vague the card says fix the login bug among floating question marks. At specific it shows three tagged lines: the symptom, where to look, and the proof, a failing test."><figcaption>Drag the slider. Adapted from the before and after on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure>
<p>The second half matters as much as the first. Give Claude a check it can run (a test, a build, a linter) and it does the work, runs the check and iterates until it passes. Without one, in the docs’ words, “you become the verification loop”. Use <code>@</code> to point at a file by path.</p>
<h2 id="which-claude-code-commands-and-shortcuts-are-worth-knowing" tabindex="-1">Which Claude Code commands and shortcuts are worth knowing? <a class="anchor" href="#which-claude-code-commands-and-shortcuts-are-worth-knowing" aria-hidden="true">#</a></h2>
<p>About a dozen cover daily use. Type <code>/</code> to see the commands and skills available to you.</p>
<div class="table-scroll">
<table>
<thead>
<tr>
<th style="text-align:left">Command or key (checked 5 Oct 2026)</th>
<th style="text-align:left">What it does</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"><code>/help</code></td>
<td style="text-align:left">Shows help and the available commands</td>
</tr>
<tr>
<td style="text-align:left"><code>/clear</code></td>
<td style="text-align:left">Starts a new conversation with empty context</td>
</tr>
<tr>
<td style="text-align:left"><code>/compact</code></td>
<td style="text-align:left">Frees up context by summarizing the conversation so far</td>
</tr>
<tr>
<td style="text-align:left"><code>/init</code></td>
<td style="text-align:left">Sets the project up with a <code>CLAUDE.md</code> guide</td>
</tr>
<tr>
<td style="text-align:left"><code>/context</code></td>
<td style="text-align:left">Shows current context usage as a colored grid</td>
</tr>
<tr>
<td style="text-align:left"><code>/usage</code></td>
<td style="text-align:left">Shows session cost and plan usage limits</td>
</tr>
<tr>
<td style="text-align:left"><code>/resume</code></td>
<td style="text-align:left">Reopens an earlier conversation</td>
</tr>
<tr>
<td style="text-align:left"><code>Esc</code></td>
<td style="text-align:left">Stops Claude mid turn; it keeps the work done so far</td>
</tr>
<tr>
<td style="text-align:left"><code>Esc</code> twice on an empty prompt, or <code>/rewind</code></td>
<td style="text-align:left">Opens the rewind menu to restore code or conversation</td>
</tr>
<tr>
<td style="text-align:left"><code>Shift+Tab</code></td>
<td style="text-align:left">Cycles permission modes</td>
</tr>
<tr>
<td style="text-align:left"><code>!</code> at the start of a line</td>
<td style="text-align:left">Runs a shell command and adds its output to the session</td>
</tr>
<tr>
<td style="text-align:left"><code>claude -c</code></td>
<td style="text-align:left">Continues the most recent conversation in this directory</td>
</tr>
</tbody>
</table>
</div>
<p>Sources: the <a href="https://code.claude.com/docs/en/commands">commands reference</a> and <a href="https://code.claude.com/docs/en/interactive-mode">interactive mode</a> pages.</p>
<h2 id="the-working-loop-explore-plan-implement-commit" tabindex="-1">The working loop: explore, plan, implement, commit <a class="anchor" href="#the-working-loop-explore-plan-implement-commit" aria-hidden="true">#</a></h2>
<p>Anthropic’s recommended workflow has four phases, and it exists to stop Claude solving the wrong problem.</p>
<figure class="mg" data-scene="loop"><img src="/blog/assets/media/how-to-use-claude-code/loop.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A yellow dot travels around a ring through four phases, Explore, Plan, Implement and Commit. Each phase lights up in turn with a small moving icon and a one line note in the middle."><figcaption>Explore, plan, implement, commit. From the best practices page, checked 5 Oct 2026.</figcaption></figure>
<p>Press <code>Shift+Tab</code> until the status bar shows plan mode, and Claude reads files and answers questions without making changes. Ask for a plan, approve it, let it implement and run the tests, then ask it to commit. The docs add a limit: “If you could describe the diff in one sentence, skip the plan.” Our <a href="/blog/how-to-use-claude-code-plan-mode/">plan mode guide</a> has the details.</p>
<h2 id="common-mistakes" tabindex="-1">Common mistakes <a class="anchor" href="#common-mistakes" aria-hidden="true">#</a></h2>
<p>In our experience, most beginner trouble is a full context window. Everything Claude reads and every command output lands in it, and the best practices page says performance degrades as it fills.</p>
<figure class="mg" data-scene="jar"><img src="/blog/assets/media/how-to-use-claude-code/mistakes.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. Coloured balls for files, command output and the conversation drop into a jar until it is full and a note says performance degrades as it fills. Two buttons empty it: clear throws everything out, compact squeezes it into one summary block."><figcaption>Why a full context window causes trouble, and the two commands that fix it. Checked 5 Oct 2026.</figcaption></figure>
<ul>
<li><strong>One session for everything.</strong> Run <code>/clear</code> between unrelated tasks.</li>
<li><strong>Correcting the same thing a third time.</strong> After two failed corrections, <code>/clear</code> and write a better first prompt.</li>
<li><strong>A bloated <code>CLAUDE.md</code>.</strong> Too long, and important rules get lost in the noise. Prune it.</li>
<li><strong>Shipping what you can’t verify.</strong> Give it tests, scripts or screenshots.</li>
<li><strong>Treating rewind as version control.</strong> Checkpoints only track edits made through Claude’s file editing tools. Commit first.</li>
</ul>
<p>The fuller list is in <a href="/blog/claude-code-best-practices/">Claude Code best practices</a>.</p>
<h2 id="where-to-go-next" tabindex="-1">Where to go next <a class="anchor" href="#where-to-go-next" aria-hidden="true">#</a></h2>
<p>Once the basics feel boring, pick one:</p>
<ul>
<li><a href="/blog/claude-code-hooks-explained/">Hooks</a>, for scripts that must run every time.</li>
<li><a href="/blog/how-to-add-an-mcp-server-to-claude-code/">Adding an MCP server</a>, to connect outside tools.</li>
<li><a href="/blog/claude-code-subagents-vs-multi-agent-harness/">Subagents</a>, to keep research out of your main context.</li>
<li><a href="/blog/manage-multiple-claude-code-sessions/">Managing multiple Claude Code sessions</a>, for when one terminal stops being enough.</li>
</ul>
<link rel="stylesheet" href="/blog/assets/media/how-to-use-claude-code/motion.css"><script defer src="/blog/assets/media/how-to-use-claude-code/motion.js"></script>
<section class="faq" aria-label="Frequently asked questions">
<h2 id="faq">FAQ</h2>
<div class="qa">
<p class="q">Is Claude Code free to use?</p>
<p class="a">No. Anthropic's setup docs, checked 5 Oct 2026, say Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free claude.ai plan does not include Claude Code access. Anthropic's pricing page says Claude Code is included in all paid plans and shares their usage limits.</p>
</div>
<div class="qa">
<p class="q">Do I need Node.js to install Claude Code?</p>
<p class="a">Only for the npm route: the setup docs, checked 5 Oct 2026, say the npm package requires Node.js 22 or later. The install Anthropic recommends is the native installer, one curl command on macOS, Linux and WSL or one PowerShell command on Windows, and it updates itself in the background. Homebrew and WinGet installs do not auto-update.</p>
</div>
<div class="qa">
<p class="q">How do I start Claude Code in a project?</p>
<p class="a">Open a terminal, cd into the project folder and run claude. The first run asks you to log in through your browser. After that, type a question such as what does this project do? and Claude Code reads the files it needs.</p>
</div>
<div class="qa">
<p class="q">What is `CLAUDE.md` and do I need one?</p>
<p class="a">It is a file Claude reads at the start of every conversation, used for build commands, code style and workflow rules. You don't need one to start, but running /init generates a starter file from your project. Anthropic's memory docs suggest keeping each file under 200 lines.</p>
</div>
<div class="qa">
<p class="q">How do I undo something Claude Code changed?</p>
<p class="a">Press Esc twice on an empty prompt, or run /rewind, to open the rewind menu and restore the code, the conversation or both. Checkpoints only track edits made through Claude's file editing tools, not changes made by shell commands. Anthropic's docs say it is not a replacement for git, so commit before a big task.</p>
</div>
</section>
<hr />
<div class="share">
<span class="lbl">Tags</span>
<a class="tag" href="/blog/tags/guides/">Guides</a><a class="tag" href="/blog/tags/claude-code/">Claude Code</a><a class="tag" href="/blog/tags/getting-started/">Getting Started</a>
</div>
</div>
<aside class="toc-rail" aria-label="Table of contents">
<div class="tt">On this page</div>
<ol>
<li class="lvl-2"><a href="#what-do-you-need-before-you-install-claude-code">What do you need before you install Claude Code?</a></li><li class="lvl-2"><a href="#how-do-you-set-up-claude-code">How do you set up Claude Code?</a></li><li class="lvl-2"><a href="#what-should-your-first-task-in-claude-code-be">What should your first task in Claude Code be?</a></li><li class="lvl-2"><a href="#how-do-you-write-a-prompt-claude-code-can-act-on">How do you write a prompt Claude Code can act on?</a></li><li class="lvl-2"><a href="#which-claude-code-commands-and-shortcuts-are-worth-knowing">Which Claude Code commands and shortcuts are worth knowing?</a></li><li class="lvl-2"><a href="#the-working-loop-explore-plan-implement-commit">The working loop: explore, plan, implement, commit</a></li><li class="lvl-2"><a href="#common-mistakes">Common mistakes</a></li><li class="lvl-2"><a href="#where-to-go-next">Where to go next</a></li>
</ol>
</aside>
</div>
<footer class="post-foot wrap"><div class="prevnext">
<a class="pn prev" href="/blog/openclaw-alternatives/"><span class="k">← Older</span><span class="t">OpenClaw Alternatives: 7 Picks for Chat, Code and Cloud</span></a>
<a class="pn next" href="/blog/codex-pricing/"><span class="k">Newer →</span><span class="t">Codex Pricing: Every Plan, Usage Limit and API Rate (Oct 2026)</span></a>
</div>
<section class="related">
<h2>Related in Guides</h2>
<div class="post-grid">
<article class="card t-guides">
<a class="thumb t-guides" href="/blog/claude-md-best-practices/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/claude-md-best-practices/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>4 min</span>
</div>
<h3><a href="/blog/claude-md-best-practices/">CLAUDE.md Best Practices: What to Write, Where It Lives, How Long (Oct 2026)</a></h3>
<p class="dek">CLAUDE.md best practices from Anthropic's docs, checked 26 Oct 2026: what to put in it, where each file lives, the 200 line target and how AGENTS.md loads.</p>
<div class="foot">
<span class="tag kind">Guides</span>
<a class="more" href="/blog/claude-md-best-practices/" aria-label="Read: CLAUDE.md Best Practices: What to Write, Where It Lives, How Long (Oct 2026)">Read →</a>
</div>
</div>
</article>
<article class="card t-guides">
<a class="thumb t-guides" href="/blog/codex-computer-use/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/codex-computer-use/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>4 min</span>
</div>
<h3><a href="/blog/codex-computer-use/">Codex Computer Use: How to Turn It On, Plans and Limits (Oct 2026)</a></h3>
<p class="dek">Codex computer use lets the ChatGPT desktop app see and click apps on macOS and Windows. Setup, which plans get it, locked use and how Claude's compares.</p>
<div class="foot">
<span class="tag kind">Guides</span>
<a class="more" href="/blog/codex-computer-use/" aria-label="Read: Codex Computer Use: How to Turn It On, Plans and Limits (Oct 2026)">Read →</a>
</div>
</div>
</article>
<article class="card t-guides">
<a class="thumb t-guides" href="/blog/cursor-pricing/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/cursor-pricing/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/cursor-pricing/">Cursor Pricing (Oct 2026): Every Plan After the 12 Oct Change</a></h3>
<p class="dek">Cursor pricing as of 26 Oct 2026: Free, Plus $8, Premium $30, Super $100, Ultra $200, Teams seats, what changed on 12 Oct and what old plans keep.</p>
<div class="foot">
<span class="tag kind">Guides</span>
<a class="more" href="/blog/cursor-pricing/" aria-label="Read: Cursor Pricing (Oct 2026): Every Plan After the 12 Oct Change">Read →</a>
</div>
</div>
</article>
</div>
</section>
</footer>
</article>
</main>
<footer class="site-foot">
<div class="wrap">
<div class="foot-top">
<a class="foot-brand brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<div class="foot-links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in/blog/feed.xml">RSS</a>
<a href="https://github.com/chaitanyagiri/munder-difflin">GitHub</a>
<a href="https://munderdiffl.in">munderdiffl.in ↗</a>
</div>
</div>
<div class="foot-meta">
© 2026 Munder Difflin · Local-first · MIT-licensed ·
Built on <a href="https://munderdiffl.in">Electron, React, Pixi.js, xterm.js & node-pty</a>.
Run an office of agents while you sleep.
</div>
</div>
</footer>
<script>
// sticky-nav border on scroll
(function () {
var nav = document.getElementById('nav');
if (!nav) return;
var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };
onScroll(); window.addEventListener('scroll', onScroll, { passive: true });
})();
// YouTube click-to-load: thumbnail button → youtube-nocookie iframe
(function () {
document.addEventListener('click', function (e) {
var btn = e.target.closest('.yt-load');
if (!btn) return;
var box = btn.closest('.yt');
var id = box && box.getAttribute('data-yt');
// Only an 11 character YouTube video id may reach the iframe URL.
if (!id || !/^[A-Za-z0-9_-]{11}$/.test(id)) return;
var frame = document.createElement('iframe');
frame.src = 'https://www.youtube-nocookie.com/embed/' + encodeURIComponent(id) + '?autoplay=1';
frame.title = box.getAttribute('data-title') || 'YouTube video';
frame.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';
frame.setAttribute('allowfullscreen', '');
box.replaceChildren(frame);
});
})();
</script>
</body>
</html>