sshm/install
2025-08-31 22:57:23 +02:00
..
2025-08-31 22:57:23 +02:00
2025-08-31 22:57:23 +02:00

Installation Scripts

This directory contains installation scripts for SSHM.

Unix/Linux/macOS Installation

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

  1. Download the script:
curl -O https://raw.githubusercontent.com/Gu1llaum-3/sshm/main/install/unix.sh
  1. Make it executable:
chmod +x unix.sh
  1. Run the installer:
./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:

sudo rm /usr/local/bin/sshm