Omniscio

OmniscioClaude Code on Windows

Running Claude Code on Windows

  • Docs updateNeeds You
  • RefactorRunning
  • Test passRunning
  • MigrationError

Last tested on Claude Code 2.1.301, October 16, 2026. By the Omniscio team. Updated .

What Windows changes about Claude Code

The agent reads files and runs commands, and that part does not care which system it is on. Four things around it do.

The shell behind the Bash tool

Anthropic supports Bash, Zsh, PowerShell and CMD. On native Windows, Git for Windows is optional, and it is the switch between two tools. Install it and Claude Code uses Git Bash for its Bash tool, and Anthropic's install notes name Git Bash as what the Monitor tool needs too. Skip it and shell commands go through the PowerShell tool, where quoting and most Unix commands differ from the guides. A WSL setup needs Git for Windows neither way.

With Git for Windows installed you also get the PowerShell tool alongside Bash. It is on by default for claude.ai and Console accounts, and CLAUDE_CODE_USE_POWERSHELL_TOOL=1 enables it for other providers. If Claude Code cannot find Git Bash, name the binary in your settings:

{
  "env": {
    "CLAUDE_CODE_GIT_BASH_PATH": "C:\\Program Files\\Git\\bin\\bash.exe"
  }
}
PS> (Get-Command git).Source
C:\Program Files\Git\ucrt64\bin\git.exe
PS> claude --version
2.1.301 (Claude Code)
PS> (Get-Command claude).Source
C:\Users\...\.local\bin\claude.exe
PS> claude doctor
Claude Code doctor

Running: native (2.1.301)
Platform: win32-x64
Path: C:\Users\...\.local\bin\claude.exe
Config install method: native
Search: OK (...)
...
No installation issues found.

Captured on Windows 11 build 26200, October 16, 2026, with Git for Windows 2.56.0: claude resolves to the native install, Git Bash is at its default location, and claude doctor reports no issues. Not reproduced: which shell tool a session uses is not something claude doctor prints in 2.1.301, so that half is Anthropic's own behaviour, read the same day.

Sandboxing runs in WSL 2, not on Windows

Anthropic's Windows setup table answers this in three rows. Native Windows: sandboxing not supported. WSL 2: supported. WSL 1: not supported. So a sandbox is a reason to choose WSL 2, and not a reason to choose WSL 1.

Not reproduced. The three rows are Anthropic's, read on October 16, 2026, and a sandboxed command needs a WSL 2 session we did not start.

Paths stop at 260 characters

Windows still limits a path to 260 characters, and a node_modules tree reaches that quickly. Microsoft removed the limit from many file and directory functions in Windows 10 version 1607, but only for programs that opt in, and the opt-in takes two things: the registry value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled set to 1, and a longPathAware entry in the program's own manifest. A reboot may be needed for every process to see it. Relative paths stay capped at 260 whatever you do.

Git for Windows carries its own switch, core.longpaths, off by default because long paths are not supported by Windows Explorer, cmd.exe or the Git for Windows tool chain. Enable it only if you know what you are doing and are prepared to live with a few quirks.

For most people the cheapest fix is a shorter project path. C:\code\app leaves almost the whole 260 for the tree inside it; C:\Users\Your Name\Documents\Work\Clients\Acme\app has spent a third of the budget before the first dependency lands.

PS> Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem -Name LongPathsEnabled

LongPathsEnabled : 1

Captured on Windows 11 build 26200, October 16, 2026: this machine already has the registry opt-in set to 1, which is the read-back above. Not reproduced: the failure itself, because a machine with the opt-in already on is the wrong machine to trip it on. The limit, the two opt-ins and the reboot note are Microsoft's, read the same day, and the core.longpaths warning is Git for Windows' own.

Line endings, and the diff that rewrites a file

Windows writes a line ending as two characters, CRLF. Unix writes one, LF. When nothing reconciles them, a tool that writes CRLF into a file stored with LF makes git report that every line changed, though not one word moved. Here is that happening on a three-line file: committed with Unix endings, then rewritten with Windows ones.

$ git init notes && cd notes
$ printf 'alpha\nbeta\ngamma\n' > app.js
$ git add app.js && git commit -m "written on Linux"
$ printf 'alpha\r\nbeta\r\ngamma\r\n' > app.js
$ git diff --stat
 app.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

That happens when core.autocrlf has no value, which is how a fresh clone arrives. Asking git is the fastest check:

$ git config --get core.autocrlf
$ echo $?
1

A PC installed with Git for Windows' defaults answers differently. Its line-ending page offers three choices and lands on the first, which sets core.autocrlf to true, and Git for Windows calls that the recommended setting on Windows for cross-platform projects. So the same repository can show a whole-file diff to one person and a clean status to another.

The same sequence in Git Bash on Windows 11:

$ git init notes
$ cd notes
$ printf 'alpha\nbeta\ngamma\n' > app.js
$ git add app.js
$ git commit -m "first pass"
$ printf 'alpha\r\nbeta\r\ngamma\r\n' > app.js
$ git diff --stat
$ git config --get core.autocrlf
true
$ git config --show-origin core.autocrlf
file:C:/Users/.../.gitconfig	true
$ git config --show-origin --get-all core.autocrlf
file:C:/Program Files/Git/etc/gitconfig	true
file:C:/Users/.../.gitconfig	true
$ git config --system --get core.autocrlf
true
$ git ls-files --eol app.js
i/lf    w/crlf  attr/                 	app.js

git diff --stat printed nothing. The working copy holds CRLF and the repository holds LF, and this machine calls the file unchanged, because core.autocrlf=true rewrites the endings both ways. The setting comes from Git for Windows itself: --show-origin traces it to C:/Program Files/Git/etc/gitconfig, the system configuration the installer writes, and that account's own ~/.gitconfig repeats it.

Captured on Windows 11 build 26200, October 16, 2026, in a throwaway repository, run in Git Bash, whose prompt reads UCRT64. Account, host and paths are elided with .... The first capture comes from git on our Linux test machine, where the setting is absent; that diff is real.

Fix it in the repository rather than on each machine. One line in a root .gitattributes does it, and this is the same working tree after that line is committed:

$ printf '* text=auto\n' > .gitattributes
$ git add .gitattributes app.js
warning: in the working copy of 'app.js', CRLF will be replaced by LF the next time Git touches it
$ git commit -m "normalise line endings on commit"
$ git ls-files --eol app.js
i/lf    w/crlf  attr/text=auto        	app.js

The repository stores the file as LF while the working copy stays CRLF, and the two are treated as the same file. Git's configuration reference says core.autocrlf=true does the equivalent for one clone, as if every file carried text=auto with core.eol set to crlf. A committed .gitattributes travels further, because it applies to everyone who clones on any platform.

How do you install Claude Code on Windows?

Anthropic documents four routes, and they update differently. Each install command runs from PowerShell or CMD, and none needs Administrator. The simplest is the native installer from PowerShell:

irm https://claude.ai/install.ps1 | iex

The same installer, from CMD:

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Or with WinGet:

winget install Anthropic.ClaudeCode

Or as a global npm package, which installs win32-x64 or win32-arm64 for your processor:

npm install -g @anthropic-ai/claude-code

Each route updates differently, and How do you update Claude Code on Windows? covers the two failures that leave you with a command that used to work.

Your prompt tells you which terminal you are in: PS C:\Users\YourName> in PowerShell, C:\Users\YourName> without the PS in CMD. Anthropic's page lists four error messages here, and they answer two questions. Two are about the terminal: The token '&&' is not a valid statement separator means PowerShell, and 'irm' is not recognized as an internal or external command means CMD. The other two mean a macOS or Linux install line was pasted into a Windows shell: A parameter cannot be found that matches parameter name 'fsSL', because PowerShell's curl is an alias for Invoke-WebRequest, and 'bash' is not recognized as the name of a cmdlet, because that line pipes the download into a shell Windows does not ship.

A separate failure looks like a locked file and is not one. If the installer stops with Failed to download binary: The process cannot access the file ... because it is being used by another process, it could not write into %USERPROFILE%\.claude\downloads. Anthropic names two causes: a previous install still running, and antivirus scanning a partly downloaded binary. Close other PowerShell windows running the installer, give the antivirus time to release the file, then clear the folder and retry:

Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\downloads"
irm https://claude.ai/install.ps1 | iex

Not reproduced. The folder, the two causes and the retry pair are Anthropic's, read on October 23, 2026. Triggering it needs a second install left running or antivirus pointed at that folder.

The installer is a script you can read first. Anthropic's install.ps1 redirects to a bootstrap script, and this is what it carries:

$ curl -fsSL https://claude.ai/install.ps1 | grep -n "32-bit\|win32-\|DOWNLOAD_BASE_URL =\|FileHash"
11:# Check for 32-bit Windows
12:if (-not [Environment]::Is64BitProcess) {
13:    Write-Error "Claude Code does not support 32-bit Windows. Please use a 64-bit version of Windows."
17:$DOWNLOAD_BASE_URL = "https://downloads.claude.ai/claude-code-releases"
22:    $platform = "win32-arm64"
24:    $platform = "win32-x64"
71:$actualChecksum = (Get-FileHash -Path $binaryPath -Algorithm SHA256).Hash.ToLower()

Three things come out of that. Claude Code on Windows is 64-bit only, and the script stops rather than half-installing on a 32-bit system. The download is chosen per processor, win32-arm64 on ARM64 and win32-x64 everywhere else. And the download is checked against its published SHA-256 before it runs. The script then calls claude.exe install, which sets up the launcher and shell integration.

The 32-bit refusal has one false alarm. Windows puts two PowerShell entries in the Start menu, Windows PowerShell and Windows PowerShell (x86), and the x86 entry runs as a 32-bit process, so the script stops there even on a 64-bit PC. [Environment]::Is64BitOperatingSystem printing True means the system is fine and you should open plain Windows PowerShell instead; False means the machine really is 32-bit and Claude Code will not run on it.

Not reproduced. The two Start menu entries, the check and what each answer means are Anthropic's, read on October 23, 2026.

The binary carries a Windows code signature as well as that checksum. Anthropic signs it as Anthropic, PBC, and its setup page gives Get-AuthenticodeSignature .\claude.exe as the check, which prints the signer for a binary in your current folder. The checksum proves the file matches the release; the signature proves who built it.

Not reproduced. The signer name and the command are Anthropic's, read on October 23, 2026.

After it finishes, open a new terminal and run claude --version. A working install prints a version number and nothing else:

$ claude --version
2.1.301 (Claude Code)

If your shell says the command is not recognized, the install worked and its folder is not on PATH yet. The wording depends on the shell:

Windows CMD   'claude' is not recognized as an internal or external command
PowerShell    claude : The term 'claude' is not recognized as the name of a cmdlet

The installer places the program in %USERPROFILE%\.local\bin, and that folder must be on your user PATH. The installer says so in its own output under Setup notes:, naming the folder and printing the command that adds it, but it does not change PATH for you. Add it, open a new terminal, and the command answers. claude doctor runs installation diagnostics if it still does not.

Taken on Windows 11 with %USERPROFILE%\.local\bin removed from PATH for one terminal, nothing else touched. Windows PowerShell first, running 5.1.26100.9444:

PS C:\> $env:PATH = ($env:PATH -split ';' | Where-Object { $_ -notlike '*\.local\bin*' }) -join ';'
PS C:\> claude --version
claude : The term 'claude' is not recognized as the name of a cmdlet, function, script file, or
operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.

The same command in CMD, which reports itself as Microsoft Windows [Version 10.0.26200.9445]:

C:\> claude --version
'claude' is not recognized as an internal or external command,
operable program or batch file.

Put the folder back and it answers on the first try:

PS C:\> claude --version
2.1.301 (Claude Code)

Captured on Windows 11 build 26200, October 16, 2026. The two missing-command wordings are Anthropic's and reproduced here on a real machine. The two wrong-system spellings above are Anthropic's, quoted from its install troubleshooting page.

A last check: More than one Claude Code installation causes version mismatches and unexpected behaviour, so a version number that changes between terminals is worth counting. where.exe claude lists every claude on PATH, and Test-Path "$env:USERPROFILE\.local\bin\claude.exe" tells you whether the native install is really there rather than only whether something on the path answers to the name. Beyond the native one, look for a global npm package, removed with npm uninstall -g @anthropic-ai/claude-code, and the legacy local install at %USERPROFILE%\.claude\local, removed by deleting that folder. Anthropic recommends keeping the native install and removing the rest.

How do you update Claude Code on Windows?

The routes differ less in what they do on a good day than in the two failures they leave behind; one is Windows-only and looks nothing like an update.

A native install updates itself, and records how it went

A native installation checks for updates when it starts and periodically while it runs, downloads them in the background, and switches version the next time you start Claude Code. claude doctor prints the result of the most recent attempt.

WinGet does not update itself, and Anthropic gives the upgrade command. An npm install normally does, with one documented exception: when the npm global directory is not writable, Claude Code shows a one-time notice at startup and claude doctor lists the fixes. Either way you can move to the newest release by hand:

winget upgrade Anthropic.ClaudeCode
npm install -g @anthropic-ai/claude-code@latest

Anthropic warns against npm update -g for the second, because it respects the installed version range and can leave you where you were. There is also an opt-in that hands the job back to Claude Code: with CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE set to 1, it runs the upgrade itself in the background on Homebrew or WinGet and shows a restart prompt when the new version is ready.

The WinGet upgrade that fails because Claude Code is open

On Windows a running program holds a lock on its own executable, and Claude Code is running when it notices a new version. Anthropic says the WinGet upgrade can fail for exactly that reason, and that Claude Code shows you the manual command rather than reporting a broken install. Close Claude Code, run winget upgrade Anthropic.ClaudeCode, and it goes through. Claude Code can also report a version before WinGet's index has it, so one failed upgrade is sometimes only early.

The update that leaves no claude.exe behind

This one is Windows-only and arrives looking like something else: 'claude' is not recognized, in a terminal where it worked yesterday, with a PATH you never touched.

To replace itself, Claude Code renames the claude.exe it is replacing aside to a backup, then moves the new version into that name. If the move fails and the rename back fails too, the folder holds the backup and no claude.exe, which is what your shell is complaining about. The backup is in the same folder, named claude.exe.old. plus a timestamp, and this is Anthropic's command for putting the newest one back:

Get-ChildItem "$env:USERPROFILE\.local\bin\claude.exe.old.*" | Sort-Object Name | Select-Object -Last 1 | Rename-Item -NewName claude.exe

Run claude --version afterwards. If there is no claude.exe.old.* file, or the rename does not fix it, install again with the command from earlier on this page. There may be no backup at all: before v2.1.281 the backup could be deleted while claude.exe was still missing, so an older build has nothing to put back and has to be reinstalled.

Choosing which version an update may reach

Two settings decide where an update lands. autoUpdatesChannel takes "latest", the default, or "stable", which is typically about a week behind and skips releases with major regressions. minimumVersion sets a floor: background updates and claude update refuse anything below it. Switching to "stable" through /config asks whether to stay on your version or accept the downgrade, and staying writes that version into the floor, so the change does not carry you backwards. Changing autoUpdatesChannel in settings.json by hand does not ask.

Two environment variables switch updating off and stop different amounts. DISABLE_AUTOUPDATER stops the background check but leaves claude update and claude install working, which suits updating on your own schedule. DISABLE_UPDATES closes those two as well, which suits handing out your own builds. Anthropic names one reason to care: where your home folder sits on network storage shared by several machines, an npm install that updates in place deletes the binary other machines are still running, which is why it names DISABLE_UPDATES for that setup.

If a background update fails, the session footer carries a red line reading Auto-update failed · Run claude doctor. You can carry on working, and claude doctor gives the date of the failed attempt rather than the reason. claude update tries again, and its output is where the reason appears.

Not reproduced. Everything here is read from Anthropic's setup and install troubleshooting pages on October 23, 2026: the background update, the locked-executable upgrade, the early-notification issue, the rename-aside mechanism and its one-line repair, the reinstall fallback, the v2.1.281 behaviour, and the channel and disable settings.

The same job on every install method, with the exact command for each, is the update guide.

Do you need WSL to run Claude Code on Windows?

No. They are two tools with two costs, and both are supported. WSL gives you a real Linux environment, the shell every guide assumes, and the sandboxing native Windows lacks, and it puts a boundary in the middle of your work. Microsoft's comparison of the two WSL versions names cross-OS file-system performance as the one place WSL 2 comes off worse than WSL 1, and advises storing project files on the same operating system as the tools. Skip that and you have two filesystems, two sets of credentials and two places your code might be.

WSL 2 needs Windows 11, or Windows 10 version 1903 with build 18362 or later, and it is the version Microsoft installs by default. Anthropic's sandboxing row is the other reason to care which one you have.

WSL 2Windows directly
Best fitA project whose tooling is Linux-native: containers, shell scripts, a build pipeline.A project that is Windows-native through and through, or one whose path is already short.
ShellA real Linux environment, with the shell every guide assumes.Install Git for Windows so Claude Code has a real bash. Without it, shell commands go through the PowerShell tool.
SandboxingSupported. Anthropic's setup table lists it for WSL 2 only.Not supported, and not supported in WSL 1 either.
PathsForward slashes, and /home/you/projects/app rather than C:\Users\You\....Paths hold spaces and backslashes, and stop at 260 characters unless the program opts in.
What it costs youCross-OS file-system performance, the one row where Microsoft's comparison puts WSL 2 behind WSL 1.Line endings, if you leave them to whoever installed git.
PS> wsl -l -v
  NAME              STATE           VERSION
* Ubuntu            Stopped         2

PS> wsl --status
Default Distribution: Ubuntu
Default Version: 2

PS> wsl --version
WSL version: 2.3.26.0
Kernel version: 5.15.167.4-1

Captured on Windows 11 build 26200, October 16, 2026: WSL 2.3.26.0, with Ubuntu at version 2 and set as the default. Not reproduced: the timed cross-OS comparison, so the performance row is Microsoft's, read the same day, as is the WSL 2 requirement.

Whatever you choose, write it down; most time lost here is rediscovering later which shell the project uses.

Turning it on, installing Claude Code inside it, and the four errors only WSL prints are the WSL setup guide.

Which Claude Code apps run on Windows?

Claude Code is a terminal program, so it runs wherever a terminal does. The apps around it are not uniform; here is each one as of October 2026.

  • Claude Desktop ships a Windows download, and Anthropic documents it as the way to use Claude Code without a terminal. Its Code tab shows one message when it cannot open a session, on macOS and Windows. Couldn’t Open Claude Desktop reads that message. Failed to load session covers the three causes Anthropic documents, plus the Windows ones its reports show, including an MSIX install where claude.exe exits with code 3221225781. A machine with no Claude Code build for it at all reports Program for This Computer Could Not Be Found.
  • Claude Squad drives several agents through tmux and publishes Windows builds, but its tracker reports that they cannot start a session: #275, open since April 2026, describes new sessions failing immediately. The Claude Squad alternative page has the detail.
  • Conductor and Paradev (formerly Superset) are macOS-first: as of October 2026, neither has a Windows build. Conductor gives every agent a cloud sandbox on a Firecracker microVM, and released shared multiplayer workspaces in early access in 0.77.0 on 23 July 2026; Superset adds pull-request review, an MCP server and an iPhone and iPad app.
  • Vibe Kanban ships releases for Windows, macOS and Linux. Its maker bloop announced on 10 April 2026 that it was shutting down, and the project continues in the open, maintained by its community.
  • Omniscio is ours, with a Windows installer alongside macOS and a Linux AppImage. It puts every session in one window with its own status; the features page lists the rest.

Platform support changes often, so check the project's own download page; treat this as a dated snapshot.

Not reproduced. Claude Squad's Windows failure comes from its issue tracker rather than a machine we ran, because reproducing it means installing a third-party app. The platform answers for Conductor and Superset are from their own pages, and Vibe Kanban's from its releases. All read on October 16, 2026.

What goes wrong when you run several sessions at once?

One agent in one terminal is fine. At five, the terminal stops being a good interface.

  • Two agents, one directory. Nothing stops a second agent writing the same file as the first. You end up with one committing the other's half-finished edit, or running the test suite mid-rewrite. The commit mixes two changes that were never meant to be one.
  • You cannot see what is running. With several terminal windows, the useful information is spread across windows you have to visit: which is blocked, which failed, which finished ten minutes ago.
  • Tab chaos. Windows Terminal tabs can ring a bell when Claude finishes, but a bell does not tell you which session is blocked and which is done.
  • Nothing survives a restart. Claude Code keeps each transcript, so claude --resume reopens a session where it left off. What you do by hand is reopen every terminal and resume each one.

How do you run several Claude Code sessions at once on Windows?

Doing it by hand

The manual approach is a git worktree per session: a separate working directory on its own branch, so sessions cannot collide, each in its own terminal. That works, and for two things at once it is the cheapest answer. It turns into work of its own at around four sessions, because you are now doing the scheduling and the bookkeeping. The parallel-sessions guide walks through that setup step by step.

Using something built for it

The other option is an app built for the parallelism. Omniscio is ours, with a native Windows build. It keeps every session in one window with its own live status, with the ones that need you at the top, so blocked and failed sessions are the ones you see first. It can give each session its own git worktree, so two agents cannot edit the same file; worktree isolation is off until you switch it on, app-wide, for one project or for one session.

Two parts matter. You can set a cap that stops a session when its spending reaches an amount you choose. It covers the lanes that bill you per token, your own API key included, and it does not limit a flat-fee Claude Pro or Max subscription session, where no per-token bill builds up for a cap to stop. And Plain Speak rewrites a finished reply into a card you can take in at a glance, which is what you want when five sessions report at once.

If you would rather keep the terminal, keep it. Omniscio runs the same agents on the same machine, so you can move one session at a time. Free for up to 8 projects; Pro is $20/month or $192/year.

How should you set up Windows for Claude Code?

  1. Pick your shell first, either Git Bash or WSL, and use it for everything from then on. A project split across both keeps surprising you.
  2. Shorten the project path before you install dependencies. It buys back the 260 characters, and it is free.
  3. Commit a .gitattributes file with * text=auto so line endings are decided once, for everyone who clones.
  4. Confirm the agent can run a command and read a file in a throwaway directory first.
  5. Then add parallelism. Get one session reliable first, because a broken one is much harder to diagnose once there are five.

How we tested

We ran Claude Code 2.1.301 on October 16, 2026, and read every source below the same day. Captures are real sessions in throwaway directories, with echoed output trimmed and private paths elided. They come from a Windows 11 Pro machine, build 26200, with Git for Windows 2.56.0 and WSL 2.3.26.0 on Ubuntu 2; nothing was installed, no registry or git setting was written, and no WSL distribution was started. Anthropic's install and update pages and its Windows script were read again on October 23, 2026, and the script was unchanged. Anything resting on a vendor's word rather than a machine we ran says so in place.

Sources

Every claim about Claude Code, Windows, WSL or another app rests on one of these. The date beside each is the day we read it.

Platform support moves faster than anything else here. Read the source before you trust a copy of this page from a few months back.

Common questions

Does Claude Code work on Windows?

Yes. Anthropic supports Windows 10 version 1809 and later and Windows Server 2019 and later, either as a native install or inside WSL. The native install is 64-bit only, and the installer stops on 32-bit Windows rather than half-working. If it stops with that message on a 64-bit machine, you opened the Start menu's Windows PowerShell (x86) entry rather than Windows PowerShell, and [Environment]::Is64BitOperatingSystem in that same window tells the two apart.

Does Claude Code need Git for Windows?

No, but it changes which tool runs your commands. Anthropic calls Git for Windows optional and recommends it: with it, Claude Code uses Git Bash for its Bash tool; without it, Claude Code runs shell commands through its PowerShell tool instead. WSL does not need it either way.

Do I need WSL to run Claude Code on Windows?

No. WSL 2 is the only one of the two Windows setups where Anthropic supports sandboxing, so pick it when you want commands confined to a sandbox or your tooling is Linux-native. A Windows-native project is simpler to keep on Windows. Pick the environment your project already assumes.

How do I run several Claude Code sessions at once on Windows?

By hand it is one git worktree and one terminal per session, which holds up to about four sessions. Omniscio is our desktop app for the same job: it has a native Windows build, keeps every session in one window with its own status, and can give each session its own worktree so two agents cannot edit the same file.

Why does git say every line of my file changed after I edit it on Windows?

Line endings. A tool that writes CRLF into a file the repository stores with LF makes git see a change on every line, even when no text moved. Set the ending once, in the repository, with a .gitattributes file; core.autocrlf=true does the same thing for one clone.

How do you update Claude Code on Windows?

A native install updates itself in the background and applies the new version the next time you start Claude Code. WinGet does not update itself, so you run winget upgrade Anthropic.ClaudeCode; an npm install usually does, and npm install -g @anthropic-ai/claude-code@latest moves it to the newest release by hand. On WinGet the upgrade can fail while Claude Code is open, because Windows locks the running executable.

Why is 'claude' not recognized after an update on Windows?

Because the update can leave no claude.exe behind. Claude Code renames the existing claude.exe aside to a backup and moves the new version into its place; if the move fails and the rename back fails too, the folder holds the backup and no claude.exe, so the shell reports the command missing even though PATH is unchanged. Rename the newest claude.exe.old.* file back to claude.exe, or install again.

Run your next five sessions in one window

Omniscio installs on Windows, macOS and Linux. The features page lists what it does today. Grab the installer for your system.