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

Gi Durin desktop pet preview

Gi Durin is ready for Codex

Install:

Installed to

pet.json375 BVerified
spritesheet.png984.5 KBReady
codexpetdb:~$ npx codexpetdb install 'gi-durin' Fetching the verified package… SHA-256 verified. pet.json checked. Installed to ~/.codex/pets/gi-durin Gi Durin is ready for Codex.
Package version
r2
Package size
985.1 KB
SHA-256
8fc8bfa96092c3f060ba51ea6765f3847bc5a0b740929c3b3b97b430aba4c1bc

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/019f8c96-7691-70fc-8e39-f56cebe823b9/gi-durin.zip' -o "$TMP/gi-durin.zip"
EXPECTED_SHA256='8fc8bfa96092c3f060ba51ea6765f3847bc5a0b740929c3b3b97b430aba4c1bc'
ACTUAL_SHA256="$(shasum -a 256 "$TMP/gi-durin.zip" | awk '{print $1}')"
if [ "$ACTUAL_SHA256" != "$EXPECTED_SHA256" ]; then
  rm -f "$TMP/gi-durin.zip"
  echo 'SHA-256 mismatch; package was not extracted.' >&2
  exit 1
fi
mkdir -p ~/.codex/pets/gi-durin
unzip -oq "$TMP/gi-durin.zip" -d ~/.codex/pets/gi-durin