Getting started
Installation
Section titled “Installation”Homebrew
Section titled “Homebrew”brew install ynqa/tap/vyShell installer
Section titled “Shell installer”curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ynqa/vy/releases/latest/download/vy-installer.sh | shIf you have Rust and Cargo installed, run:
cargo install vy --lockedAdd Cargo’s installation bin directory to your PATH. The default location is ~/.cargo/bin.
Verify the installation
Section titled “Verify the installation”vy --versionvy --helpOpen a file or pipe
Section titled “Open a file or pipe”vy data.jsonvy config.yamlcat data.json | vyvy --format yaml input.txt--format accepts auto (the default), json, and yaml. Automatic detection checks known file extensions first, then infers the format from the beginning of the content. Specify the format explicitly if detection does not give the intended result.
| Input | Behavior |
|---|---|
| JSON | Displayed as a JSON tree |
| JSON Lines / NDJSON | Each JSON value is displayed as a separate document. Supports --format json |
| YAML | Displayed as a YAML tree |
YAML separated by --- | Each document is displayed separately |
vy reads the entire input before opening the interface. It does not support continuously browsing input that never ends, such as tail -f.
First steps
Section titled “First steps”After opening a file, navigate the tree to select the node you want to inspect. Enter commands beginning with a colon inside vy.

- Move between lines with
j/k, and expand or collapse a node withSpace. - If you know the path, jump directly to it with
:goto. - Run
:focusto open only the selected subtree. - Press
/, enter a search term or regular expression, and pressEnterto search. - While browsing in focus, press
Escto return to the original view. - Run
:quitto exit vy entirely.
Press Tab to complete command names and paths. Open :help whenever you need to look up the controls.
Next, try Navigation or flatten.
