Skip to content
Get started

Install

Install Pentect on Windows, macOS, or Linux.

Windows

Run in PowerShell:

powershell
irm https://raw.githubusercontent.com/EdamAme-x/pentect/main/tools/install.ps1 | iex

macOS and Linux

sh
curl -fsSL https://raw.githubusercontent.com/EdamAme-x/pentect/main/tools/install.sh | sh
sh
brew install EdamAme-x/pentect/pentect
sh
nix profile install github:EdamAme-x/pentect
sh
nix shell github:EdamAme-x/pentect
sh
npm install --global github:EdamAme-x/pentect
sh
cargo install --git https://github.com/EdamAme-x/pentect --locked pentect-cli
sh
curl -fsSL https://raw.githubusercontent.com/EdamAme-x/pentect/main/tools/install-apt.sh | sudo sh

The direct installers detect the current platform, download a GitHub Release asset, and verify its SHA-256 checksum.

The npm package installs the same checksummed release binary. nix shell opens a temporary environment without adding Pentect to your profile. Cargo builds Pentect from source and therefore takes longer than the binary installers.

Verify the installation

text
pentect doctor

doctor checks whether Pentect and supported clients are ready. If it reports a repairable problem, review the proposed change before using:

text
pentect doctor --fix

Install a specific version

powershell
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/EdamAme-x/pentect/main/tools/install.ps1))) -Version X.Y.Z
sh
curl -fsSL https://raw.githubusercontent.com/EdamAme-x/pentect/main/tools/install.sh | sh -s -- --version X.Y.Z

INFO

When Pentect was installed through Homebrew, Nix, or apt, update and uninstall it through the same package manager.

Update or uninstall

text
pentect update
pentect update X.Y.Z
pentect uninstall

Pentect is open source.