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

Charmander desktop pet preview

Charmander is ready for Codex

Install:

Installed to

pet.json388 BVerified
spritesheet.png1.5 MBReady
codexpetdb:~$ npx codexpetdb install 'charmander' Fetching the verified package… SHA-256 verified. pet.json checked. Installed to ~/.codex/pets/charmander Charmander is ready for Codex.
Package version
r1
Package size
1.5 MB
SHA-256
61b95d82b9d10be1da34e388eda67a140225687bb9c253a020b56ab6870bcc8b

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/019f9702-665d-713f-ba49-b37409ea63b9/charmander.zip' -o "$TMP/charmander.zip"
EXPECTED_SHA256='61b95d82b9d10be1da34e388eda67a140225687bb9c253a020b56ab6870bcc8b'
ACTUAL_SHA256="$(shasum -a 256 "$TMP/charmander.zip" | awk '{print $1}')"
if [ "$ACTUAL_SHA256" != "$EXPECTED_SHA256" ]; then
  rm -f "$TMP/charmander.zip"
  echo 'SHA-256 mismatch; package was not extracted.' >&2
  exit 1
fi
mkdir -p ~/.codex/pets/charmander
unzip -oq "$TMP/charmander.zip" -d ~/.codex/pets/charmander