Skip to content

Instantly share code, notes, and snippets.

@vitorsvieira
Last active July 14, 2018 12:34
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 vitorsvieira/64995aefee19379ed5ffd1b9b0f00fda to your computer and use it in GitHub Desktop.
Save vitorsvieira/64995aefee19379ed5ffd1b9b0f00fda to your computer and use it in GitHub Desktop.
Setting up Rust on MacOSX
1 - curl https://sh.rustup.rs -sSf | sh
2 - Add $HOME/.cargo/env to the $PATH
3 - Configure components
- rustup default nightly
- rustup self update
- rustup update nightly
- rustup component add rls-preview --toolchain nightly
- rustup component add rust-analysis --toolchain nightly
- rustup component add rust-src --toolchain nightly
- rustup component add rust-docs --toolchain nightly
- rustup update
4 - Install tools
- cargo install clippy rustfmt rustsym ripgrep cargo-check cargo-config cargo-count cargo-do cargo-edit cargo-graph cargo-open cargo-outdated cargo-script cargo-vendor cargo-watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment