Part 1: Set up
Installing the Educates CLI
Next, we are going to install the Educates CLI from the available release binaries on GitHub. Each release has a binary for macOS and one for Linux, on amd64 and arm64. There is no Windows binary: on Windows, use the Linux one inside WSL. Downloads links every binary; the commands below fetch the right one for your machine.
Linux
# 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-arm64chmod +x educatessudo mv educates /usr/local/bin/educatesmacOS
# 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-arm64chmod +x educatessudo mv educates /usr/local/bin/educatesTesting the Educates CLI
To test if the installation of the Educates CLI has been successful, spin up a terminal and run the following command:
educates versionThe output should look like this:
educates version
3.8.0