Download And Install iofogctl

Install iofogctl on Mac

Homebrew

Mac users can use Homebrew:

brew tap eclipse-iofog/iofogctl
brew install [email protected]

Install iofogctl on Windows

The Windows binary can be downloaded from https://storage.googleapis.com/iofogctl/win/3.0/iofogctl.exe.

Prepare Windows

In order to use iofogctl to deploy an ECN locally on Windows we will need to configure Docker to run Linux containers:

  • Install docker desktop for windows
  • Enable Hyper-V in Powershell Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
  • Ensure that docker is running with Linux containers mode

Install iofogctl on Linux

Binary

curl -LO https://storage.googleapis.com/iofogctl/linux/3.0/iofogctl
sudo install -o root -g root -m 0755 iofogctl /usr/local/bin/iofogctl
rm ./iofogctl

Debian

The Debian package can be installed like so:

curl https://packagecloud.io/install/repositories/iofog/iofogctl/script.deb.sh | sudo bash
sudo apt-get install iofogctl=3.0.0-alpha1

RPM

And similarly, the RPM package can be installed like so:

curl https://packagecloud.io/install/repositories/iofog/iofogctl/script.rpm.sh | sudo bash
sudo yum install iofogctl-3.0.0-alpha1-1.x86_64

Verify iofogctl Installation

Run iofogctl version to verify you have successfully installed the CLI.