-
Notifications
You must be signed in to change notification settings - Fork 318
Installation
Justin Hileman edited this page Nov 25, 2025
·
19 revisions
Download the psysh phar to install.
wget https://psysh.org/psysh
chmod +x psysh
./psyshItβs even awesomer if you put it somewhere in your system path (like /usr/local/bin or ~/bin)!
Additional releasesβincluding compatibility releases for PHP 5.4, and for PHP without readline or iconv or mbstringβare available on GitHub.
PsySH is available via Composer, so you can use it in your project as well.
composer require psy/psysh:@stable
./vendor/bin/psyshOr you can use it by checking out the the repository directly.
git clone https://github.com/bobthecow/psysh.git
cd psysh
composer install
./bin/psyshHomebrew users can install via Homebrew.
brew install psysh