claude code 추가
This commit is contained in:
1 parent
c0058e6719
commit
75e37cc7f0
3 files changed
+152
-1
No files matched your search
@@ -24,6 +24,7 @@
|
||||
|
||||
### 🤖 4. AI 개발 에이전트 (AI Agents)
|
||||
* **[Antigravity CLI (agy)](https://antigravity.google)** - Antigravity 2.0 플랫폼의 경량화 터미널 코딩 에이전트 CLI
|
||||
* **[Claude Code](https://code.claude.com/)** - Anthropic의 차세대 터미널 기반 대화형 AI 코딩 어시스턴트 CLI
|
||||
* **[pi](https://pi.dev/)** - 대화형 CLI AI 코딩 어시스턴트 및 추천 플러그인 패키지 일괄 설치 도구
|
||||
|
||||
---
|
||||
@@ -100,6 +101,11 @@
|
||||
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-agy.sh?ref_type=heads" | bash
|
||||
```
|
||||
|
||||
* **Claude Code:**
|
||||
```bash
|
||||
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-claude-code.sh?ref_type=heads" | bash
|
||||
```
|
||||
|
||||
* **pi (Pi Coding Agent + 추천 패키지):**
|
||||
```bash
|
||||
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-pi.sh?ref_type=heads" | bash
|
||||
@@ -226,6 +232,16 @@
|
||||
$t="$env:TEMP\install-agy.ps1"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-agy.ps1' -OutFile $t; powershell -ExecutionPolicy Bypass -File $t
|
||||
```
|
||||
|
||||
* **Claude Code:**
|
||||
* **CMD 창에서 설치 시:**
|
||||
```cmd
|
||||
powershell -ExecutionPolicy Bypass -c "[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $t=\"$env:TEMP\install-claude-code.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-claude-code.ps1' -OutFile $t; & $t"
|
||||
```
|
||||
* **파워쉘 창에서 설치 시:**
|
||||
```powershell
|
||||
$t="$env:TEMP\install-claude-code.ps1"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-claude-code.ps1' -OutFile $t; powershell -ExecutionPolicy Bypass -File $t
|
||||
```
|
||||
|
||||
* **pi (Pi Coding Agent + 추천 패키지):**
|
||||
* **CMD 창에서 설치 시:**
|
||||
```cmd
|
||||
@@ -464,7 +480,25 @@ agy -p "요청사항" # 지정 요청 과업에 대한 단일 실행 및 분
|
||||
agy --help # 도움말 및 명령어 명세 로드
|
||||
```
|
||||
|
||||
#### 4.2. Pi Coding Agent
|
||||
#### 4.2. Claude Code
|
||||
Anthropic사에서 개발한 공식 터미널 기반 AI 개발 어시스턴트 툴킷입니다. npm이 깔려있지 않은 시스템에서도 curl(macOS/Linux) 및 winget(Windows) 네이티브 설치 방식을 사용하여 즉시 CLI 코딩 환경에 접목할 수 있습니다.
|
||||
|
||||
* **고속 컨텍스트 추론** — Anthropic Claude 3.5 Sonnet 등의 고성능 AI 추론 엔진을 터미널 내에서 바로 가동
|
||||
* **네이티브 실행 제어** — 시스템 아키텍처 환경과 로컬 파일 구조를 깊이 이해하고 즉시 빌드 및 리서치 수행
|
||||
* **안전성 확보** — 강력한 로컬 샌드박스 정책 및 권한 승인 모드를 통해 안전한 자동 코딩 보장
|
||||
|
||||
```bash
|
||||
claude # 가동 명령어 (로그인 후 세션 시작)
|
||||
```
|
||||
|
||||
##### [Claude Code 기본 사용법]
|
||||
```bash
|
||||
claude # 대화형 코딩 세션 시작 (OAuth 로그인 연동)
|
||||
claude -p "질문/작업" # 터미널 창을 열지 않고 즉시 지시 수행 및 결과 출력 (단발 실행)
|
||||
claude --help # 도움말 및 사용법 로드
|
||||
```
|
||||
|
||||
#### 4.3. Pi Coding Agent
|
||||
CLI 기반의 최첨단 AI 코딩 파트너입니다. 본 저장소의 `install-pi` 설치 도구를 활용하면 에이전트 본체뿐 아니라 성능 극대화를 지원하는 핵심 플러그인 에코시스템 15종을 단번에 일괄 셋업할 수 있습니다.
|
||||
|
||||
##### [일괄 설치되는 추천 패키지 리스트]
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
#Requires -Version 5.1
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Installs Claude Code (Anthropic's command-line AI assistant) on Windows using WinGet.
|
||||
|
||||
.DESCRIPTION
|
||||
Installs Claude Code natively via winget (Anthropic.ClaudeCode).
|
||||
This native installation method is recommended for Windows.
|
||||
|
||||
.EXAMPLE
|
||||
.\install-claude-code.ps1
|
||||
|
||||
# One-liner install from remote (works on Windows 10+):
|
||||
powershell -ExecutionPolicy Bypass -c "[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $t=\"$env:TEMP\install-claude-code.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-claude-code.ps1' -OutFile $t; & $t"
|
||||
|
||||
.NOTES
|
||||
If execution policy error occurs:
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
param()
|
||||
|
||||
# 최신 윈도우 환경 및 에러 발생 시 즉시 중단 설정
|
||||
Set-StrictMode -Version Latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
# HTTPS 다운로드를 위한 TLS 1.2 강제 (PowerShell 5.1 호환성 보장)
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
|
||||
# ────────────────────────────────────────────
|
||||
# 유틸리티 함수 정의 (모든 안내 문구는 영문으로 작성)
|
||||
# ────────────────────────────────────────────
|
||||
function Write-Info { param([string]$msg) Write-Host "[INFO] $msg" -ForegroundColor Cyan }
|
||||
# 정보 출력
|
||||
function Write-Warn { param([string]$msg) Write-Host "[WARN] $msg" -ForegroundColor Yellow }
|
||||
# 경고 출력
|
||||
function Write-Success { param([string]$msg) Write-Host "[OK] $msg" -ForegroundColor Green }
|
||||
# 성공 출력
|
||||
function Write-Err { param([string]$msg) Write-Host "[ERROR] $msg" -ForegroundColor Red; exit 1 }
|
||||
# 에러 출력 및 스크립트 강제 종료
|
||||
|
||||
# ────────────────────────────────────────────
|
||||
# 메인 설치 프로세스
|
||||
# ────────────────────────────────────────────
|
||||
function Main {
|
||||
Write-Info "===== Claude Code install script (Windows PowerShell) ====="
|
||||
Write-Info "Installing Claude Code (command-line AI assistant) natively..."
|
||||
|
||||
# 1) winget 명령어 가용성 확인
|
||||
if (-not (Get-Command winget -ErrorAction SilentlyContinue)) {
|
||||
Write-Err "winget is required to install Claude Code. Please install it from the Microsoft Store or https://learn.microsoft.com/en-us/windows/package-manager/winget/"
|
||||
}
|
||||
|
||||
# 2) winget을 통한 Anthropic.ClaudeCode 설치 가동
|
||||
try {
|
||||
Write-Info "Running winget installer..."
|
||||
# 라이센스 및 소스 협약 자동 수락 처리와 함께 설치 실행
|
||||
winget install --id Anthropic.ClaudeCode --accept-package-agreements --accept-source-agreements 2>&1 | Out-Null
|
||||
|
||||
Write-Success "Claude Code has been successfully installed!"
|
||||
Write-Info "Please restart your terminal window or refresh your PATH environment variable."
|
||||
Write-Info "Run command: claude"
|
||||
} catch {
|
||||
Write-Err "Failed to install Claude Code via winget: $_"
|
||||
}
|
||||
}
|
||||
|
||||
# 예기치 못한 전체 프로세스 에러 감지를 위한 Trap 설정
|
||||
trap {
|
||||
Write-Err "An unexpected error occurred during installation: $_"
|
||||
}
|
||||
|
||||
Main
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/env bash
|
||||
# shellcheck disable=SC2086
|
||||
|
||||
# Anthropic Claude Code 네이티브 설치 스크립트
|
||||
#
|
||||
# macOS, Linux, WSL 환경에서 curl을 사용하여 공식 설치 스크립트를 다운로드하고 bash로 실행합니다.
|
||||
# 공식 가이드: https://code.claude.com/docs/ko/quickstart#native-install-recommended
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# ────────────────────────────────────────────
|
||||
# 유틸리티 함수 (모두 stderr 출력)
|
||||
# ────────────────────────────────────────────
|
||||
info() { echo "[INFO] $*" >&2; }
|
||||
warn() { echo "[WARN] $*" >&2; }
|
||||
error() { echo "[ERROR] $*" >&2; exit 1; }
|
||||
success() { echo "[OK] $*" >&2; }
|
||||
|
||||
# ────────────────────────────────────────────
|
||||
# 필수 명령어 확인
|
||||
# ────────────────────────────────────────────
|
||||
if ! command -v curl &>/dev/null; then
|
||||
error "'curl' 명령어가 필요합니다. 먼저 설치해 주세요."
|
||||
fi
|
||||
|
||||
# ────────────────────────────────────────────
|
||||
# 메인 설치 로직
|
||||
# ────────────────────────────────────────────
|
||||
main() {
|
||||
info "Anthropic Claude Code 네이티브 설치를 시작합니다..."
|
||||
info "공식 설치 스크립트 실행 중: curl -fsSL https://claude.ai/install.sh | bash"
|
||||
|
||||
# 공식 스크립트 직접 호출
|
||||
if curl -fsSL https://claude.ai/install.sh | bash; then
|
||||
success "Claude Code 설치가 성공적으로 완료되었습니다!"
|
||||
info "새로운 터미널 창을 열거나 환경 변수를 반영한 뒤 아래 명령어를 통해 실행하세요:"
|
||||
info " claude"
|
||||
else
|
||||
error "Claude Code 공식 설치 스크립트 가동 중 에러가 발생했습니다."
|
||||
fi
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in new issue
Block a user