Installation Guide
August 4, 2026 ยท View on GitHub
Sort Markdown Tables (smt) is available via standard Rust tools, Nix Flakes, or pre-built release binaries.
Installation Methods
Cargo (From Source)
Requirements: Rust 1.70+
cargo install --git https://github.com/MRDGH2821/Sort-Markdown-Tables
Verify your installation:
smt --version
Nix Flakes
Run directly without permanent installation:
nix run github:MRDGH2821/Sort-Markdown-Tables -- --help
Or add smt as an input in your flake.nix:
inputs.smt = {
url = "github:MRDGH2821/Sort-Markdown-Tables";
inputs.nixpkgs.follows = "nixpkgs";
};
Then include inputs.smt.packages.${system}.default in your environment.systemPackages or devShells.
Pre-built Binaries
Download pre-compiled binaries for Linux, macOS, or Windows directly from our Github Releases:
- Visit the GitHub Releases Page.
- Download the archive for your architecture (e.g.,
smt-x86_64-unknown-linux-gnu.tar.gz). - Extract the
smtbinary and move it to a directory in your$PATH(such as/usr/local/binor~/.local/bin).
Troubleshooting
Note
PATH Configuration: If running smt in your terminal outputs command not found, ensure ~/.cargo/bin (for Cargo) or ~/.local/bin (for manually downloaded binaries) is in your shell's PATH environment variable:
export PATH="$HOME/.cargo/bin:$PATH"