Install with one command
Install Node.js 24 or newer (including npm), then download your purchased ZIP in the browser. Open a terminal in the download folder and run the command below. Replace the example filename with your downloaded ZIP filename; no extraction is needed.
Use the full path to your downloaded ZIP, enclosed in quotes. On Windows, right-click the ZIP and choose Copy as path. Replace only the final ZIP argument; do not extract first. If PowerShell shows >>, press Ctrl+C and check both quotes. ENOENT means the ZIP path is incorrect. An installer 404 means the site asset is unavailable; use manual installation below.
Windows PowerShell
- Download the ZIP; do not extract it.
- Shift + right-click the ZIP in File Explorer and choose Copy as path.
- Replace ONLY the final quoted ZIP argument below with that copied path. Do not change the installer URL or the command before it. Keep exactly one pair of double quotes around the path.
- Paste the full command into PowerShell and press Enter. When you see Installed, restart the Codex client and select your pet.
npx.cmd --yes --package=https://codepets.net/cli/codepets-installer-0.1.3.tgz codepets-install install "REPLACE_WITH_FULL_ZIP_PATH.zip"Use the full path to your own downloaded ZIP. Keep one pair of double quotes around it.
macOS Terminal
Select the ZIP in Finder and press Option + Command + C. Replace only the final quoted ZIP argument with that path, keep the quotes, then run the full command in Terminal. When you see Installed, restart the Codex client and select your pet.
npx --yes --package=https://codepets.net/cli/codepets-installer-0.1.3.tgz codepets-install install "REPLACE_WITH_FULL_ZIP_PATH.zip"This downloads the CodePets installer and installs the pet folder into CODEX_HOME/pets, or .codex/pets in your home directory if unset. Existing pets are not overwritten. Restart the Codex client and select your pet.