[docs] Update Homebrew commands
Summary:
- If the user already has a particular formula installed, we should make sure it gets upgraded. Otherwise they have may issues with old versions of tools.
- brew cask install is now deprecated, and we can just use brew install now.
Test Plan:
I ran all the commands together on my laptop to make sure they upgraded any old dependencies:
brew install node; brew upgrade node; brew install yarn; brew upgrade yarn; brew install watchman; brew upgrade watchman; brew install nvm; brew upgrade nvm; brew install mysql@5.7; brew upgrade mysql@5.7; brew install redis; brew upgrade redis; brew install react-native-debugger; brew upgrade react-native-debugger; brew install reactotron; brew upgrade reactotron; brew install adoptopenjdk/openjdk/adoptopenjdk8; brew upgrade adoptopenjdk/openjdk/adoptopenjdk8
I also uninstalled one of them before running to make sure it got installed afterwards.
Reviewers: palys-swm
Reviewed By: palys-swm
Subscribers: KatPo, zrebcu411, Adrian
Differential Revision: https://phabricator.ashoat.com/D491