OS X Bash Command To List All Available Software Updates

Fig.01: List all available updates

Fig.01: List all available updates

To list all available updates on a Mac OS X (apple computer or laptop), type the following command at the terminal app:
softwareupdate -l
softwareupdate --list

Sample outputs:

Software Update Tool
Copyright 2002-2015 Apple Inc.
Finding available software
Software Update found the following new or updated software:
   * RAWCameraUpdate6.17-6.17
	Digital Camera RAW Compatibility Update (6.17), 7455K [recommended]
   * OS X El Capitan Update-10.11.1
	OS X El Capitan Update (10.11.1), 1158630K [recommended] [restart]
   * iTunesXPatch-12.3.1
	iTunes (12.3.1), 147580K [recommended]

To apply updates just type:
softwareupdate -a

Examples and usage: How To Update Apple OS X Using Command Line Software Update Tool