With xcinfo
you can access all information available at xcodereleases.com and install available Xcode versions from Apple's Developer Portal. It also finds and lists installed Xcode applications on hard drive and you can remove them safely.
USAGE: xcinfo <subcommand>
OPTIONS:
--version Show the version.
-h, --help Show help information.
SUBCOMMANDS:
info Xcode version info
list List all available Xcode versions
install Install an Xcode version
installed Show installed Xcode versions
uninstall Uninstall an Xcode version
cleanup Remove stored credentials
- macOS 10.15 (Catalina)
- Swift 5.1
$ git clone https://github.com/xcodereleases/xcinfo.git
$ cd xcinfo
$ make
$ sudo make install
- Build a universal (
arm64
andx86_64
) xcinfo:make
- Install xcinfo (default to
/usr/local/bin
):sudo make install
or to other local:sudo make install prefix=/opt/local
- Clean build caches:
make clean
- Cleanup all caches:
make cleanup
$ mint install xcodereleases/xcinfo
$ brew install xcinfo
- show detailed information about a version of Xcode
- list all available Xcode versions ever released by Apple
- download and install a version of Xcode
- list Xcode versions installed in /Applications
- removes an installed version of Xcode from /Applications
- if something goes wrong this removes all entries stored in the keychain, all cookies, and user defaults
- no-ansi flag to suppress colored output
- verbose flag
- sudo support without storing user password in memory
- man page
- tests
- include default data (when github is offline)
Adds:
- resuming of aborted downloads (Thanks @chippo)
Fixes:
- version string
Initial public release