Skip to content

Pet download and install

Install a Codex pet in one command.

Choose a pet, copy one verified command, and CodexPetDB handles the package safely.

Install result preview

Foxat desktop pet preview

Foxat is ready for Codex

Install:

Installed to

pet.json333 BVerified
spritesheet.png864.9 KBReady
codexpetdb:~$ npx codexpetdb install 'foxat' Fetching the verified package… SHA-256 verified. pet.json checked. Installed to ~/.codex/pets/foxat Foxat is ready for Codex.
Package version
r1
Package size
865.4 KB
SHA-256
f71e6e2da952a2d6b50344c95af3959f8f94d57cac3a056d87579b9417d75c8f

Other installation methods

Choose the path that fits your workflow.

curl

Scripts and remote shells on macOS, Linux, or Windows.

set -e
TMP="${TMPDIR:-/tmp}"
curl -fL 'https://cdn.codexpetdb.com/revisions/019f97dc-aebe-702e-9a75-dec8a2c28e99/foxat.zip' -o "$TMP/foxat.zip"
EXPECTED_SHA256='f71e6e2da952a2d6b50344c95af3959f8f94d57cac3a056d87579b9417d75c8f'
ACTUAL_SHA256="$(shasum -a 256 "$TMP/foxat.zip" | awk '{print $1}')"
if [ "$ACTUAL_SHA256" != "$EXPECTED_SHA256" ]; then
  rm -f "$TMP/foxat.zip"
  echo 'SHA-256 mismatch; package was not extracted.' >&2
  exit 1
fi
mkdir -p ~/.codex/pets/foxat
unzip -oq "$TMP/foxat.zip" -d ~/.codex/pets/foxat