Download And Install potctl
Install potctl on Mac
Mac users can use Homebrew:
brew tap datasance/potctl
brew install potctl
Install potctl on Windows
The Windows binary can be downloaded from Datasance Packages.
Prepare Windows
In order to use potctl
to deploy an ECN locally on Windows we will need to configure Docker to run Linux containers:
- Install docker desktop for windows
- Follow the guidelines for using WSL2 or Hyper-V backend docker desktop for windows
- Ensure that docker is running with docker desktop for windows
Install potctl on Linux
The Debian package can be installed like so:
wget -qO- https://downloads.datasance.com/datasance.gpg | sudo tee /etc/apt/trusted.gpg.d/datasance.gpg >/dev/null
echo "deb [arch=all signed-by=/etc/apt/trusted.gpg.d/datasance.gpg] https://downloads.datasance.com/deb stable main" | sudo tee /etc/apt/sources.list.d/datansance.list >/dev/null
sudo apt update
sudo apt install potctl -y
And similarly, the RPM package can be installed like so:
cd /etc/yum.repos.d ; curl https://downloads.datasance.com/datasance.repo -LO
sudo yum update
sudo yum install potctl
Verify potctl Installation
Run potctl version
to verify you have successfully installed the CLI.
See anything wrong with the document? Help us improve it!