Skip to content

Instantly share code, notes, and snippets.

@swarupdonepudi
Created August 13, 2017 02:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swarupdonepudi/f67e2d4d890b8bf5cff93eccdd7ee433 to your computer and use it in GitHub Desktop.
Save swarupdonepudi/f67e2d4d890b8bf5cff93eccdd7ee433 to your computer and use it in GitHub Desktop.
Steps to install etcher-cli on OSX.
  1. 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
  1. Extract the tar file

tar fvx path/to/cli.tar.gz
  1. 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
  1. Add /opt/etcher-cli to PATH variable. This needs to be added to your login shell profile. I have added it to ~/.zshrc file.
export PATH=$PATH:/opt/etcher-cli >> ~/.zshrc
  1. Verify that etcher is successfully setup
etcher -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment