Skip to content

Installation

Justin Hileman edited this page Jun 2, 2018 · 17 revisions

💾 Installation

Download the psysh phar to install.

wget https://git.io/psysh
chmod +x psysh
./psysh

It’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 mbstringare 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/psysh

Or you can use it by checking out the the repository directly.

git clone https://github.com/bobthecow/psysh.git
cd psysh
composer install
./bin/psysh

More installation info

Clone this wiki locally