cargo install rmxtgit clone https://github.com/santoshxshrestha/rmxt
cd rmxt
cargo build --release
sudo cp target/release/rmxt /usr/local/bin/You can use the provided install script to automate installation. It will:
- Ensure Rust is installed
- Clone the repository to
$HOME/rmxt - Build the binary
- Install it to
/usr/local/bin/rmxt
curl -fsSL https://raw.githubusercontent.com/santoshxshrestha/rmxt/main/scripts/install.sh | bash--dry-run: Show what would be done without making changes--repo=URL: Use a custom repository URL-h, --help: Show help message
Example:
bash scripts/install.sh --dry-runYou can use Nix flakes to run or build rmxt without installing Rust or any dependencies manually. This is the recommended method for Nix users.
Prerequisites:
- Nix package manager (version 2.4+)
- Flakes enabled (see NixOS Wiki: Flakes)
nix run github:santoshxshrestha/rmxtOr, if you have cloned the repo:
nix run .This will build and run the latest rmxt binary in a temporary environment.
nix build github:santoshxshrestha/rmxtOr, from a local clone:
nix buildThe compiled binary will be available at ./result/bin/rmxt.
For contributors, you can enter a shell with all development dependencies:
nix develop- The provided flake currently supports
x86_64-linux. - For more details on Nix flakes, see the NixOS Wiki or Practical Nix Flakes.
rmxt --helpcargo install rmxt # Updates to latest version