Instructions for installing Claude Code on Windows 11

With WinGet, you can easily install Claude Code on your computer without needing any other supporting tools. Importantly, WinGet is already pre-installed on your computer and only requires one command to activate.

Claude Code is an AI-powered programming tool developed by Anthropic, running directly in the Terminal. With WinGet, you can easily install Claude Code on your computer without needing any other supporting tools. WinGet is already pre-installed and only requires one command to activate. Below is a guide on installing Claude Code on Windows 11.

 

How to install Claude Code on Windows 11

Step 1:

You need to open Windows Terminal (or PowerShell) with administrator privileges . Then enter the command below to check if WinGet is available.

 

winget --version

Step 2:

Enter the command below to install Claude Code on your computer.

winget install Anthropic.ClaudeCode

You will then see the ClaudeCode installation process for your computer.

Images 1 of Instructions for installing Claude Code on Windows 11

If you see the message "No package found matching input criteria ," enter the command below to update WinGet on your computer.

winget source update

Step 3:

Open a new Terminal window and enter the following command to check the version of Claude Code .

claude --version

If after entering this command you receive the message 'claude' is not recognized as a command , follow the steps below.

Restart the Terminal and re-enter the version check command. If it still doesn't work, restart your computer.

 

Enter the command below to check if Claude Code is installed .

where.exe claude

If nothing appears , the Claude Code installation process failed without error. Run the command below to check if the software has been successfully installed.

winget list Anthropic.ClaudeCode

For a more comprehensive diagnosis , run the following command:

claude doctor

This tool checks the installation type, version, and configuration and points out most common problems.

Images 2 of Instructions for installing Claude Code on Windows 11

Authenticate using your Anthropic account via PowerShell

In the Command Prompt or PowerShell interface, enter the following command.

claude

The system will prompt you to select a color mode for the Claude terminal . The default mode will be dark mode.

Images 3 of Instructions for installing Claude Code on Windows 11

 

Now, you will be asked to choose a login method . If you have a Claude subscription, choose the first method; if you want to use the API, choose the other method and press Enter.

Images 4 of Instructions for installing Claude Code on Windows 11

Next, you will be asked to verify . We log into the Anthropic website and then allow Claude Code access to your account.

After a successful connection, the Terminal window will display the message "Login Successful" .

Images 5 of Instructions for installing Claude Code on Windows 11

Claud will ask you to allow reading, writing, or executing files from the current user directory; press Enter.

Images 6 of Instructions for installing Claude Code on Windows 11

 

Cloud Code has finally been successfully installed on Windows PowerShell.

Images 7 of Instructions for installing Claude Code on Windows 11

Update Claude code

To update Claude Code:

winget upgrade Anthropic.ClaudeCode

To check if any updates are available.

winget list Anthropic.ClaudeCode

Update all

winget upgrade --all

Uninstall Claude Code on Windows

Enter the command below

winget uninstall Anthropic.ClaudeCode

To completely clear configuration and cache data.

Remove-Item -Path "$env:USERPROFILE.claude" -Recurse -Force Remove-Item -Path "$env:USERPROFILE.claude.json" -Force
Close
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup