Install Dependencies
We recommend using Unix-like OS (macOS, Linux, etc.) for installation and operation.
Dependencies
Dependency | Version | Description |
---|---|---|
Go | 1.20+ | Default programming language for Cosmos SDK |
jq | Latest | Lightweight and flexible command-line JSON processor |
Git | Latest | Distributed version control system |
CMake | Latest | Cross-platform build system |
GCC | Latest | GNU compiler collection for C, C++, and other languages |
GNU Make | Latest | Build automation tool |
macOS
Install Homebrew
Homebrew (opens in a new tab) is a package manager for macOS that simplifies the installation of software. If you haven't installed Homebrew on your Mac, follow the Homebrew documentation (opens in a new tab).
Install dependencies
Open a terminal and run the following command:
Terminal
$ brew install go jq git cmake gcc make
Linux (general)/Ubuntu
Install dependencies
Open a terminal and run the following commands:
Terminal
$ sudo apt update
$ sudo apt install golang jq git cmake gcc make
CentOS/RHEL/Fedora
These instructions cover CentOS, RHEL, and Fedora, which use the yum or dnf package managers.
Install dependencies
Open a terminal and run the following command:
Terminal
$ sudo yum install golang jq git cmake gcc make