Development Environment

This tutorial covers most qitmeer applications, including qitmeer, qitmeer-cli, qitmeer-miner, etc.

Shell and package manager

A uniform command style and a handy package manager will greatly increase efficiency.

Windows

Since windows commands are not in unix-like style, so it is strongly command to install Msys2, which presents a unix shell and a package manager (pacman). It would provide consistent experience as Mac or Ubuntu do.

export PATH=/mingw64/bin:$PATH
export LD_LIBRARY_PATH=/mingw64/lib:$LD_LIBRARY_PATH

# update packages, it may ask you to re-open a terminal to process
# repeat this instruction until no packages to update
pacman -Syu

Figure 2

Mac

Mac is a Unix based OS, we just need to install the package manager.

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

Ubuntu

Ubuntu has build-in package manager apt, just update to the latest state

sudo apt update
sudo apt upgrade

Install Requisite

Before install Qitmeer, we need install git and golang.

Windows

 pacman -S git mingw64/mingw-w64-x86_64-go
export GOROOT=/mingw64/lib/go
export GOPATH=/mingw64

Mac

brew install git go
Contribute on GitHub

Report an Issue | View File | Edit File

© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License Creative Commons License