Choose your operating system:
Copy the installation command:
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
Open Spotlight:
Press
⌘
+
Space
together.
Open your Terminal app:
Type
Terminal
and hit the
Return
key.
Paste & run the command:
Press
⌘
+
V
together & hit the
Return
key.
Congrats! You're all set.
You can now use
php
,
composer
and
laravel
in your terminal!