Installation
Choose the installation method that works best for your platform and workflow.Quick Install Script (Recommended)
The fastest way to install gitsw on macOS and Linux:- Automatically detects your operating system and architecture
- Downloads the latest pre-built binary
- Installs to
/usr/local/bin(requests sudo if needed) - Verifies the installation
The install script supports macOS (Apple Silicon), Linux (x64), and Windows. Intel Mac users should use
cargo install instead.Install from Crates.io
If you have Rust installed, you can install gitsw using cargo:- Works on all platforms with Rust 1.70+
- Compiles from source for optimal performance on your system
- Automatically adds the binary to your cargo bin directory
Make sure
~/.cargo/bin is in your PATH to run gitsw from anywhere.Install from Source
For the latest development version or to contribute:Install from GitHub
Install directly from the GitHub repository:Pre-built Binaries
Download pre-compiled binaries for your platform from the GitHub Releases page.Available Platforms
| Platform | Architecture | Download |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3) | gitsw-aarch64-apple-darwin.tar.gz |
| Linux | x86_64 | gitsw-x86_64-unknown-linux-gnu.tar.gz |
| Windows | x86_64 | gitsw-x86_64-pc-windows-msvc.zip |
For macOS Intel systems, use
cargo install gitsw as pre-built binaries are not available for this platform.Manual Installation Steps
Requirements
- Git 2.0 or later
- For cargo installation: Rust 1.70 or later