1. Install the Phoenix CLI: `npm install -g @arizeai/phoenix-cli`.
2. Configure environment variables: `PHOENIX_HOST`, `PHOENIX_PROJECT`, `PHOENIX_API_KEY`.
3. Fetch recent traces: `px traces --limit 10`.
4. Find failed traces: `px traces --limit 50 --format raw --no-progress | jq '.[] | select(.status == "ERROR")'`.
5. Get details on a specific trace: `px trace <trace-id>`.
6. Analyze span durations: `px trace <trace-id> --format raw | jq '.spans | sort_by(-.duration_ms) | .[0:5] | .[] | {name, duration_ms, span_kind}'`.
7. Review experiment results: `px experiment <experiment-id> --format raw --no-progress | jq '.[] | select(.error != null) | {input: .input, error}'`.