Use rustup (not brew) for rust

This commit is contained in:
Conrad Irwin 2023-09-11 10:15:22 -06:00 committed by GitHub
parent f66dd43a84
commit b922d0f132
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,16 +13,15 @@ Welcome to Zed, a lightning-fast, collaborative code editor that makes your drea
sudo xcodebuild -license
```
* Install homebrew, rust and node
* Install rustup (rust, cargo, etc.)
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install rust
brew install node
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
* Ensure rust executables are in your $PATH
* Install homebrew and node
```
echo $HOME/.cargo/bin | sudo tee /etc/paths.d/10-rust
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
```
* Install postgres and configure the database