Skip to content

Installation

ptywright is not published as a full automation tool yet. For now, install from source or use the release artifacts once tags are cut.

From source

The default build embeds Lua 5.4 for trusted adapter plugins, so source builds need a working C compiler in addition to Rust.

bash
git clone https://github.com/utensils/ptywright
cd ptywright
cargo build --release
./target/release/ptywright --help

Nix (macOS and Linux)

bash
nix run github:utensils/ptywright -- --help
nix profile install github:utensils/ptywright

For development:

bash
nix develop
ci-local

GitHub Releases

The release workflow is shaped to publish these archives:

PlatformArchive
macOS Apple Siliconptywright-aarch64-apple-darwin.tar.gz
macOS Intelptywright-x86_64-apple-darwin.tar.gz
Linux x86_64ptywright-x86_64-unknown-linux-gnu.tar.gz
Linux aarch64ptywright-aarch64-unknown-linux-gnu.tar.gz
Windows x86_64ptywright-x86_64-pc-windows-msvc.zip

On macOS and Linux:

bash
tar xzf ptywright-<target>.tar.gz
./ptywright --version

On Windows:

powershell
Expand-Archive .\ptywright-x86_64-pc-windows-msvc.zip
.\ptywright.exe --version

Install script

The install script targets macOS and Linux release archives:

bash
curl -fsSL https://raw.githubusercontent.com/utensils/ptywright/main/install.sh | sh

Released under the MIT License.