# Installation Scripts This directory contains installation scripts for SSHM. ## Unix/Linux/macOS Installation ### Quick Install (Recommended) ```bash curl -sSL https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh | bash ``` **Note:** When using the pipe method, the installer will automatically proceed with installation if SSHM is already installed. ### Install Options **Force install without prompts:** ```bash FORCE_INSTALL=true bash -c "$(curl -sSL https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh)" ``` **Disable auto-install when using pipe:** ```bash FORCE_INSTALL=false bash -c "$(curl -sSL https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh)" ``` ### Manual Install 1. Download the script: ```bash curl -O https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh ``` 2. Make it executable: ```bash chmod +x unix.sh ``` 3. Run the installer: ```bash ./unix.sh ``` ## What the installer does 1. **Detects your system** - Automatically detects your OS (Linux/macOS) and architecture (AMD64/ARM64) 2. **Fetches latest version** - Gets the latest release from GitHub 3. **Downloads binary** - Downloads the appropriate binary for your system 4. **Installs to /usr/local/bin** - Installs the binary with proper permissions 5. **Verifies installation** - Checks that the installation was successful ## Supported Platforms - **Linux**: AMD64, ARM64 - **macOS**: AMD64 (Intel), ARM64 (Apple Silicon) ## Requirements - `curl` - for downloading - `tar` - for extracting archives - `sudo` access - for installing to `/usr/local/bin` ## Uninstall To uninstall SSHM: ```bash sudo rm /usr/local/bin/sshm ```