FirstPrompt
Anmelden
Dein Tag im TerminalModul 1 · Ein Terminal, richtig eingerichtet
Lektion 1 von 6Nächste
2:44

Dieses Video gibt es vorerst auf Englisch. Die deutsche Fassung folgt bald.

In zehn Minuten zu etwas, das du verschicken kannst

KostenlosVideo 2:4410 Min. LesezeitLektion 1 von 6

Modul 1 · Ein Terminal, richtig eingerichtet

0/6
  1. 2:44In zehn Minuten zu etwas, das du verschicken kannstLäuft
  2. 2:29Was das wirklich kostetVideo
  3. 2:23Dein Terminal ist kein RätselVideo
  4. 2:19Sessions sind die Einheit der ArbeitVideo
  5. 2:09Rückgängig machen ohne AngstVideo
  6. 1:35Modul 1 im RückblickVideo

Du liest als Gast – dein Fortschritt wird nur auf diesem Gerät gespeichert.

Kostenlos registrieren und sichern

By the end of this lesson Claude Code is installed on your machine, you have run it once, and there is a finished page on your desktop that you made by asking for it in plain words. You can double-click it, and you can send it to someone. Ten minutes, one terminal window, nothing to configure.

You are probably here because you already use Claude Code, and you use it the way almost everyone does: one window open, one question at a time, watching it work and waiting for it to finish. That is a perfectly good way to start and a bad way to spend a day.

This course rebuilds that into a working day. But a day is built out of hours, and every hour is built out of one session that behaves itself. So module 1 is the single session, done properly — installed, understood, named, and recoverable when you break something.

Start with a win you can show someone.

Install it

One line. Pick your machine.

Open Windows Terminal or PowerShell from the Start menu and run:

PowerShell. This is the recommended Windows install and it updates itself.
irm https://claude.ai/install.ps1 | iex

Now check it. The installer does not add Claude Code to your PATH, the list of folders your terminal searches, so on a new computer the check below may fail. Closing the window does not help. If it fails, use the fix at the end of this lesson.

claude --version
Das solltest du sehen
A version number, something like 2.1.240. If you get 'not recognized' or 'command not found', use the fix at the end of this lesson.

Make something

Give yourself a folder to work in. Claude Code reads and writes files in the folder you start it from, so starting it in a fresh empty folder means it cannot touch anything you care about.

mkdir first-day
cd first-day
claude

The first run asks you to sign in and pick a text style. It also asks whether you trust this folder: press the down arrow to pick Yes, I trust this folder, then Enter. The default, No, exit, closes it again. Then you get a prompt, and that is the whole interface.

Four things about this box, because they are the four that trip people up:

  1. You type, you do not click. There are no buttons. It is a conversation.
  2. Esc interrupts. If it starts doing something you did not mean, press Esc once. It stops. You have not broken anything.
  3. Ctrl+D twice exits. Once is a warning, twice is out.
  4. /help lists everything. Every command starts with /. You will meet about eight of them in this course and ignore the rest.

Now ask for the thing. Claude does not know your name or what you do, and if you leave them out it guesses from your account email. So replace the two parts in angle brackets with the real facts, type the rest exactly as it is, and press Enter:

Make me a single HTML page called card.html. It is a one-page "what I do" card. I'm <your name>, and I <what you do, in one line>. Include my name, one sentence about my work, and three things I can help someone with. Make it look good on a phone. Use one file, no build step, no internet. Then tell me how to open it.

Claude will read the empty folder, tell you what it plans to write, and ask for permission before creating the file. Say yes. It writes card.html and stops.

You should see

A short list of what it did — one file created — and a line telling you how to open it. Not paragraphs of explanation. If you got an essay and no file, you are in a chat window, not Claude Code.

A terminal running Claude Code, writing card.html and reporting one file created
The whole first run. It reads the folder, says what it will write, waits for a yes, then writes one file and stops.

Open it

Leave Claude with /exit, then open the file. On the way out it prints a Resume this session with line: that is how you come back to this conversation, and a later lesson in this module uses it.

PowerShell. Opens it in your default browser, and it resolves the name against the folder you are standing in.
Invoke-Item card.html

That file is yours. It has no dependencies and no server behind it. You can email it, put it in a message, or drop it in a folder and forget about it for a year, and it will still open.

Send it to someone. That is the point of this lesson: ten minutes in, you have a thing rather than an opinion about a thing.

Prüf dein Ergebnis
  • claude --version prints a version number in a fresh terminal window
  • card.html exists in the first-day folder
  • Double-clicking it opens a readable page with your actual name on it
  • The page still looks right when the browser window is narrowed to phone width
  • You know how to interrupt Claude without closing the window
Melde dich an, um deine Arbeit prüfen zu lassen
Wenn du das siehst 'claude' is not recognized as an internal or external command

Your terminal does not know where Claude Code is. Closing the window does not fix this, because the installer does not change your PATH. Run this in PowerShell:

If you are in CMD, type powershell, press Enter, then paste this line.
$b = $env:USERPROFILE + '\.local\bin'; [Environment]::SetEnvironmentVariable('PATH', [Environment]::GetEnvironmentVariable('PATH', 'User') + ';' + $b, 'User'); $env:PATH += ';' + $b

Run claude --version again in the same window. If it still fails, check that the file is there:

Test-Path ($env:USERPROFILE + '\.local\bin\claude.exe')

If that prints False, the install did not finish, so run the install line again.

Wenn du das siehst command not found: claude

Same cause: your terminal does not know where Claude Code is, and closing the window does not fix it. On zsh, the default on a Mac, run this:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc

On bash, which is normal on Linux, run this instead:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc

Run claude --version again. If it still fails, check that the file is there:

ls -la ~/.local/bin/claude

If that says No such file or directory, the install did not finish, so run the install line again.

Wenn du das siehst It wrote the file somewhere I cannot find

Run pwd on macOS or Linux, or cd alone on Windows, and it prints the folder you are actually standing in. That is where the file went. Claude Code writes relative to where you started it, always.

Wenn du das siehst On Windows, start card.html opens the wrong file or nothing at all

start hands the name to Windows to resolve, and Windows does not always resolve it against the folder your prompt is showing. Use Invoke-Item card.html instead, or .\card.html with the leading dot-backslash — both are explicitly relative to where you are standing. If you are not sure where that is, run cd on its own and it prints the folder.

What you just learned

  • Claude Code installs in one line, but the installer does not add it to your PATH, which is the single most common first failure.
  • It works on files in the folder you start it in, so an empty folder is a safe place to experiment.
  • Esc interrupts, Ctrl+D twice exits, /help lists the rest.
  • A plain-language request with a named output file produces a real artefact, not a description of one.

Übung

Probier das auf deinem eigenen Computer aus. Der Kurs läuft in Claude Code, und dafür brauchst du einen bezahlten Claude-Plan.

In Claude öffnen

2-Minuten-Bonus

Welcher Prompt gewinnt?

Gleiche Aufgabe, zwei Prompts. Wähle den, der Claude die bessere Antwort entlockt.

NächsteWas das wirklich kostet
Nächste
KurseDein Tag im Terminal entdeckenPrompt-PacksBau deine eigene Website