Claude Code

Use Claude Code in Windows (WSL) or Linux, connecting from your fixed dedicated IP just like your AI websites.

One commandInstalls the official Claude Code and sets up the network.
Terminal includedClaude Code and the commands it runs all use your dedicated IP.
Self-check anytimeRun it again when something breaks; it tells you which part is failing.

Let your AI tool set it up

Already using an AI tool that can run commands, such as Codex, Claude Code or Cursor? Send it the text below. It follows our guide step by step and hands over to you whenever a password or administrator rights are needed.

Help me set up Claude Code on this computer for win2time.
First download and read the setup guide at https://win2time.com/claude-code/agent.md (on Windows use curl.exe), then follow it step by step.
Before each command, tell me what it does. Whenever a username, password or administrator rights are needed, let me do it myself in the terminal. Never ask me for the password.

The guide your AI tool reads: win2time.com/claude-code/agent.md. It never asks for your dedicated IP password.

Do it yourself

1

Before you start

Make sure you have:

  • An active dedicated IP, with Clash Verge set up from “How to connect” in your account (the latest setup, which includes local port 17890)
  • Your own paid Claude account (Pro, Max or similar), which Claude Code requires
  • WSL and Ubuntu on Windows. If you do not have them, run this in PowerShell as administrator, then restart:
    wsl --install
  • Windows Terminal is recommended: the old console window often garbles text and menus. If the Microsoft Store will not install it, download the portable zip (the x64 one) from Microsoft’s official GitHub page.
2

Install with one command

Open Ubuntu and run:

curl -fsSL https://win2time.com/setup/claude-code.sh | bash

It checks the connection, shows your exit IP, installs Claude Code from the official source, writes the network settings and adds a CLAUDE.md template. It is safe to run again. If it asks you to on the first run, run wsl --shutdown in PowerShell, reopen Ubuntu and run it again.

3

Start using it

Work in WSL’s own folders, not under /mnt/c: Windows folders are slow from WSL, and Claude could change files on your Windows drive.

mkdir -p ~/projects/test
cd ~/projects/test
claude

The first time in a folder it asks whether you trust it. For a folder you created, choose “Yes, I trust this folder”.

4

Check it uses your dedicated IP

Inside Claude Code:

  • Type /status: the Proxy line should show an address with port 17890 or 17891
  • Type this line; the ip shown should be your dedicated IP:
    ! curl -s https://ipinfo.io
  • For direct evidence: search for anthropic on the Connections page in Clash Verge and see it going through AI静态链