mirror of
https://github.com/Gu1llaum-3/sshm.git
synced 2025-09-03 01:06:32 +02:00
Installation Scripts
This directory contains installation scripts for SSHM.
Unix/Linux/macOS Installation
Quick Install (Recommended)
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:
FORCE_INSTALL=true bash -c "$(curl -sSL https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh)"
Disable auto-install when using pipe:
FORCE_INSTALL=false bash -c "$(curl -sSL https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh)"
Manual Install
- Download the script:
curl -O https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh
- Make it executable:
chmod +x unix.sh
- Run the installer:
./unix.sh
What the installer does
- Detects your system - Automatically detects your OS (Linux/macOS) and architecture (AMD64/ARM64)
- Fetches latest version - Gets the latest release from GitHub
- Downloads binary - Downloads the appropriate binary for your system
- Installs to /usr/local/bin - Installs the binary with proper permissions
- Verifies installation - Checks that the installation was successful
Supported Platforms
- Linux: AMD64, ARM64
- macOS: AMD64 (Intel), ARM64 (Apple Silicon)
Requirements
curl
- for downloadingtar
- for extracting archivessudo
access - for installing to/usr/local/bin
Uninstall
To uninstall SSHM:
sudo rm /usr/local/bin/sshm