Skip to content

Instantly share code, notes, and snippets.

@colindean
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colindean/6b829b0f905dd96e4248 to your computer and use it in GitHub Desktop.
Save colindean/6b829b0f905dd96e4248 to your computer and use it in GitHub Desktop.
Updates Cargo nightly on OSX
#!/bin/bash
# get this with:
#
# curl -O https://gist.githubusercontent.com/colindean/6b829b0f905dd96e4248/raw/get_cargo.sh
# chmod +x get_cargo.sh
#
triple=x86_64-apple-darwin
curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-$triple.tar.gz
tar xf cargo-nightly-$triple.tar.gz
./cargo-nightly-$triple/install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment