Installing the SDK

macOS

Install Docker

If you don’t have Docker on your machine, you can download and install the Community Edition.

The easiest way to get started on macOS is to install the SDK via Homebrew.

Run the following command in a terminal:

brew install stratumn/sdk/strat

If you don’t have Homebrew on your machine, you can get it from brew.sh.

Install the SDK manually

If you don’t want to use Homebrew, it’s possible to install the SDK without it.

  1. Download the SDK:

    wget https://github.com/stratumn/sdk/releases/download/v0.1.0/strat-darwin-amd64.zip
    
  2. Unzip the downloaded file:

    unzip strat-darwin-amd64.zip
    
  3. Move the binary to an executable path, for instance /usr/local/bin (you might have to sudo):

    mv strat/strat /usr/local/bin/strat
    

Linux

Install Docker

If you don’t have Docker on your machine, follow the instructions to install Docker on your platform.

Install the SDK

  1. Download the SDK:

    wget https://github.com/stratumn/sdk/releases/download/v0.1.0/strat-linux-amd64.zip
    
  2. Unzip the downloaded file:

    $ unzip strat-linux-amd64.zip
    
  3. Move the binary to an executable path, for instance /usr/local/bin (you might have to sudo):

    mv strat/strat /usr/local/bin/strat
    

Windows

Windows support is experimental. Currently only Windows 10 Pro is compatible with the SDK to some extent. Another option is to use a Linux Virtual Machine.

Install Docker

If you don’t have Docker on your machine, you can download and install the Community Edition.

Install the SDK

  1. Download the SDK
  2. Unzip the downloaded file
  3. Move the binary to an executable path