Installation

From a release (recommended for new machines)

  1. Download a compiled mstrap release from the Releases page
  2. Extract and copy mstrap to somewhere in your PATH. (/usr/local/bin is recommended)

via Homebrew (existing machines with Homebrew)

  1. brew install maxfierke/mstrap/mstrap

Compiling from source

  1. brew install crystal
  2. make RELEASE=1
  3. make install or sudo make install, depending on your access rights to /usr/local/bin. You may also specify PREFIX to install to a different location.

If on Linux, passing STATIC=1 to make is highly recommended (requires Docker). It will output a statically-compiled binary.

If on macOS, statically compiled binaries are not supported, but we statically link to any library not provided by the base macOS.