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 --helpNix (macOS and Linux)
bash
nix run github:utensils/ptywright -- --help
nix profile install github:utensils/ptywrightFor development:
bash
nix develop
ci-localGitHub Releases
The release workflow is shaped to publish these archives:
| Platform | Archive |
|---|---|
| macOS Apple Silicon | ptywright-aarch64-apple-darwin.tar.gz |
| macOS Intel | ptywright-x86_64-apple-darwin.tar.gz |
| Linux x86_64 | ptywright-x86_64-unknown-linux-gnu.tar.gz |
| Linux aarch64 | ptywright-aarch64-unknown-linux-gnu.tar.gz |
| Windows x86_64 | ptywright-x86_64-pc-windows-msvc.zip |
On macOS and Linux:
bash
tar xzf ptywright-<target>.tar.gz
./ptywright --versionOn Windows:
powershell
Expand-Archive .\ptywright-x86_64-pc-windows-msvc.zip
.\ptywright.exe --versionInstall script
The install script targets macOS and Linux release archives:
bash
curl -fsSL https://raw.githubusercontent.com/utensils/ptywright/main/install.sh | sh