Install Guide

The YGGDRASH project is an active project to provide the best protocol, and the progress and output of the guide may be slightly different.

Please check the README document for each project for the latest update.

Install Java

You must install at least 1.8 JDKs to build the smart contract source included in the branch build process. It is recommended to download from the site below or use SDKMAN to use Open JDK.

Install SDKMAN (recomended)

curl -s "" | bash
source "$HOME/.sdkman/bin/"

Install JAVA

sdk ls java
Available Java Versions
sdk install java 8.0.192-zulu
javac -version
javac 1.8.0_192

Install NodeJS

CLI is developed in JavaScript and has a dependency on Node. The environment for installing and operating CLI is as follows.

  • Node.js ≥ v10.12.0
  • Npm ≥ v6.4.1
  • Yarn ≥ 1.12.3

Install Homebrew (OS X)

/usr/bin/ruby -e "$(curl -fsSL"

Install node

brew install node
node -v

The Node Version Manager tool is the recommended tool for node version management. Information about nvm (preferences, etc.) can be found in [nvm] (

sudo curl -o- | bash
nvm install 10.12.0

Install yarn

Yarn installl

brew install yarn
$ yarn -v


YGGDRASH CLI is a tool that helps developers to easily develop. The next step, Getting Started, explains how to use Commander to scaffold, build, and deploy a branch-chain project. In the terminal, type the following command to install the executable commander.

yarn global add @yggdrash/cli # or npm install -g @yggdrash/cli

To check whether it is installed correctly, check the version with the following command.

ygg --version


Finally, before you create the branch chain, create your project folder and place it there. In the future, we will create the Currency branch chain called Meta coin. Create project folder:

mkdir metacoin
cd metacoin

Create new user account

ygg account new