Guides / 01
Guide 01 · Access + install

From account check to a working command.

Register under your own identity, finish any official verification prompt, install from the official source and confirm the component locally.

20–40 MINWINDOWS + MACBEGINNER SAFE
安装再验证命令能跑才算完成
01

Prepare the account and verification

Use an email and phone number you control. If the official site asks for phone verification, enter the code only on the official domain. AGG support may guide the process, but should never keep your password, recovery code or session.

!
Stop if ownership is unclear
Do not buy a pre-made account or accept an API key sent by a stranger. The finished account must remain recoverable by you.
Official account

Claude

Create or sign in to the account used for Claude and Claude Code.

Open claude.ai
Official account

OpenAI

Create or sign in to the account used for ChatGPT and Codex.

Open OpenAI sign-in
02

Choose the tool before downloading

Claude Code and Codex are separate coding agents. Install only the one your account and workflow need; installing both is optional.

Claude route

Claude Code

Use Anthropic authentication or an approved enterprise/API route.

Open official Claude Code docs
OpenAI route

Codex CLI

Use ChatGPT sign-in or an OpenAI API key according to the official flow.

Open official Codex CLI docs
03

Install from the official package

Node.js and Git may be prerequisites depending on the tool and operating system. Keep each download beside the step that uses it.

Required runtime

Node.js LTS

Official installer for Windows or macOS. Choose the LTS release.

Download Node.js
Windows dependency

Git for Windows

Needed for Claude Code native Windows workflows using Git Bash.

Download Git
CLAUDE CODE
npm install -g @anthropic-ai/claude-code
CODEX CLI
npm install -g @openai/codex
i
One command at a time
Do not add sudo on Windows. If npm reports a permission error on macOS, use the official troubleshooting path instead of forcing administrator access.
04

Prove the component is installed

Run the checks for the tool you installed, then paste the complete terminal output below. This check stays in your browser and does not upload the text.

POWERSHELL · LABELED CHECK
Write-Output "NODE $(node --version)"
Write-Output "NPM $(npm --version)"
Write-Output "GIT $(git --version)"
Write-Output "CLAUDE $(claude --version)"
Write-Output "CODEX $(codex --version)"

Local output check

For one-tool installs, an error on the unused Claude or Codex line is fine. At least one agent must return a version.

Expected: labeled Node/npm versions and a version for either Claude Code or Codex. Git is also expected for Claude Code on native Windows.
Next route

Fund the official product

Keep subscription billing and API billing separate.

Open guide 02