Installing the Educates CLI
Next, we are going to install the Educates CLI from the available release binaries on GitHub.
- Linux
- MacOS
# For AMD64 / x86_64
[ $(uname -m) = x86_64 ] && curl -sSLo educates https://github.com/educates/educates-training-platform/releases/latest/download/educates-linux-amd64
# For ARM64
[ $(uname -m) = aarch64 ] && curl -sSLo educates https://github.com/educates/educates-training-platform/releases/latest/download/educates-linux-arm64
chmod +x educates
sudo mv educates /usr/local/bin/educates
# For AMD64 / x86_64
[ $(uname -m) = x86_64 ] && curl -sSLo educates https://github.com/educates/educates-training-platform/releases/latest/download/educates-darwin-amd64
# For ARM64
[ $(uname -m) = arm64 ] && curl -sSLo educates https://github.com/educates/educates-training-platform/releases/latest/download/educates-darwin-arm64
chmod +x educates
sudo mv educates /usr/local/bin/educates
Testing the Educates CLI
To test if the installation of the Educates CLI has been successful, spin up a terminal and run the following command:
Testing the Educates CLI
educates version
The output should look like this:
Output
educates version
3.0.0