---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# psysh

> A runtime developer console, interactive debugger, and REPL for PHP.
> More information: <https://github.com/bobthecow/psysh/wiki/CLI-options>.

- Open a shell in the current directory:

`psysh`

- Open a shell in a specific directory:

`psysh --cwd {{path/to/directory}}`

- Use a specific configuration file:

`psysh {{[-c|--config]}} {{path/to/file}}`
