Swift Package Index

xcinfo

https://github.com/xcodereleases/xcinfo.git

Install as many Xcodes at once as you can


Compatibility

  • 0.6.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
  • 0.6.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

xcinfo

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.

Screenhot of the install progress

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

Requirements

  • macOS 10.15 (Catalina)
  • Swift 5.1

Installation

Manually

$ git clone https://github.com/xcodereleases/xcinfo.git
$ cd xcinfo
$ make

Mint

$ mint install xcodereleases/xcinfo

homebrew

$ brew install xcinfo

Usage

info (default)

  • show detailed information about a version of Xcode

list

  • list all available Xcode versions ever released by Apple

install

  • download and install a version of Xcode

installed

  • list Xcode versions installed in /Applications

uninstall

  • removes an installed version of Xcode from /Applications

cleanup

  • if something goes wrong this removes all entries stored in the keychain, all cookies, and user defaults

CI

  • no-ansi flag to suppress colored output
  • verbose flag

Screenshots

Show info for a specific Xcode version

Installed and available Xcode versions

TODO

  • sudo support without storing user password in memory
  • latest argument for install subcommand (e.g. xcinfo install latest)
  • man page
  • tests
  • include default data (when github is offline)

Changelog

Version 0.6.0

Adds:

  • resuming of aborted downloads (Thanks @chippo)

Version 0.5.1

Fixes:

  • version string

Version 0.5.0

Initial public release