Skip to content

Instantly share code, notes, and snippets.

@killerswan
Created May 27, 2012 03:30
Show Gist options
  • Save killerswan/2801875 to your computer and use it in GitHub Desktop.
Save killerswan/2801875 to your computer and use it in GitHub Desktop.
how rust `cargo` should work!
#!/bin/bash -x
sudo rm -rf .cargo/ ~/.cargo/ /usr/local/lib/cargo/ \
&& sudo cargo init \
&& sudo cargo sync \
&& cargo install rustx \
&& cargo install --mode=local rustx \
&& cargo install -g rustx \
&& cargo install --mode=user rustx \
&& sudo cargo install -G rustx \
&& sudo cargo install --mode=system rustx \
&& sudo cargo install --test rustx \
&& cargo search rustx \
&& cargo search rustic \
&& cargo list \
&& cargo list central \
&& echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment