Tutorial

Claude Code for Beginners: Complete Tutorial to Get Started in 2026

minhaskills.io Claude Code for Beginners: Complete Tutorial to Get Started in 2026 Claude Code
minhakills.io 2 Apr 2026 14 min read

You've heard about Claude Code, seen people creating entire projects using the terminal and thought: "how do I start?" This tutorial will take you from zero to being productive -- without assuming you know how to code, without skipping steps, and without unnecessary jargon.

Claude Code is, today, the most powerful tool for anyone who wants to use artificial intelligence directly on their computer. It's not a chatbot in a browser tab. And an assistant wholives in your terminal, reads your files, runs commands and builds real projects. And you will learn how to use all of this in the next few minutes.

1. What is the Claude Code (and why is everyone using it)

Claude Code is a command line tool (CLI) created by Anthropic. In simple terms: you open your computer terminal, typeclaudeand start talking to an AI that can do things on your computer.

The difference between Claude Code and Claude's browser chat (claude.ai) is fundamental:

Feature Claude Web (claude.ai) Claude Code (terminal)
InterfaceBrowserTerminal/command line
Read files from PCNo (only uploads)Yes, any file
Edit filesNaoYes, directly
Execute commandsNaoYes (git, npm, scripts...)
Create projectsGenerate code to copyCreate files directly on your PC
Maximum context200K tokenswindow from the beginning. 1 million tokens
Extensible with skillsNaoYes, hundreds of skills

The Claude Code and what transforms AI from a "question and answer tool" intoreal job assistant. He doesn't tell you how to do it -- he does it together with you, in your project, in your files.

Who is using

Developers use it to write code, run tests and deploy. Marketers use it to create landing pages, set up tracking and generate copy. Designers use it to prototype interfaces. Managers use it to automate reports. The tool does not have a single target audience -- anyone who works on a computer can benefit.

2. Requirements before starting

Before installing, make sure you have everything ready:

Don't know if you have Node installed?Open the terminal and typenode --version. If something likev20.11.0, you are ready. If you get an error, install Node.js first.

Checking everything at once

Terminal
# Verificar Node.js
$ node --version
v22.4.0

# Verificar npm
$ npm --version
10.8.1

# Se os dois funcionarem, voce esta pronto

3. How to install Claude Code step by step

Installation is a single command. Open the terminal and run:

Option 1: via npm (recommended)

Terminal
$ npm install -g @anthropic-ai/claude-code

# Aguarde a instalacao completar...
added 1 package in 12s

# Verificar se instalou corretamente
$ claude --version
1.0.x

Option 2: via Homebrew (macOS only)

Terminal
$ brew install claude-code

# Mesmo resultado, metodo diferente

If you are on macOS and already use Homebrew, option 2 is convenient. Otherwise, npm works on any system.

Permission error?If you get a permissions error on npm, don't use itsudo. Instead, configure npm to install in your user folder. The npm documentation explains how in 2 minutes. Or use Homebrew which doesn't have this problem.

4. First use: authentication and configuration

With Claude Code installed, it's time to open it for the first time. Navigate to any folder (it could be your Desktop) and type:

Terminal
$ claude

Welcome to Claude Code!
To get started, sign in at:
https://console.anthropic.com/oauth/...

# Um link sera aberto no navegador automaticamente

Claude Code will open your browser with an Anthropic login page. Log in with your account (or create one if you don't have one yet). After authorizing, the terminal will show that you are connected.

Authentication methods

For most beginners, the Pro plan ($20/month) is the most direct path. You log in once and that's it -- Claude Code remembers your session.

5. Interface: how the interactive terminal works

When Claude Code starts, you see something like this:

Claude Code
Claude Code v1.0.x
Model: claude-sonnet-4-20250514
Context: 1,000,000 tokens
Working directory: /Users/voce/Desktop

> Type your message... (/ for commands)

The interface is clean. You have a prompt (>) where to type instructions in natural language. No need for special syntax, no need for code. Just write what you want.

Interface elements

Safety Tip:Claude Code always asks for permission before performing actions on your computer. He will show you exactly what he wants to do and you decide whether to authorize it. Nothing happens without your consent.

6. Basic commands you need to know

Claude Code has built-in commands that start with/. You don't need to memorize them all -- just know that they exist and consult them when you need them. Here are the essentials to get started:

Command What it does When to use
/helpShows all available commandsWhen you're lost
/clearClears all conversation historyTo start a new subject from scratch
/compactSummarize the conversation to save tokensWhen the conversation gets too long
/costShows how much you spent on tokens in the sessionTo control expenses
/modelSwitch between models (Sonnet, Opus, Haiku)When you need more power or savings
/initCreates the project's CLAUDE.md fileWhen starting a new project

In practice

Claude Code
# Ver quanto gastou ate agora
> /cost
Session cost: $0.42 (input: 125K tokens, output: 18K tokens)

# Conversa ficou longa? Compacte
> /compact
Compacted conversation from 125K to 8K tokens

# Quer comecar do zero?
> /clear
Conversation cleared

These 6 commands cover 90% of what you need in everyday life. As you use it, you will discover others naturally.

Want to master this faster?

Everything you are learning here becomes 10x more powerful with ready-made skills. Instead of typing commands manually, skills do the heavy lifting for you. 748+ professional skills, installs in 2 minutes.

Quero as Skills — $9

7. Your first project: creating something from scratch

The best way to learn is by doing. Let's create a simple project: a personal web page. Open the terminal, navigate to where you want to create the project and start Claude Code:

Terminal
$ mkdir meu-site && cd meu-site
$ claude

> Crie uma pagina pessoal simples com meu nome "Maria Silva", uma foto placeholder, uma breve bio sobre marketing digital e links to LinkedIn e Instagram. Design moderno, cores escuras, responsivo.

What will happen:

  1. Claude Code will analyze your request
  2. It will propose creating a fileindex.html(and maybe astyle.css)
  3. It will ask for your permission to create the files
  4. You authorize it and it creates everything
  5. Done -- the files are in the foldermeu-site/

You can open theindex.htmlin the browser and see the result immediately. Didn't like something? Continue the conversation:

Claude Code
> Mude a cor principal to azul e adicione uma secao de depoimentos com 3 cards

Claude edita o arquivo index.html diretamente...
Updated index.html with blue color scheme and testimonials section

Note that the Claude Codeedited the existing file-- he didn't generate a new one. He knows that theindex.htmlalready exists, and the content is current and applies only the necessary changes. This is the difference: he works with your real project, not with generic code.

Other projects to practice

8. Understanding context and tokens (1M window)

Tokens are the “unit of measurement” of AI. Every word you send and every word Claude responds to consumes tokens. Understanding this helps you use Claude Code more efficiently and economically.

What is the context window

The context window and Claude Code's "working memory". Everything you said, everything he replied and all the files he read are in this window. Claude Code has a windowwindow from the beginning. 1 million tokens-- this is equivalent to approximately:

In practice, you will rarely run out of this window. But very long conversations consume more tokens and can be slower (and more expensive). That's why there are commands/compact e /clear.

How to save tokens

Practical tip: use /costregularly to monitor consumption. With the Pro plan, you have a generous limit. With the Max plan, usage is practically unlimited. If used via API, each token has a specific cost per model.

9. Installing skills to enhance

So far, you're using the "raw" Claude Code -- it's powerful, but generic. Skills turn him into aspecialist on demand.

What are skills

Skills are Markdown files (SKILL.md) that contains specialized instructions. When you install an "SEO audit" skill, for example, Claude Code will have in-depth knowledge of technical SEO, on-page, schema markup and everything else. He's not "inventing" -- he's following expert instructions.

How to install

Skills stay in the folder~/.claude/skills/(for global access across all projects) or.claude/skills/(for a specific project). Installation is literally copying folders:

Terminal
# Estrutura de uma skill instalada
~/.claude/skills/
  auditoria-seo/
    SKILL.md ← instrucoes
  gerar-copy/
    SKILL.md
  criar-landing-page/
    SKILL.md

# No Claude Code, digite / to ver suas skills
> /
/auditoria-seo
/gerar-copy
/criar-landing-page
/help
/clear
...

Your skills appear alongside native commands. You type/auditoria-seoand Claude Code already knows exactly what to do, what criteria to analyze and how to format the result.

Create vs buy skills

You cancreate your own skills-- just write a Markdown file with instructions. But creating quality skills requires deep research into each domain, extensive testing and constant maintenance. For most professionals, it makes more sense to use ready-made skills and focus their time on productive work.

O Minhaskills.io Mega Bundlebrings 748+ ready-made skills covering SEO,Google Ads, Meta Ads, copywriting, email marketing, analytics and much more. THEMega Bundle has 748+ skills for React, Next.js, APIs, databases, DevOps and dozens of other technologies. The Mega Bundle costs $9.

10. Voice mode: using by voice

Claude Code also accepts voice input. Instead of typing, you speak and Claude Code transcribes and executes your instructions.

How to activate

On the terminal with Claude Code open, press the voice activation key (usually configured via/terminal-setup). Claude Code goes into listening mode, you speak your instruction and it processes it as if you had typed it.

Claude Code - Voice Mode
> [voice mode ativo]

Voce: "Crie uma funcao JavaScript que valida email e adicione no arquivo utils.js"

Transcribing... Processing...
Claude cria a funcao e adiciona no arquivo

When to use voice

  • Long instructions:It's faster to speak 2 tographs than to type
  • Multitasking:you can talk to Claude Code while doing something else
  • Brainstorming:ideas flow better when you speak than when you type
  • Accessibility:for those who have difficulty typing

Voicemod does not replace typing for everything. Short commands (/clear, /cost) are faster to type. But for complex instructions, voice is a real productivity gain.

11. Next steps

You already know how to install, authenticate, use basic commands and create your first project. Here is the way to go further:

Week 1: practice the basics

  • Create 3-5 small projects to gain fluency
  • Try asking for things outside your area (if it's marketing, ask for code; if it's necessary, ask for copy)
  • Use /costto understand your consumption pattern

Week 2: costmize

  • Use /initto create CLAUDE.md in your projects -- this gives Claude Code permanent context
  • Install specific skills for your area of ​​expertise
  • Explore the command/modelto understand the difference between Sonnet and Opus

Week 3: Integrate into the workflow

  • Start using Claude Code for real everyday tasks, not just practice
  • Combine with Git to version your projects
  • Test voice mode in long sessions

Week 4: Optimize

  • Create your own skills for repetitive tasks
  • Set up terminal shortcuts
  • Explore integration with VS Code and other tools

The secret is to use it every day. Even if it's just for a small task. Within 30 days of daily use, Claude Code will become a natural extension of your workflow.

SPECIAL OFFER — LIMITED TIME

The Largest AI Skills Package on the Market

748+ Skills + 12 Bonus Packs + 120,000 Prompts

748+
Professional Skills
Marketing, SEO, Copy, Dev, Social
12
GitHub Bonus Packs
8,107 skills + 4,076 workflows
100K+
AI Prompts
ChatGPT, Claude, Gemini, Midjourney
135
Ready-Made Agents
Automation, data, business, dev

Was $39

$9

One-time payment • Lifetime access • Free updates

GET THE MEGA BUNDLE NOW

Install in 2 minutes • Works with Claude Code, Cursor, ChatGPT • 7-day guarantee

✓ SEO & GEO (20 skills) ✓ Copywriting (34 skills) ✓ Dev (284 skills) ✓ Social Media (170 skills) ✓ n8n Templates (4,076)

FAQ

The Claude Code itself is installed for free via npm. However, to use it you need an Anthropic account with API credits or a Claude Pro ($20/month) or Max ($100-200/month) plan. The Pro plan includes use of Claude Code with generous limits. The Max plan offers practically unlimited use for those who work with the tool all day.

No. Claude Code accepts instructions in natural language -- you write (or say) what you want and it does it. Marketing professionals, designers, managers and people without technical experience use Claude Code daily. The only "technical" thing is to open the terminal and typeclaude, and this tutorial teaches you exactly how to do that.

Claude's chat (claude.ai) is a web interface for chatting. Claude Code is a terminal tool that, in addition to chatting, can read and edit files on your computer, execute commands, browse the web and interact with your projects. It has access to your file system and makes real changes -- creates files, edits code, runs scripts. The context window is also larger: 1M tokens versus 200K in web chat.

Share este artigo X / Twitter LinkedIn Facebook WhatsApp
PTENES