Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 2.21 KB

install.md

File metadata and controls

74 lines (51 loc) · 2.21 KB

Install Akash

The akash command is used to run all components of the Akash Network, including:

  • Network node and API servers
  • Provider services
  • Client interface

There are a number of ways to install it, depending on your operating system.

Variables Required

Name Description
AKASH_VERSION Akash version to install for your network. See here.

{% tabs %} {% tab title="MacOS" %}

MacOS

The simplest way to install is by using homebrew. If you do not have homebrew, you can install homebrew using:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install akash daemon using homebrew:

brew tap ovrclk/tap
brew install akash-edge
brew link akash-edge --force

Once installed, verify the installation by running akash version. Compare that with the version for the network you plan on connecting to:

curl -s "$AKASH_NET/version.txt"

{% endtab %}

{% tab title="Linux" %}

Linux

Download the archive for your system from the release page, extract it, and install the akash binary into your path.

Alternatively, install the latest version via godownloader with:

curl https://raw.githubusercontent.com/ovrclk/akash/master/godownloader.sh | sh -s -- "$AKASH_VERSION"

The final step is to make sure that the akash binaries are available in your shell PATH.This page contains instructions for setting the PATH on Linux. {% endtab %}

{% tab title="Source" %}

Source

Installing Akash suite from source

$ go get -d github.com/ovrclk/akash
$ cd $GOPATH/src/github.com/ovrclk/akash
$ git checkout "$AKASH_VERSION"
$ make deps-install
$ make install

Akash is developed and tested with golang 1.15+. Building requires a working golang installation, a properly set GOPATH, and $GOPATH/bin present in $PATH.

Once you have the dependencies properly setup, download and build akash using make install {% endtab %} {% endtabs %}