Query command examples
Inputs and outputs below were captured from the built command using synthetic settings. Colours preserve the executable's actual ANSI choices; JSON remains colour-free. These reference fixtures use example.invalid hosts and are separate from the 127.0.0.1 quick-start fixture. Placeholder fixture paths must be replaced with your local paths. No external server was contacted.
Start with the CLI quick start for a complete fixture you can create and query immediately. See the full output reference for every captured case.
list (terminal)
sh
jsbrains-profiles list --config <fixture-directory>\PhpStorm2026.2 --colorExit code: 0.
stdout
• global/deployments/demo
• global/ssh/demo-sshlist (JSON)
sh
jsbrains-profiles list --config <fixture-directory>\PhpStorm2026.2 --jsonExit code: 0.
stdout
json
[
{
"path": "global/deployments/demo",
"host": "files.example.invalid",
"protocol": "sftp",
"keyFile": "",
"remoteDirectory": ""
},
{
"path": "global/ssh/demo-ssh",
"host": "shell.example.invalid",
"protocol": "ssh",
"keyFile": "",
"remoteDirectory": ""
}
]list (table)
sh
jsbrains-profiles list --config <fixture-directory>\PhpStorm2026.2 --table --colorExit code: 0.
stdout
┌─────────────────────────┬───────────────────────┬──────────┬─────────────┬────────┐
│ Path │ Host │ Protocol │ Private key │ Remote │
├─────────────────────────┼───────────────────────┼──────────┼─────────────┼────────┤
│ global/deployments/demo │ files.example.invalid │ sftp │ │ │
│ global/ssh/demo-ssh │ shell.example.invalid │ ssh │ │ │
└─────────────────────────┴───────────────────────┴──────────┴─────────────┴────────┘search
sh
jsbrains-profiles search example --config <fixture-directory>\PhpStorm2026.2 --colorExit code: 0.
stdout
Found 2 profiles
┌──────────────────┬──────────────────────────────────────────┐
│ Label │ Value │
├──────────────────┼──────────────────────────────────────────┤
│ Name │ Demo │
│ Path │ global/deployments/demo │
│ Protocol │ sftp │
│ Host │ files.example.invalid │
│ Port │ 22 │
│ Username │ deploy │
│ Password │ (hidden*) │
│ Passphrase │ │
│ Credential state │ available │
│ Authentication │ connection/password: available (hidden*) │
│ Private key │ │
│ Remote │ │
└──────────────────┴──────────────────────────────────────────┘
┌──────────────────┬───────────────────────┐
│ Label │ Value │
├──────────────────┼───────────────────────┤
│ Name │ shell.example.invalid │
│ Path │ global/ssh/demo-ssh │
│ Protocol │ ssh │
│ Host │ shell.example.invalid │
│ Port │ 22 │
│ Username │ deploy │
│ Password │ │
│ Passphrase │ │
│ Credential state │ not-stored │
│ Authentication │ │
│ Private key │ │
│ Remote │ │
└──────────────────┴───────────────────────┘
*Enable passwords with --show-passwordget (JSON)
sh
jsbrains-profiles get global/deployments/demo --config <fixture-directory>\PhpStorm2026.2 --jsonExit code: 0.
stdout
json
{
"name": "Demo",
"path": "global/deployments/demo",
"protocol": "sftp",
"host": "files.example.invalid",
"port": 22,
"user": "deploy",
"password": "(hidden)",
"passphrase": "(hidden)",
"credentialState": "available",
"credentials": [
{
"connectionId": "connection",
"kind": "password",
"state": "available"
}
],
"authentication": "connection/password: available (hidden*)",
"keyFile": "",
"remoteDirectory": "",
"connections": [
{
"id": "connection",
"endpoint": {
"host": "files.example.invalid",
"port": 22,
"username": "deploy"
},
"authentication": [
{
"type": "password",
"credential": {
"sourceId": "jetbrains:<fixture-directory>\\PhpStorm2026.2",
"id": "global/deployments/demo",
"state": "available",
"kind": "password"
}
}
],
"kind": "ssh",
"protocol": "sftp"
}
],
"diagnostics": [],
"source": {
"id": "jetbrains:<fixture-directory>\\PhpStorm2026.2",
"application": "jetbrains",
"location": "<fixture-directory>\\PhpStorm2026.2",
"storage": [
{
"kind": "directory",
"path": "<fixture-directory>\\PhpStorm2026.2"
}
],
"applicationVersion": "2026.2",
"scope": "PhpStorm"
}
}get a property
sh
jsbrains-profiles get global/deployments/demo host --config <fixture-directory>\PhpStorm2026.2 --jsonExit code: 0.
stdout
json
"files.example.invalid"source
sh
jsbrains-profiles source --config <fixture-directory>\PhpStorm2026.2 --jsonExit code: 0.
stdout
json
{
"id": "jetbrains:<fixture-directory>\\PhpStorm2026.2",
"application": "jetbrains",
"location": "<fixture-directory>\\PhpStorm2026.2",
"storage": [
{
"kind": "directory",
"path": "<fixture-directory>\\PhpStorm2026.2"
}
],
"applicationVersion": "2026.2",
"scope": "PhpStorm"
}sources
sh
jsbrains-profiles sources --config <fixture-directory>\PhpStorm2026.2 --jsonExit code: 0.
stdout
json
{
"candidates": [
{
"id": "jetbrains:<fixture-directory>\\PhpStorm2026.2",
"application": "jetbrains",
"location": "<fixture-directory>\\PhpStorm2026.2",
"storage": [
{
"kind": "directory",
"path": "<fixture-directory>\\PhpStorm2026.2"
}
],
"applicationVersion": "2026.2",
"scope": "PhpStorm"
}
],
"selectedSourceId": "jetbrains:<fixture-directory>\\PhpStorm2026.2",
"selectedBy": "explicit",
"diagnostics": []
}