# Install psysh with Homebrew, Nix

Runtime developer console, interactive debugger and REPL for PHP. Version 0.12.24 via Homebrew; verified 2026-06-29.

## Install

```sh
sudo av install brew:psysh
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install psysh
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#psysh
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ps/psysh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:psysh
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/psysh>
- **Version:** 0.12.24
- **Source summary:** Runtime developer console, interactive debugger and REPL for PHP
- **Homepage:** <https://psysh.org/>
- **Repository:** <https://github.com/bobthecow/psysh>
- **Upstream docs:** <https://github.com/bobthecow/psysh/wiki>
- **License:** MIT
- **Source archive:** <https://github.com/bobthecow/psysh/releases/download/v0.12.24/psysh-v0.12.24.tar.gz>
- **Last updated:** 2026-06-29T16:31:00Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- psysh (cli)
- psysh (alias)

## Dependencies

- php

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.12.24
- Package-manager updated: 2026-06-29
- Local data: ok
- Upstream repository: https://github.com/bobthecow/psysh
- info: No cached GitHub release or tag data was available.

## Security Notes

escape, surveillance, or offensive capability signal. generalized runtime or code generation signal.

- **Geiger risk:** red / medium
- escape, surveillance, or offensive capability signal
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/psysh/config.php, .psysh.php
- Windows: C:\Users\{USER}\AppData\Roaming\PsySH\config.php
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** psysh
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - psysh: normalized package name match | nixpkgs package indexes: pkgs/by-name/ps/psysh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [php](https://www.automicvault.com/pkg/brew/php/) - Runtime dependency declared by Homebrew.
- [ammonite-repl](https://www.automicvault.com/pkg/brew/ammonite-repl/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [frege-repl](https://www.automicvault.com/pkg/brew/frege-repl/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [ki](https://www.automicvault.com/pkg/brew/ki/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [planck](https://www.automicvault.com/pkg/brew/planck/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [cling](https://www.automicvault.com/pkg/brew/cling/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [clojure](https://www.automicvault.com/pkg/brew/clojure/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [cpi](https://www.automicvault.com/pkg/brew/cpi/) - Shares av.db curated category or tags: cli, language-runtime, repl.
- [hy](https://www.automicvault.com/pkg/brew/hy/) - Shares av.db curated category or tags: cli, language-runtime, repl.

## Combined YAML source

View the package source record on GitHub. [combined/psysh.yml](https://github.com/automic-vault/db/blob/main/combined/psysh.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
