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 Dahlia desktop pet preview

Gi Dahlia is ready for Codex

Install:

Installed to

pet.json361 BVerified
spritesheet.png703.2 KBReady
codexpetdb:~$ npx codexpetdb install 'gi-dahlia' Fetching the verified package… SHA-256 verified. pet.json checked. Installed to ~/.codex/pets/gi-dahlia Gi Dahlia is ready for Codex.
Package version
r1
Package size
703.8 KB
SHA-256
67184f9eafc466af27baf82c475b598cb79085ce9d8acd947330dd219ec7566f

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/019f8c76-2609-77c6-be63-120ff8a5c2e6/gi-dahlia.zip' -o "$TMP/gi-dahlia.zip"
EXPECTED_SHA256='67184f9eafc466af27baf82c475b598cb79085ce9d8acd947330dd219ec7566f'
ACTUAL_SHA256="$(shasum -a 256 "$TMP/gi-dahlia.zip" | awk '{print $1}')"
if [ "$ACTUAL_SHA256" != "$EXPECTED_SHA256" ]; then
  rm -f "$TMP/gi-dahlia.zip"
  echo 'SHA-256 mismatch; package was not extracted.' >&2
  exit 1
fi
mkdir -p ~/.codex/pets/gi-dahlia
unzip -oq "$TMP/gi-dahlia.zip" -d ~/.codex/pets/gi-dahlia