With Nix flakes enabled:
git clone https://github.com/trailofbits/mewt.git
cd mewt
nix develop --command bash -c 'just install-nix' # or 'direnv allow' then 'just build'
mewt --versionRequirements (Linux/macOS):
- Rust toolchain (via rustup)
- C toolchain (gcc/clang) and
make pkg-config- SQLite development headers (
libsqlite3-dev/sqlite)
Windows is currently unsupported.
Install common prerequisites:
# Command Line Tools (if not already installed)
xcode-select --install || true
brew install rustup-init sqlite pkg-config
rustup-init -y
source "$HOME/.cargo/env"sudo apt update
sudo apt install -y build-essential pkg-config libsqlite3-dev curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"cargo build --release
./target/release/mewt --helpOptional (install into your cargo bin):
cargo install --path . --locked --force
mewt --version