Skip to content

Osiris is still in development — the official launch is coming soon. Try the preview free

Osiris
Account Try free
Windows

Installing Claude Code on Windows

Last checked: 17 October 2026

Claude Code is Anthropic's command-line tool for coding with Claude. On Windows 10 and 11 you can install it with WinGet, without Node.js. This guide covers installing, signing in and two problems that come up on Windows: “claude is not recognized” and an old npm installation that gets in the way. It is based on what the Windows setup of Osiris does; what counts is Anthropic's official documentation, linked from Anthropic's Claude Code page.

Install Claude Code with WinGet

Open PowerShell or the command prompt and run this line. It is the same fixed command Osiris uses:

winget install -e --id Anthropic.ClaudeCode --source winget --accept-source-agreements --accept-package-agreements

When WinGet is done, close the window and open a new one before you go on — the next sections explain why.

Sign in to Claude Code

In the new window, run claude auth login. You can sign in with your Claude account, on a plan that includes Claude Code, or with an API key from Anthropic. Then run claude auth status: it tells you whether you are signed in, and how. Anthropic bills the usage directly, under your own plan or key.

“claude is not recognized”

This message often appears right after a successful installation. WinGet and the native installer add their folder to the PATH, but only for new sessions. A terminal that was already open, and every program started from it, still has the old PATH. So close the window and open a new one. If claude is still not found, check whether the file is where it belongs:

Osiris looks in both places itself, so it finds Claude Code even before a new PATH entry is active. When it opens a terminal for you to sign in, it puts that folder at the front of the terminal's PATH.

An old npm installation

Claude Code used to be installed with npm i -g @anthropic-ai/claude-code. That needs Node.js — without it, Windows answers “npm is not recognized” — and on Windows it creates a batch file, claude.cmd. Such installations can cause two problems:

To see which versions exist and in which order Windows finds them, run where.exe claude. In PowerShell, type the .exe: plain where is a different command there. If an old npm version shows up, remove it with npm uninstall -g @anthropic-ai/claude-code.

What Osiris does for you

Osiris is a desktop app built on Claude Code, and it works with your own sign-in. On Windows it takes most of the steps above off your hands:

On the first start of the Osiris setup, Windows SmartScreen may ask before it runs: choose More info → Run anyway. The installers for all systems are in the download section of the homepage.

Claude Code in the Osiris terminal on Windows

Osiris has a terminal built in, with its own shell per tab. On Windows, PowerShell runs there in line mode:

More on the editor and terminal in Osiris, and on what Osiris puts around Claude Code in a graphical interface for Claude Code.