Claude Code guide in three levels, Beginner to Advanced: hands-on lessons with checked exercises, every volatile fact cited to its source. Independent community guide.
JavaScript agent-skillsagentic-codingai-agentsanthropicanthropic-claudebest-practicesclaudeclaude-aiclaude-codeclaude-code-guideclaude-code-hooksclaude-code-pluginsclaude-code-skillsclaude-code-tutorialclaude-code-workflowsguidelearn-claude-codemcpsubagentstutorial
docs: add the first Beginner lesson, install, sign in and look around (#61)
Wesam Abousaidefe329c508b1
diff --git a/docs/beginner/01-install-and-look-around.md b/docs/beginner/01-install-and-look-around.mdnew file mode 100644index 0000000..b124206--- /dev/null+++ b/docs/beginner/01-install-and-look-around.md@@ -0,0 +1,119 @@+# Install, sign in and look around++<sub>**Beginner** · Lesson 1 of 5 · about 20 minutes · Needs: [Beginner index](README.md) · Verified against Claude Code v2.1.285 (stable) on 2026-10-05</sub>++## Goal++By the end of this lesson you can install Claude Code, sign in, start it in a repository, and tell which version, model and account a session is using.++## You need++- A terminal and git, plus a Claude subscription (Pro, Max, Team or Enterprise; the free plan doesn't include Claude Code), a Claude Console account, or access through a supported cloud provider ([Quickstart](https://code.claude.com/docs/en/quickstart), [Advanced setup](https://code.claude.com/docs/en/setup)).+- Your copy of the practice template, cloned, as the [Beginner index](README.md#practice) describes, and Node.js LTS for its checks. In a Codespace on your copy, Claude Code is already installed: start at step 3.+- To practice in one of your own repositories instead, keep the template copy as well: the check runs from it. In your repository, set up the folder where lessons save snapshots, and tell git to ignore it without a commit ([gitignore](https://git-scm.com/docs/gitignore)):++ ```bash+ mkdir -p .practice+ echo '.practice/' >> "$(git rev-parse --git-path info/exclude)"+ ```++ **Windows:** `New-Item -ItemType Directory -Force .practice` and `Add-Content (git rev-parse --git-path info/exclude) '.practice/'`.+- Usage: light.++> [!NOTE]+> On native Windows, run the commands marked **Windows** in PowerShell. Installing [Git for Windows](https://git-scm.com/downloads/win) lets Claude Code use Bash; without it, Claude Code uses PowerShell instead ([Quickstart](https://code.claude.com/docs/en/quickstart)).++## The idea++Claude Code is a program you run in a terminal, inside a project folder. It reads the files there and answers questions about them; in the next lessons it changes them too.++Before you trust an answer, know three things about the session:++- **the version**, because features and defaults change between releases;+- **the model**, because models differ in what they can do;+- **the account**, because it decides which features and models you can use.++The header Claude Code shows when it starts gives the version and the model. The `/status` command shows the version, model and account together ([Commands](https://code.claude.com/docs/en/commands)).++## Worked example++1. Install Claude Code ([Quickstart](https://code.claude.com/docs/en/quickstart)):++ ```bash+ curl -fsSL https://claude.ai/install.sh | bash+ ```++ **Windows:** `irm https://claude.ai/install.ps1 | iex`++ When it finishes, open a new terminal window.+2. Check the install. A working installation prints a version number followed by `(Claude Code)`:++ ```bash+ claude --version+ ```++3. Go to your practice copy and save that output for the check:++ ```bash+ cd <your practice copy>+ mkdir -p .practice+ claude --version > .practice/version.txt+ ```++ **Windows:** `New-Item -ItemType Directory -Force .practice` replaces the `mkdir` line.+4. Start a session in the same folder:++ ```bash+ claude+ ```++ The first time, Claude Code asks you to sign in: with a Claude subscription or Console account, follow the prompts in your browser. With an API key or a cloud provider, follow the [Quickstart](https://code.claude.com/docs/en/quickstart) instead. The header above the prompt then shows the version, the model and the folder.+5. Type `/status`. The **Status** tab lists the version, the model and the account. Close it to get back to the prompt.+6. Ask two questions about the code:++ ```text+ what does this project do?+ ```++ ```text+ which file parses linkcheck.json, and how do I run the tests?+ ```++ Claude reads files to answer. Your wording will differ, but the answers should name `src/config.js` and `npm test`.+7. End the session with `/exit`.++## Your turn++Repeat steps 2 to 7 in your practice copy, or in your own repository:++1. Save `claude --version` to `.practice/version.txt`.+2. Start `claude` in that folder.+3. Open `/status` and note the model and the account.+4. Ask two questions of your own about the code, then end the session with `/exit`.++## Check++You are done when all of these are true:++- [ ] `.practice/version.txt` holds a line such as `X.Y.Z (Claude Code)`. Check it with `cat .practice/version.txt`.+- [ ] Self-check (not tested): you can say which model and which account `/status` showed.++Run `npm run check -- b-1` in your practice copy. In your own repository, run `npm run check -- b-1 --dir <your repo>` from your practice copy instead.++If the first item fails, run `claude --version` on its own. If the shell says `claude` isn't found, the install folder isn't on your `PATH` yet; [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install) matches the error to a fix.++## Watch out++- A new session can edit most files and run most commands without asking you first ([Quickstart](https://code.claude.com/docs/en/quickstart)). In this lesson, only ask questions; the next lesson shows how to choose what Claude may do on its own.++## Go further++- [How Claude Code works](https://code.claude.com/docs/en/how-claude-code-works): what happens between your question and its answer.+- [Configure the release channel](https://code.claude.com/docs/en/setup#configure-release-channel): this guide is checked against the `stable` channel, which skips releases with major regressions.+- [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install): fixes for install and sign-in errors.++---++<sub>Sources: [Quickstart](https://code.claude.com/docs/en/quickstart) · [Advanced setup](https://code.claude.com/docs/en/setup) · [Commands](https://code.claude.com/docs/en/commands) · [Troubleshoot installation](https://code.claude.com/docs/en/troubleshoot-install) · [gitignore](https://git-scm.com/docs/gitignore)</sub>++<sub>← [Beginner index](README.md) · Topic: [Models, effort and cost](../topics/models-effort-and-cost.md) · [Stuck on this lesson?](https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know/issues/new?template=lesson-feedback.yml&lesson=b-1)</sub>diff --git a/docs/beginner/README.md b/docs/beginner/README.mdindex 89c6fcb..6f5beed 100644--- a/docs/beginner/README.md+++ b/docs/beginner/README.md@@ -18,7 +18,7 @@ Before lesson 1, make your own copy of the [practice template](https://github.co## Lessons-1. Install, sign in and look around+1. [Install, sign in and look around](01-install-and-look-around.md)2. Permission modes and plan mode3. Your first change, from request to commit4. Keep a session on trackdiff --git a/docs/reference/commands.md b/docs/reference/commands.mdindex 273bcea..e5206b0 100644--- a/docs/reference/commands.md+++ b/docs/reference/commands.md@@ -8,8 +8,8 @@ The built-in commands and bundled skills the lessons use, grouped by the level t<a id="common-built-in-slash-commands"></a>## Beginner-- `/status`: your version, model, account and connectivity. *Install, sign in and look around*-- `/exit`: end the session. *Install, sign in and look around*+- `/status`: your version, model, account and connectivity. [Install, sign in and look around](../beginner/01-install-and-look-around.md)+- `/exit`: end the session. [Install, sign in and look around](../beginner/01-install-and-look-around.md)- `/plan`: enter plan mode from the prompt, optionally with the task. *Permission modes and plan mode*- `/diff`: review the changes in your working tree, including Claude's edits. *Your first change, from request to commit*- `/context`: how full the context window is, as a colored grid. *Keep a session on track*diff --git a/docs/reference/feature-map.md b/docs/reference/feature-map.mdindex d5505fc..e35d368 100644--- a/docs/reference/feature-map.md+++ b/docs/reference/feature-map.md@@ -14,7 +14,7 @@ How to read it:| Feature | Label | Who gets it ||---|---|---|-| [Terminal](https://code.claude.com/docs/en/quickstart) | – | Every provider |+| [Terminal](https://code.claude.com/docs/en/quickstart); taught in [Install, sign in and look around](../beginner/01-install-and-look-around.md) | – | Every provider || [VS Code](https://code.claude.com/docs/en/vs-code) | – | Every provider || [JetBrains IDEs](https://code.claude.com/docs/en/jetbrains) | The page has no label sentence, but its settings path reads "Claude Code [Beta]" | Every provider || [Desktop app](https://code.claude.com/docs/en/desktop) | On Linux: "Linux support for the Claude desktop app is in beta." ([Linux](https://code.claude.com/docs/en/desktop-linux)) | A Claude subscription; on Bedrock, Agent Platform and Foundry through Claude Desktop on those providers |diff --git a/docs/topics/models-effort-and-cost.md b/docs/topics/models-effort-and-cost.mdindex 57b3d2c..397b3ab 100644--- a/docs/topics/models-effort-and-cost.md+++ b/docs/topics/models-effort-and-cost.md@@ -6,7 +6,9 @@ Which model and effort level a task needs, and what a session costs.## Lessons-This topic's lessons are linked here in level order, with its Electives, as they are published.+- Beginner: [Install, sign in and look around](../beginner/01-install-and-look-around.md)++Later lessons on this topic are linked here in level order, with its Electives, as they are published.## Reference