AppFlowy/scripts/install_rust.sh

7 lines
255 B
Bash
Raw Normal View History

2021-07-09 00:42:52 +00:00
#!/bin/sh
echo 'install rust'
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
echo 'export PATH="$$HOME/.cargo/bin:$$PATH"' >> ~/.bash_profile
source ~/.bash_profile