Install tx0
The current version is 0.1.0-alpha.3. Use whichever way you already have.
Ways to install
Script
-
curl -LsSf https://tx0.io/install.sh | sh -
powershell -c "irm https://tx0.io/install.ps1 | iex"
Installs the tx0 binary into ~/.local/bin after checking its SHA-256 sum. Builds for Linux, macOS and Windows, on x86_64 and arm64.
npm
-
npx @tx0/cli check -
npm install -g @tx0/cli
@tx0/cli from npm; npx runs it without installing. Linux, macOS and Windows, on x86_64 and arm64.
pip / uv
-
uvx tx0 check -
pip install tx0
tx0 0.1.0a3 from PyPI; uvx runs it without installing. Linux, macOS and Windows, on x86_64 and arm64.
Other ways
Binaries
- tx0-v0.1.0-alpha.3-x86_64-unknown-linux-musl.tar.gz SHA-256
- tx0-v0.1.0-alpha.3-aarch64-unknown-linux-musl.tar.gz SHA-256
- tx0-v0.1.0-alpha.3-x86_64-apple-darwin.tar.gz SHA-256
- tx0-v0.1.0-alpha.3-aarch64-apple-darwin.tar.gz SHA-256
- tx0-v0.1.0-alpha.3-x86_64-pc-windows-msvc.zip SHA-256
- tx0-v0.1.0-alpha.3-aarch64-pc-windows-msvc.zip SHA-256
The archives the install scripts download, each with its SHA-256 sum beside it. Built for Linux x86_64, Linux aarch64, macOS x86_64, macOS on Apple silicon, Windows x86_64 and Windows ARM64.
Source
-
git clone https://github.com/tx0io/tx0 -
cd tx0 -
cargo install --path crates/cli
Needs a Rust toolchain from rustup. The repository pins its Rust version; rustup installs it on the first build.
The install scripts
install.sh (macOS and Linux, any POSIX shell) and install.ps1 (Windows) read the latest version from https://tx0.io/download/latest, download the archive for your system from the directory of that version, check it against the SHA-256 sum published beside it and copy the binary into ~/.local/bin. They need no root or administrator rights. When the directory is not on your PATH, they print the line to add. Both are short; read them before you run them.
Two environment variables change what they do:
$ curl -LsSf https://tx0.io/install.sh | TX0_VERSION=0.1.0-alpha.3 sh # a given version
$ curl -LsSf https://tx0.io/install.sh | TX0_INSTALL_DIR=~/bin sh # another directory In PowerShell, set $env:TX0_VERSION or $env:TX0_INSTALL_DIR before running the script. A third, TX0_DOWNLOAD_BASE, points either script at a mirror laid out the same way: a file named latest that holds the version, and a directory per version with the archives and their .sha256 files.
Builds
tx0 0.1.0-alpha.3 is built for Linux x86_64, Linux aarch64, macOS x86_64, macOS on Apple silicon, Windows x86_64 and Windows ARM64. The Linux builds are statically linked with musl and run on any distribution.
Check that it runs
$ tx0 --version
tx0 0.1.0-alpha.3 tx0 help lists every command and option; Commands has the same text.