One-click setup
Run the script and follow the prompts to enter your token and base URL.
curl -fsSL "/sh/install-codex-vscode.sh" -o install-codex-vscode.sh && bash install-codex-vscode.sh How to open Terminal: Press Command + Space for Spotlight, type “Terminal” and hit Enter; or Finder → Applications → Utilities → Terminal. You may also enable “New Terminal at Folder” in System Settings and use it from Finder.
Get your Token and Base URL: sign in to the Augmunt Console → “CodeX / OpenAI compatible” group → create a token and copy the API key; the Base URL is typically https://hk1.augmunt.com/v1 (use your actual environment).
The script creates or updates ~/.codex/config.toml and ~/.codex/auth.json.
Manual setup
Check system requirements
- Operating system: Windows 10 or 11.
- Node.js: Version 18 or newer.
- Network: Outbound internet access.
Install VS Code
Download from the official site and install:
- Open the official site.
- Download the Windows installer (User Installer x64 recommended).
- Run the installer and follow the wizard (optionally add to PATH).
- Launch VS Code from the Start menu.

Install the VS Code extension (openai.chatgpt)
Install from the Extensions view in VS Code (not via CLI):
- Open the Extensions view (Ctrl+Shift+X).
- Search for “openai.chatgpt”.
- Open the extension page and click Install.
- Reload or restart VS Code if prompted.

Issue an API token
Create an Augmunt CodeX (OpenAI compatible) token:
- Open the Augmunt console.
- Create a token in the “CodeX / OpenAI compatible” group.
- Copy the generated API key and store it securely.
Create the config directory (%USERPROFILE%\.codex)
Create the folder:
Save the following to %USERPROFILE%\.codex\config.toml:
Save this to %USERPROFILE%\.codex\auth.json:
YOUR_CODEX_TOKEN and https://hk1.augmunt.com/v1 with your actual values; make sure the base URL ends with <code>/v1</code>.Run CodeX

