Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tecsyscom/7a94af2d06d3044754c3301f165fa362 to your computer and use it in GitHub Desktop.
Save tecsyscom/7a94af2d06d3044754c3301f165fa362 to your computer and use it in GitHub Desktop.
curl install everything
Linux (DEB and RPM distributions)
We've found a way to make the easy but infamous "curl|bash" more secure. If your system has GPG, try this:
curl -s 'https://pgp.mit.edu/pks/lookup?op=get&search=0x1657198823E52A61' | gpg --import && \
if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi
Some users may need to replace gpg with gpg2 in the above commands.
via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment