In Linux Ubuntu for example with the commands:
sudo apt update && upgrade
is possible update the complete set of current software already installed. I know the same approach is possible for Mac but through Homebrew (I am assuming the same for MacPorts too).
I am with this situation:
So, Is possible do the same approach about update Xcode directly by command? I mean, without Homebrew. I don't have installed MacPorts. Therefore I am wondered if instead to do the process by searching and installing manually, exists a command(s), something like:
xcode update --check xcode update It to let quickly check (if exists or not an update) for the current OS version (El Capitan 10.11.6) and if is exists then finally update Xcode.
I want install MacPorts in an old mac and to be safe I want install the latest acceptable version of Xcode
Question
- How to update
Xcodeto the latest acceptable version according with the current OS? It directly by command (without Homebrew)
MacPortsin peace, so I want be sure I have the latest acceptable version ofXcodefor the current oldmacOS. According with your comment - seems it the unique way is manually (without command(s)). Am I correct?