Repository navigation
Installation
curl -fsSL https://raw.githubusercontent.com/Weilin0723/PurrCode/v0.9.0/scripts/install.sh | shThe installer detects the host platform, downloads the release archive, verifies it against the release SHA256SUMS, and installs into ~/.local/bin. Use a custom installation directory:
PURRCODE_INSTALL_DIR="$HOME/bin" \
curl -fsSL https://raw.githubusercontent.com/Weilin0723/PurrCode/v0.9.0/scripts/install.sh | shNode.js 18 or newer:
npm install --global @minaovo/purrcodeThe package selects the correct macOS, Linux, or Windows binary, verifies its pinned SHA-256 digest, and exposes both purrcode and purrcoded.
You can also install the signed-release launcher directly from GitHub:
npm install --global https://github.com/Weilin0723/PurrCode/releases/latest/download/purrcode-0.9.0.tgzDownload and extract purrcode-x86_64-pc-windows-msvc.zip from the latest release.
Requirements:
- Rust 1.88 or newer;
- Git;
- platform build tools.
git clone https://github.com/Weilin0723/PurrCode.git
cd PurrCode
cargo install --locked --path crates/purrcode-cli
cargo install --locked --path crates/purrcode-daemonpurrcode --version
purrcoded --versionpurrcode upgrade check --channel stable
purrcode upgrade download /tmp/purrcode-release.tar.gz
purrcode upgrade install --channel stable
purrcode upgrade rollbackinstall verifies the checksum manifest and both Sigstore bundles before extraction, rejects unsafe archive paths, atomically rotates purrcode and purrcoded, and preserves the prior pair for rollback.
- macOS:
/usr/bin/sandbox-execwhen available. - Linux:
bubblewrap(bwrap). - Windows: process filtering and job controls; inspect with
purrcode sandbox doctor.
PurrCode reports degraded isolation explicitly and does not reinterpret it as a full sandbox.
