Setting Claude AI on laptop

맥북 최초 세팅 (집에서 한 번만) 1. Claude Code 설치 (node.js가 없으면 먼저 brew install node) 2. GitHub 로그인 (오늘 맥에서 한 것과 동일하게 진행) 3. 코드 받기 4. 메모리 복원 (핵심) 5. 작업 시작 매번 자리 이동할 때 루틴 떠나기 전: 도착 후: 메모리를 복원하면 새 대화를 시작해도 Claude Code가…

맥북 최초 세팅 (집에서 한 번만)

1. Claude Code 설치

npm install -g @anthropic-ai/claude-code

(node.js가 없으면 먼저 brew install node)

2. GitHub 로그인

brew install ghgh auth login

(오늘 맥에서 한 것과 동일하게 진행)

3. 코드 받기

cd ~/Documentsmkdir GitHub && cd GitHubgit clone https://github.com/Ajayyang/NiceWriterAI.gitgit clone https://github.com/Ajayyang/NiceWriterAI_v2.git

4. 메모리 복원 (핵심)

mkdir -p ~/.claude/projects/-Users-$(whoami)-Documents-GitHub-NiceWriterAI/cp -r ~/Documents/GitHub/NiceWriterAI/.claude-memory/ ~/.claude/projects/-Users-$(whoami)-Documents-GitHub-NiceWriterAI/memory/

5. 작업 시작

cd ~/Documents/GitHub/NiceWriterAIclaude

매번 자리 이동할 때 루틴

떠나기 전:

git add .git commit -m "작업 내용"git push

도착 후:

git pull# 메모리도 최신으로cp -r .claude-memory/ ~/.claude/projects/-Users-$(whoami)-Documents-GitHub-NiceWriterAI/memory/claude

메모리를 복원하면 새 대화를 시작해도 Claude Code가 버전 관리 규칙, 베타 채널 구조, 프로젝트 맥락을 모두 기억한 채로 시작합니다.


맥북 최초 세팅 순서

1. Homebrew 설치 (없으면)

터미널에서:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Node.js 설치 (없으면)

brew install node

3. Claude Code 설치

npm install -g @anthropic-ai/claude-code

4. GitHub CLI 설치 및 로그인

brew install ghgh auth login

(오늘 맥에서 한 것과 동일하게 진행 — GitHub.com → HTTPS → Login with web browser)

5. 코드 받기

cd ~/Documentsmkdir GitHub && cd GitHubgit clone https://github.com/Ajayyang/NiceWriterAI.gitgit clone https://github.com/Ajayyang/NiceWriterAI_v2.git

6. 메모리 복원 (중요)

mkdir -p ~/.claude/projects/-Users-$(whoami)-Documents-GitHub-NiceWriterAI/cp -r ~/Documents/GitHub/NiceWriterAI/.claude-memory/ ~/.claude/projects/-Users-$(whoami)-Documents-GitHub-NiceWriterAI/memory/

7. 작업 시작

cd ~/Documents/GitHub/NiceWriterAIclaude

두 번째부터 (맥북에 이미 설치된 경우)

cd ~/Documents/GitHub/NiceWriterAIgit pullcp -r .claude-memory/ ~/.claude/projects/-Users-$(whoami)-Documents-GitHub-NiceWriterAI/memory/claude

막히는 단계 있으면 그 화면 캡처해서 보내주시면 됩니다.