App Store says "Update" for uninstalled app
I uninstalled Xcode and came to reinstall it but the App Store has an "Update" button (which doesn't work) instead of "Install". How can I reinstall Xcode afresh?
FYI, I installed Xcode by the following route:
- Drag Xcode to Trash
- Delete /Library/Developer/CommandLineTools
- Follow the instructions here: https://stackoverflow.com/a/33812614/457584
MacBook Air 13", 10.14