- Download the etcher-cli tar file from the official downloads page
curl -O https://github.com/resin-io/etcher/releases/download/v1.1.2/Etcher-cli-1.1.2-darwin-x64.tar.gz
- Extract the tar file
tar fvx path/to/cli.tar.gz
- Create the directory in /opt folder and move the contents to the new folder
mkdir -p /opt/etcher-cli mv -R Etcher-cli-1.1.2-darwin-x64 /opt/etcher-cli
- Add /opt/etcher-cli to PATH variable. This needs to be added to your login shell profile. I have added it to ~/.zshrc file.