From 1baba8626b17d907f21937a7be9f131df47baa4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=9C=EA=B3=A8=EC=95=BD=EC=82=AC?= Date: Mon, 3 Nov 2025 23:16:56 +0900 Subject: [PATCH] docs: Update README with separate installation commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✨ 변경사항: - code-server 설치 명령어를 각각 분리된 코드 블록으로 구성 - URL을 현재 리포지토리(pve9-repo-fix)로 변경 - Claude Code CLI 설치 섹션 추가 📝 개선사항: - 복사하기 버튼으로 각 명령어 개별 복사 가능 - 기본 설치 / 포트 지정 / 무인 설치 명령어 분리 - 수동 설치 가이드 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- README.md | 49 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 987e44a..b51ec4f 100644 --- a/README.md +++ b/README.md @@ -114,21 +114,21 @@ grep -r "enterprise.proxmox.com" /etc/apt/sources.list.d/ ``` ## 💻 개발 환경 설정 (code-server) -팜큐 네트워크에 연결된 서버에서 **웹 기반 VS Code 개발 환경**을 빠르게 구축: +서버에서 **웹 기반 VS Code 개발 환경**을 빠르게 구축: -### 한 줄 설치 (권장) +### 기본 설치 (포트 8080) ```bash -# 기본 포트 8080으로 설치 -curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | bash - -# 포트 지정 설치 (예: 8443) -curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | PORT=8443 bash +curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/code-server.sh | bash ``` -### 무인 설치 (비밀번호 환경변수 설정) +### 포트 지정 설치 ```bash -# 비밀번호를 환경변수로 전달 -curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | PASSWORD="your-secure-password" SKIP_CONFIRM=1 bash +curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/code-server.sh | PORT=8443 bash +``` + +### 무인 설치 (비밀번호 환경변수) +```bash +curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/code-server.sh | PASSWORD="your-secure-password" SKIP_CONFIRM=1 bash ``` ### 자동 설치 기능 @@ -142,6 +142,35 @@ curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/bran ```bash # 브라우저에서 접속 http://<서버IP>:8080 +``` + +## 🤖 Claude Code CLI 설치 + +**AI 기반 개발 도구**를 서버에 설치: + +### 기본 설치 +```bash +curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/install-claude-code.sh | bash +``` + +### 수동 설치 (스크립트 확인 후 실행) +```bash +wget https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/install-claude-code.sh +chmod +x install-claude-code.sh +./install-claude-code.sh +``` + +### 설치 내용 +- ✅ **Node.js 20.x LTS** 자동 설치 +- ✅ **npm** 포함 설치 +- ✅ **Claude Code CLI** 글로벌 설치 +- ✅ 설치 확인 및 버전 출력 + +### 사용 방법 +```bash +claude-code # Claude Code 시작 +claude-code --help # 도움말 보기 +``` ## 라이선스