
Claude Code는 Anthropic에서 개발한 AI 기반 에이전트 코딩 도구로, 개발자가 터미널 환경에서 자연어 명령어를 통해 코드 작성, 디버깅, 테스트 및 코드베이스 관리 등을 돕는 CLI 도구입니다. 이번 글에서는 2025년 9월 말에 출시된 Claude Code 2.0의 설치 방법을 살펴보겠습니다.
저는 Windows 환경에 설치했으며, Claude Code docs 내 권장 사항으로 소개된 Native Install 방법으로 설치를 진행했습니다. Windows PowerShell을 실행한 이후, 아래 코드를 입력해 줍니다.
irm https://claude.ai/install.ps1 | iex
코드를 실행하면 아래와 같은 문구들이 나타나며 설치가 완료됩니다. 그런데 저의 경우에는 설치가 완료되었으나 Claude Code의 실행과 관련된 환경 변수가 PATH에 없다는 경고문이 나타났습니다.
PS> irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...
√ Claude Code successfully installed!
Version: 2.1.12
Location: C:\Users\{dir}\.local\bin\claude.exe
Next: Run claude --help to get started
‼ Setup notes:
• Native installation exists but C:\Users\{dir}\.local\bin is not in your PATH. Add it by opening: System Properties →
Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.
✅ Installation complete!
일단 해당 경고문을 무시하고 Claude Code가 정상적으로 설치되었을 때 실행되는 'claude --version'을 입력해 봤습니다. Claude Code의 버전이 출력되어야 하는데 claude라는 명령어가 없다는 오류가 발생합니다. 위의 경고문대로 환경 변수가 제대로 설정이 되지 않은 것으로 보입니다.
PS> claude --version
claude : 'claude' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 이름이 정
확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오.
위치 줄:1 문자:1
+ claude --version
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (claude:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
환경 변수 설정은 다음 순서대로 진행하면 됩니다.
'시스템 환경 변수 편집' 실행 > 환경 변수 > 사용자 변수 내 'Path' > 새로 만들기 > 'C:\Users\{dir}\.local\bin' 링크 추가 ({dir}에는 본인 기기에 맞는 경로 입력) > 순차적으로 확인 3번 클릭 > PowerShell 재실행
다시 'claude --version'을 입력하면 정상적으로 버전이 출력되는 것을 볼 수 있습니다.
PS> claude --version
2.1.12 (Claude Code)
이제 Claude Code를 실행해보겠습니다. 'claude'를 입력하면 Claude Code가 실행됩니다. 먼저 Theme을 선택하는 화면이 나타납니다. 선택에 따라 Terminal 창에서 바로 색이 바뀌며 확인할 수 있고, 추후 '/theme' 명령어로 다른 테마로 변경할 수 있습니다.
PS> claude
Welcome to Claude Code v2.1.12
…………………………………………………………………………………………………………………………………………………………
* █████▓▓░
* ███▓░ ░░
░░░░░░ ███▓░
░░░ ░░░░░░░░░░ ███▓░
░░░░░░░░░░░░░░░░░░░ * ██▓░░ ▓
░▓▓███▓▓░
* ░░░░
░░░░░░░░
░░░░░░░░░░░░░░░░
█████████ *
██▄█████▄██ *
█████████ *
…………………█ █ █ █………………………………………………………………………………………………………………
Let's get started.
Choose the text style that looks best with your terminal
To change this later, run /theme
> 1. Dark mode √
2. Light mode
3. Dark mode (colorblind-friendly)
4. Light mode (colorblind-friendly)
5. Dark mode (ANSI colors only)
6. Light mode (ANSI colors only)
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
1 function greet() {
2 - console.log("Hello, World!");
2 + console.log("Hello, Claude!");
3 }
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
Syntax theme: Monokai Extended (ctrl+t to disable)
다음은 로그인 방법입니다. 유료 플랜을 구독한 계정으로 로그인할 것인지, API를 별도로 결제한 계정으로 로그인할 것인지 선택합니다. 저는 Pro 계정이 있어 1번 옵션을 선택했습니다.
Welcome to Claude Code v2.1.12
…………………………………………………………………………………………………………………………………………………………
* █████▓▓░
* ███▓░ ░░
░░░░░░ ███▓░
░░░ ░░░░░░░░░░ ███▓░
░░░░░░░░░░░░░░░░░░░ * ██▓░░ ▓
░▓▓███▓▓░
* ░░░░
░░░░░░░░
░░░░░░░░░░░░░░░░
█████████ *
██▄█████▄██ *
█████████ *
…………………█ █ █ █………………………………………………………………………………………………………………
Claude Code can be used with your Claude subscription or billed based on API usage through your Console account.
Select login method:
> 1. Claude account with subscription · Pro, Max, Team, or Enterprise
2. Anthropic Console account · API usage billing
구독한 계정의 이메일로 코드를 인증하고 로그인하게 되면 아래와 같이 로그인 성공했다는 문구가 나타납니다.
Welcome to Claude Code v2.1.12
…………………………………………………………………………………………………………………………………………………………
* █████▓▓░
* ███▓░ ░░
░░░░░░ ███▓░
░░░ ░░░░░░░░░░ ███▓░
░░░░░░░░░░░░░░░░░░░ * ██▓░░ ▓
░▓▓███▓▓░
* ░░░░
░░░░░░░░
░░░░░░░░░░░░░░░░
█████████ *
██▄█████▄██ *
█████████ *
…………………█ █ █ █………………………………………………………………………………………………………………
Logged in as {e-mail}
Login successful. Press Enter to continue…
마지막으로 폴더에 대한 인증을 진행해 줍니다.
Do you trust the files in this folder?
{path}
Claude Code may read, write, or execute files contained in this directory. This can pose security risks, so only use files
from trusted sources.
Learn more
> 1. Yes, proceed
2. No, exit
Enter to confirm · Esc to cancel
아래와 같은 문구가 나타나면 이제 Claude Code를 실행할 수 있는 환경 설정이 완료된 것입니다.
╭─── Claude Code v2.1.12 ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back {name}! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity │
│ ▝▜█████▛▘ │ No recent activity │
│ ▘▘ ▝▝ │ │
│ Opus 4.5 · Claude Pro · {e-mail}'s │ │
│ Organization │ │
│ {path} │ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Welcome to Opus 4.5
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> Try "edit <filepath> to..."
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
? for shortcuts
다음 글에서는 Claude Code의 활용 방법에 대해 살펴보도록 하겠습니다.
<참고>
https://goddaehee.tistory.com/407
Claude Code 2.0(클로드 코드 2.0) 설치 - (Claude Code 1.0에서 2.0 업그레이드 하기)
안녕하세요! 갓대희입니다. 오늘은 클로드 코드 2.0 설치 방법에 대해 간단히 알아 보려고 한다. Claude Code 2.0 출시 - VS Code 통합부터 서브에이전트까지2025년 9월 말 출시된 Claude Code 2.0의 핵심 변경
goddaehee.tistory.com
'AI > Claude' 카테고리의 다른 글
| [Claude] Claude Desktop 로컬 MCP 서버 연결 (3) | 2026.01.13 |
|---|---|
| [Claude] Claude Desktop 설치 및 활용 방법 (2) | 2026.01.12 |
댓글