Instructions
Click on the "Start" button, then click "Run." Enter "cmd" in the text field and press "Enter" to open a command line tool in Windows. Click "Applications" in Finder, then click "Terminal" to open a command line tool on Mac OS X.
Type "sudo mkdir $PS3DEV." This command creates a directory to use PSL1GHT in.
Enter "sudo git clone https://github.com/ps3dev/ps3toolchain.git $BUILDDIR," which instructs the system to acquire the PS3 Toolchain module that PSL1GHT requires to operate. Next, type "sudo chown -R $USER $BUILDDIR," which gives you, the computer owner, explicit access to alter the build directory, "BUILDDIR."
Move to the BUILDDIR directory with the command, "cd $BUILDDIR," and enter "./toolchain.sh" to build the PS3 Toolchain program.
Type "sudo git clone https://github.com/ps3dev/PSL1GHT.git /usr/src/psl1ght" to download PSL1GHT. Change its permissions so that you have full control with the command, "sudo chown -R $USER /usr/src/psl1ght."
Move to the PSL1GHT directory with the command, "cd /usr/src/psl1ght," and build this application file by typing: "make all install." When the command prompt reappears, the system is ready to compile using PSL1GHT.
Set up a compile directory with the command, "mkdir ~/ps3dev." Next, place your application files in this directory with the command "mv ~/ps3dev dirname" where "dirname" is the name of the application directory.
Type "cd ~/ps3dev/dirname" and then enter "make" to compile using PSL1GHT.