# Changing default port or host
rn-logs "[command]" --host "<host>" # Metro host (default: localhost)
rn-logs "[command]" --port "<port>" # Metro port (default: 8081)
rn-logs help
Non-interactive mode
When multiple apps are connected, you must pass --app.
Output is plain text for agent-friendly consumption.
Common failures
metro not reachable -> start Metro or fix host/port
no apps connected -> run app on simulator or device
1---2name: okwasniewski-react-native-logs-cli-react-native-logs-cli3description: rn-logs cli4---56# rn-logs cli78Use `rn-logs` to read React Native Metro logs via CDP without MCP overhead.9Default output is plain text and safe for non-interactive agent runs.1011## When to use1213- You need live Metro logs from a running RN app14- You want low-context, plain text log output1516## Installation1718```bash19npm install -g rn-logs-cli20```2122```bash23bun add -g rn-logs-cli24```2526Then verify:2728```bash29rn-logs --help30```3132## Requirements3334- `rn-logs` is installed and available in PATH35- Metro is running36- App is running on a simulator or device3738## Core workflow3940```bash41# 1. List connected apps42rn-logs apps4344# 2. Stream logs45rn-logs logs --app "<id|name>"4647# 3. Snapshot logs48rn-logs logs --app "<id|name>" --limit 5049```5051## Command options5253```bash54# Changing default port or host55rn-logs "[command]" --host "<host>" # Metro host (default: localhost)56rn-logs "[command]" --port "<port>" # Metro port (default: 8081)5758rn-logs help59```6061## Non-interactive mode6263- When multiple apps are connected, you must pass `--app`.64- Output is plain text for agent-friendly consumption.6566## Common failures6768- `metro not reachable` -> start Metro or fix host/port69- `no apps connected` -> run app on simulator or device70- `multiple apps connected` -> pass `--app`7172---73> Source: [okwasniewski/react-native-logs-cli](https://github.com/okwasniewski/react-native-logs-cli) — distributed by [TomeVault](https://tomevault.io).74<!-- tomevault:4.0:skill_md:2026-06-24 -->
Run npx skillmds@latest add tomevault-io/okwasniewski-react-native-logs-cli-react-native-logs-cli in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
rn-logs cli It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.