Installation

The txtx CLI tool can be installed via our install script or through a manual build.

Homebrew (macOs)

To install txtx on a macOS system using Homebrew, open a terminal and run:

brew tap txtx/txtx
brew install txtx

Snapcraft (Linux)

To install txtx on a Linux system using Snapcraft, open a terminal and run:

sudo snap install txtx

Linux & macOS Build Script

To install txtx on a Linux or macOS system, open a terminal and run:

curl -sL https://install.txtx.sh/ | bash

Manual Installation

Platform-specific binaries are generated for each release. See the releases page to download a release.

Install from Source

To compile the Txtx binary from source, clone the txtx repository.

git clone https://github.com/txtx/txtx.git

Navigate to the new directory.

cd txtx

Then, compile the binary. This command will compile the binary and store it in ~/.cargo/bin/txtx.

cargo txtx-install

Finally, make sure that the txtx binary is available on your PATH. This process will differ depending on your operating system.

Was this page helpful?