Installing the SDK
macOS
Install Docker
If you don’t have Docker on your machine, you can download and install the Community Edition.
Install the SDK using Homebrew (recommended)
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.
Download the SDK:
wget https://github.com/stratumn/sdk/releases/download/v0.1.0/strat-darwin-amd64.zip
Unzip the downloaded file:
unzip strat-darwin-amd64.zip
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
Download the SDK:
wget https://github.com/stratumn/sdk/releases/download/v0.1.0/strat-linux-amd64.zip
Unzip the downloaded file:
$ unzip strat-linux-amd64.zip
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
- Download the SDK
- Unzip the downloaded file
- Move the binary to an executable path