install_rust.sh 255 B

1234567
  1. #!/bin/sh
  2. echo 'install rust'
  3. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
  4. curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
  5. echo 'export PATH="$$HOME/.cargo/bin:$$PATH"' >> ~/.bash_profile
  6. source ~/.bash_profile