Last active
July 14, 2018 12:34
-
-
Save vitorsvieira/64995aefee19379ed5ffd1b9b0f00fda to your computer and use it in GitHub Desktop.
Setting up Rust on MacOSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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