Step 1: Switch to Code mode
At the top of the Claude Desktop app, a toggle lets you switch from Chat to Code.
Step 2: Configure the environment
Environment: choose "Local" to work with files on your computer.
Project folder: select the folder inside dev_projects.
Model: Sonnet is fast and capable for most tasks. Opus is more powerful but uses more of your monthly quota.
Permissions mode: start with "Ask permissions" so Claude asks for confirmation before each modification.
Step 3: Give your first instructions
Create a portfolio page with three sections: a hero with my name
and title at 72px, a 6-project grid in 2 columns with
title and short description, a footer with LinkedIn and email links.
Background #F8F9FB, text #1E1E1E, accent #295FEC.
Use Tailwind CSS via CDN. Mobile-first responsive.
Step 4: Use the live preview
Click directly on elements: in the preview window, click on any element. Claude receives the exact context of the selected element.
The diff view: when Claude modifies a file, a diff is displayed: added lines in green, removed lines in red.
