AppFlowy/scripts/install_rust.sh
2021-07-09 08:43:25 +08:00

7 lines
255 B
Bash
Executable File

#!/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