Guide · Windows

AI coding agents on Windows: the complete setup guide

Set up Claude Code, Codex, Aider, and other AI coding agents on Windows from scratch. Covers git, Node.js, WSL, agent installation, and running multiple agents in parallel with Pane.

Paneデスクトップアプリ:1つのPaneでClaude CodeがAPIクライアントをリファクタリングし、サイドバーには別のタスクが2つ並び、Changesパネルに変更したファイルが表示されている同じタスクを表示しているPaneのiPhoneアプリ。エージェントに返信する入力欄がある

3ステップで始める

Paneは無料のオープンソース(AGPL-3.0)です。macOS、Windows、Linuxで動き、アカウントは不要です。

Paneをインストール

下のインストールコマンドを使うか、お使いのパソコン用のアプリをダウンロードします。

プロジェクトを開く

gitリポジトリを追加して、エージェントを選びます。Claude Code、Codex、そのほかターミナルで動くエージェントなら何でも使えます。

タスクを並べて実行

タスクごとに専用のgitワークツリー上に専用のPaneができます。差分を確認して、コミットまたはマージします。

またはダウンロード

TL;DR

To run AI coding agents on Windows you need git (and Node.js or Python for some agents), then the agents themselves, like Claude Code or Codex. Keep projects that build natively on Windows in Windows, and put Linux-toolchain projects inside WSL, where file access is fast. Pane runs agents for both kinds of repo from one Windows app and gives every task its own worktree. This guide goes from a fresh machine to several agents running side by side.

Paneの実際の画面

Paneデスクトップアプリの実際の画面です。

エージェントからの質問カードが表示されたPane:リファクタリングで使うセッションストアを尋ねており、Postgresテーブルが推奨。サイドバーでは2つのPaneがWaitingになっている

エージェントへの返答を1か所で

エージェントが判断を求めると、作業画面の上に質問が表示されます。答えを選べばエージェントは作業を続けます。サイドバーには、あなたの返答を待っているPaneが表示されます。

PaneのLoopsページ:毎週金曜午後4時のドキュメント監査、次回の実行予定、Openボタン付きの完了した4回の実行

スケジュールでエージェントを実行

Loopsは、毎週のドキュメント監査のように、決めた時刻にエージェントを実行し、あとで開けるようにすべての実行を残します。

しくみ

タスクごとにリポジトリの専用コピー(gitワークツリー)ができるので、エージェント同士が同じファイルを編集することはありません。それぞれを確認して、必要なものだけマージします。

リポジトリClaude CodeワークツリーCodexワークツリーGemini CLIワークツリーレビューマージ

This guide takes you from a fresh Windows machine to several AI coding agents running in parallel: prerequisites, the native-or-WSL choice, installing agents, and running them with Pane. If you already have git and Node.js, skip to installing agents.

Prerequisites

Git for everything; Node.js for Codex and npm installs; Python for Aider.

Git

Download it from git-scm.com or install with WinGet. Keep the default that makes git available from PowerShell. Git for Windows also gives Claude Code a Bash shell to work in.

winget install --id Git.Git -e --source winget

Node.js

Codex, OpenCode and other npm-installed agents need Node.js. Install the LTS version from nodejs.org or with WinGet, then check it with node --version in a new terminal.

winget install --id OpenJS.NodeJS.LTS -e

Python (optional)

Aider and a few other agents run on Python. Tick “Add Python to PATH” during installation.

winget install --id Python.Python.3.12 -e

Native Windows or WSL

Keep each repo on the side where its tools run; Pane handles both.

WSL gives you a real Linux environment inside Windows. Both work with agents; pick per project.

Native WindowsWSL
Best for.NET, Unity, PowerShell, anything that builds on WindowsDocker, bash-heavy projects, Linux-only toolchains
File speedFast for Windows pathsFast inside the Linux filesystem; slow across the boundary
In PaneAgents run in Git Bash, PowerShell or cmdAgents, terminals and git run inside the distro

If you're unsure, start native; you can add WSL later. To install it:

wsl --install

Installing agents

Install only the agents you'll use, then open a new terminal.

Claude Code

Anthropic's agent. Works with a Claude Pro or Max plan or an API key. See Claude Code in Pane.

irm https://claude.ai/install.ps1 | iex
# or: winget install Anthropic.ClaudeCode
claude

Codex

OpenAI's agent. Sign in with ChatGPT the first time you run it. See Codex in Pane.

npm install -g @openai/codex
codex

Aider

Open source pair programmer for almost any model. See Aider in Pane.

python -m pip install aider-install
aider-install
aider

OpenCode

Open source terminal agent for many providers. See OpenCode in Pane.

scoop install opencode
# or: npm i -g opencode-ai@latest
opencode

Run each command in a new terminal to check it works. “Not recognized as a command” usually means the terminal predates the PATH change; open a new one.

Installing Pane

One PowerShell line, or a guided setup through npx.

Pane is where your agents live: it handles worktrees, terminals, diffs and git. Install it with PowerShell:

irm https://runpane.com/install.ps1 | iex

Or use the guided setup, which also offers remote and headless options:

npx --yes runpane@latest

The installer picks the x64 or ARM64 build for your machine. The first time you run it, Windows SmartScreen may ask you to confirm; choose “More info”, then “Run anyway”.

Your first parallel session

Two panes, two agents, two branches.

Add your repo, then create two panes with Ctrl+N, one per task:

  • → Pane 1: Claude Code (Ctrl+Alt+3) refactoring the auth module.
  • → Pane 2: Codex (Ctrl+Alt+4) writing tests for the payment API.

Each pane has its own worktree and terminal. Move between them with Ctrl+Tab, review a pane's diff with Ctrl+Shift+B, and commit with Ctrl+Shift+K. When a task is done, archive the pane with Ctrl+Shift+W; Pane removes its worktree after checking nothing is left unsaved. More in how to run multiple AI agents in parallel.

Agents running in parallelEach pane runs the agent's real terminal UI, with several panes going at once.Pane 2.4.155 on Windows 11, repo inside WSL2

Common Windows issues

PATH, long paths, ports and the WSL boundary cause most problems.

"claude is not recognized as a cmdlet"

Open a new terminal first. If you installed with npm, run npm config get prefix and add that folder to your PATH. claude doctor checks the install.

Long path errors

Windows limits paths to 260 characters by default, which deep node_modules folders can hit. Turn long paths on in git:

git config --system core.longpaths true

And in Windows, under Settings, System, For developers, Enable long paths, or with:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f

Dev servers fighting over a port

Several worktrees running dev servers all want port 3000. Pane gives each pane its own block of ten ports in PANE_PORT; have your dev server read it. Without Pane, set the port yourself, for example PORT=3001 npm run dev.

Slow git across the WSL boundary

If a repo lives in WSL, run git from inside WSL. Reaching Linux files from Windows, or the other way round, is slow. Pane runs git inside the distro for WSL repos; in your own terminals, stay on one side.

出典

実際に試したもの
  • Pane 2.4.155 on Windows 11 with Ubuntu 24.04 on WSL2; install commands checked against each tool's docs in October 2026
訂正
間違っている点や古くなっている点があれば、教えてください。修正して、ページ上部の日付を更新します。 GitHubでissueを作成
出典

よくある質問

Can I run Claude Code on Windows without WSL?

Yes. Claude Code runs natively on Windows; install it with Anthropic's PowerShell installer or WinGet. Git for Windows is optional but recommended, because Claude Code then uses Git Bash for its shell tool. WSL is only needed for Linux toolchains.

Should I use WSL or native Windows for AI coding agents?

Use native Windows if your project builds and runs on Windows. Use WSL if it needs Linux tools such as Docker, bash scripts or Linux-only dependencies. Pane handles both from one Windows app, and runs agents inside the distro for repos you keep in WSL.

Does Pane support Windows ARM64?

Yes. Pane ships separate builds for Windows x64 and Windows ARM64, such as Snapdragon laptops.

How do I install Codex on Windows?

Run npm install -g @openai/codex, then codex. The first time, sign in with ChatGPT or another sign-in method.

How do I install Aider on Windows?

Run python -m pip install aider-install, then aider-install. You need Python and an API key for your model provider.

Can I run multiple agents on Windows at the same time?

Yes. The hard part is keeping their terminals, branches and folders apart. Pane gives each agent its own worktree and terminal in one app.

What if I get 'claude is not recognized' after installing?

Open a new terminal so PATH changes take effect. If you installed with npm, run npm config get prefix and add that folder to your PATH. Running claude doctor helps diagnose install problems.

Do I need tmux on Windows?

No. tmux doesn't run natively on Windows, so tools that need it, like Claude Squad, need WSL. Pane has its own terminals and doesn't need tmux.

How do I use Pane with a project inside WSL?

Add the repo by its WSL path, such as \\wsl.localhost\Ubuntu\home\you\project. Pane runs the agents, terminals and git inside the distro and keeps worktrees on the Linux filesystem.

またはダウンロード