Download And Install iofogctl

Install iofogctl on Mac

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/2.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

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=2.0.2

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-2.0.2-1.x86_64

Verify iofogctl Installation

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