Installing Claude Code and signing in
Course contents (20 lessons)
- Meet Claude Code
- What Claude Code is and how it differs from a chat window
- Installing Claude Code and signing in
- Your first session: explore, ask, change
- Asking well and staying in control
- Asking for changes: context, goal, constraints and acceptance criteria
- Reading and approving edits
- Permission modes: how much freedom to give
- Project memory and slash commands
- CLAUDE.md: teaching the tool about your project
- Slash commands and custom commands
- Everyday coding workflows
- The plan-first workflow
- Understanding unfamiliar code
- Debugging with Claude Code
- Refactoring safely
- Writing tests with Claude Code
- Git, small changes, cost and security
- Git workflows: branches, commits and pull request descriptions
- Keeping changes small and reviewable
- Context and cost awareness
- Security habits: secrets, commands and untrusted input
- Extending the tool, teamwork and a final project
- Hooks and MCP servers explained
- Team practices for AI-assisted coding
- Final project: building a small app step by step
Follow the official instructions
Install steps change. The tool has been distributed in more than one way over time, and requirements such as the supported operating systems and runtime versions get updated. So the first rule is: use the installation page in the official Claude Code documentation, not a blog post, a video or a copy of someone's script. That includes this course.
What I can tell you with confidence is the general shape:
- Check the requirements on the official page: supported systems, and anything you must have installed first.
- Run the installation command that the page gives you.
- Open a terminal in one of your projects and start the tool by typing its name.
- Sign in when prompted.
Starting it
The command that starts the tool is claude. You run it inside the folder of the project you want to work on. The folder matters because the tool treats it as the working area.
cd ~/projects/my-app
claude
On Windows you would use PowerShell or another terminal and your own path, for example cd C:\projects\my-app. Windows setups have had special steps at times, so read the Windows section of the official docs.
Signing in
The first time you run it, it asks you to sign in. The tool supports a few ways to do this, such as signing in with an Anthropic account, or using an API key for pay-as-you-go use, and organisations may have their own setup through a cloud provider. Pick the way that matches how you or your employer pay for it. The screen explains the choices at the time. Follow it, and do not copy keys into files that are committed to a repository.
Check that it works
Once you are in, ask something harmless and read-only:
What is the name of this project and what language is it written in? Answer from the files you can see.
If it answers correctly, it can read your project. If it complains about a missing folder or permissions, check that you started it from the right directory.
Useful first discoveries
Type /help to see the commands available in your version. The list is the best guide to the current features, since it always matches the installed version. You can usually exit with /exit or by pressing Ctrl+C twice, and the help text tells you which works for your version.
claude --help
The command-line help lists the options of the program. Read it once. You will find options there that this course does not cover, and some may be new since I wrote it.
Where to start it
Start it in the root folder of one repository, not in your home folder and not in a folder that holds many unrelated projects. A tool that can read and edit files should have a small, clear area to work in. If you have a monorepo, start at the root, or at the subfolder you are working on if the instructions of your team say so.
Updating
The tool is updated often. Check the official docs for how updates are applied in your install method. Staying reasonably current is useful, since new versions fix bugs and change behaviour. After an update, read the release notes for anything that changes permissions or commands.
A cautious first project
For the first sessions, use a project that is safe to experiment on. A personal project in git with no uncommitted work is ideal. Before you start, make sure your working tree is clean:
git status
git log --oneline -5
With a clean tree, every change the tool makes shows up in git diff, and you can throw away anything you do not like with a single command. That safety net makes you braver, and braver learners learn faster.
The common mistake
The common mistake is trying it first on your most important, messy, uncommitted project because it is the one with the most problems. If something goes wrong, you may lose hours of unsaved work. Commit or stash before the first session, and begin on something small.
Try it yourself
Install the tool from the official page, start it in a small project that is committed to git, and sign in. Ask the read-only question above. Run /help and copy the list of commands into a note. Close the session, reopen it, and notice that a new session starts fresh.
This course is free to read. Create a free account to enrol, save your progress and pick up where you left off.
Sign up free I already have an account