Installation
If you have Rust installed:
cargo install sql-splitterDon’t have Rust? Install it from rustup.rs.
Download from GitHub Releases:
| Platform | Download |
|---|---|
| Linux x86_64 | sql-splitter-linux-amd64.tar.gz |
| Linux ARM64 | sql-splitter-linux-arm64.tar.gz |
| macOS Intel | sql-splitter-darwin-amd64.tar.gz |
| macOS Apple Silicon | sql-splitter-darwin-arm64.tar.gz |
| Windows x86_64 | sql-splitter-windows-amd64.zip |
git clone https://github.com/helgesverre/sql-splittercd sql-splittermake install # Installs binary + shell completions + man pagescargo install --git https://github.com/helgesverre/sql-splitterOptimized Build
Section titled “Optimized Build”For maximum performance, build with CPU-specific optimizations:
RUSTFLAGS="-C target-cpu=native" cargo build --releaseVerify Installation
Section titled “Verify Installation”sql-splitter --versionThis should output sql-splitter followed by the version number.
Shell Completions
Section titled “Shell Completions”Shell completions are automatically installed with make install. For manual installation:
# Bash (user)sql-splitter completions bash >> ~/.bashrc
# Zsh (oh-my-zsh)sql-splitter completions zsh > ~/.oh-my-zsh/completions/_sql-splitter
# Fishsql-splitter completions fish > ~/.config/fish/completions/sql-splitter.fishSee the completions command for more options.
Man Pages
Section titled “Man Pages”View documentation with man sql-splitter or man sql-splitter-diff.
For cargo install users, install man pages manually:
git clone https://github.com/helgesverre/sql-splittercd sql-splittermake install-man