Skip to content

Latest commit

 

History

History
95 lines (65 loc) · 2.98 KB

install.md

File metadata and controls

95 lines (65 loc) · 2.98 KB
description
This guide walks through installing and using all components of Akash software.

Install Akash

The software to run Akash and the command-line client used to interact with them are all distributed in the akashapplication. The `provider-services` commands are used to interact with the Akash Network.

Visit this guide for a through walk through of the Akash CLI, environment variable declarations, and an example deployment onto the Akash network.

Select a tab below to view instructions for MacOS, Linux, or compiling from source.

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

MacOS

1. Download and Install Akash

  • These commands will retrieve the latest, stable version of the Akash software, store the version in a local variable, and install that version.
cd ~/Downloads

#NOTE that this download may take several minutes to complete
curl -sfL https://raw.githubusercontent.com/akash-network/provider/main/install.sh | bash

2. Move the Akash Binary

  • Move the binary file into a directory included in your path
sudo mv ./bin/provider-services /usr/local/bin

3. Verify Akash Installation

  • Verify the installation by using a simple command to check the Akash version
provider-services version
  • Expect/Example Output
provider-services version

v0.4.6

{% 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.

GoDownloader

Alternatively, install the latest version via godownloader First, configure the version of the Akash Network AKASH_VERSIONas a shell variable in your terminal:

# install necessary utilities
apt install jq -y
apt install unzip -y

# install akash 
curl -sfL https://raw.githubusercontent.com/akash-network/provider/main/install.sh | bash

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/akash-network/provider
$ cd $GOPATH/src/github.com/akash-network/provider
$ AKASH_NET="https://raw.githubusercontent.com/akash-network/net/main/mainnet"
$ AKASH_VERSION="$(curl -s https://api.github.com/repos/akash-network/provider/releases/latest | jq -r '.tag_name')"
$ git checkout "v$AKASH_VERSION"
$ make deps-install
$ make install

Akash is developed and tested with golang 1.16+. 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 %}