- (Optional) Open terminal and
cd
to wherever you want to install your CLI. Personally I like~/bin
.
mkdir -p ~/bin && cd ~/bin
- Get the latest Harmony CLI version
curl -O https://raw.githubusercontent.com/harmony-one/go-sdk/master/scripts/hmy.sh && chmod +x ./hmy.sh && ./hmy.sh -d