Skip to content

First run

Create a working folder, set your API key, and get as far as actually starting it up. Once this is done, all that is left on the day is building.

Claude Code uses “the folder you currently have open” as its workspace. Create a dedicated folder so things stay tidy.

ターミナルウィンドウ
mkdir -p ~/build-day
cd ~/build-day

If you put a settings file inside the working folder, your key stays even after you reopen the terminal. You do not have to enter it every time.

  1. Create the settings file and open it. Run this while you are in the working folder (build-day).

    ターミナルウィンドウ
    mkdir -p .claude
    touch .claude/settings.json
    open -e .claude/settings.json

    An empty file opens in TextEdit.

  2. Paste in the following, replace YOUR_API_KEY_HERE with the key you created (the string starting with sk-ant-), and save.

    {
    "env": {
    "ANTHROPIC_API_KEY": "YOUR_API_KEY_HERE"
    }
    }
  1. Type claude and press Enter.

    ターミナルウィンドウ
    claude
  2. You are asked whether to use the API key. Press ↑ to select Yes, then press Enter.

    Detected a custom API key in your environment
    ANTHROPIC_API_KEY: sk-ant-...FwAA
    Do you want to use this API key?
    Yes
    ❯ No (recommended)
    Enter to confirm · Esc to cancel

    No (recommended) is selected by default. Pressing Enter without thinking picks “No”, and the API key you just set is not used. Your answer is remembered, so you are only asked once.

  3. You are ready once the Claude Code prompt appears. The version, the model in use and the working directory are shown at the top. If your API key is set, you will not be asked to log in (only the API key confirmation above is shown, the first time).

Right after startup, the default model (e.g. Opus 5) is selected. Build Day is about the newly released Fable 5.1, so switch to it with /model.

  1. Type /model and press Enter.

  2. Choose Fable (Fable 5.1) from the list and press Enter. Enter sets it as your default model; s applies it to this session only.

  3. The switch is done once the display at the top shows Fable 5.1.

An API key takes priority over login credentials. While it is running, open /usage or /login to see which account and which authentication it is currently using.

Write it at the prompt in plain language and press Enter.

Create an HTML file in this folder that just shows today's date

Claude creates the file, shows you the changes, and asks permission to run it. Approve it and the work continues. It always asks before changing a file, so nothing gets broken behind your back.

Once you get the hang of it, try asking for things like this.

Open the HTML you made in a browser and show me
Make the background a gradient and add a clock

Once Claude Code is running, you can use commands that start with /. You do not need to memorize them all.

CommandWhat it does
/helpList the available commands
/loginLog in again or switch accounts
/usageA rough figure for usage and cost in the current session
/clearReset the conversation (when moving on to something else)
/modelSwitch the model in use
/exitQuit (Ctrl+D also works)

For keyboard shortcuts, Shift+Tab switches permission modes and Escape interrupts whatever is running. If you feel it is heading in the wrong direction, do not hesitate to press Escape.

That is the whole setup. To give you ideas for what to build on the day, we have prepared real prompts and the things they produced.

Showcase: prompts and results