Documentation → MacOSX update from the command line.
October 17th, 2008 by Jgz
You can use the softwareupdate command to install updates from a Terminal session. I used this on Leopard.
softwareupdate -i -a #To install all.
softwareupdate -l #To list available updates.