ifconfig |grep inet //Find your IP Address via the Mac OS X Terminal php -S localhost:8000 //To start local server--> cd /Applications/MAMP //To find path folder/file on mac with CLI Right click on folder/file and paste it to CLI e.g