Use Niro from the terminal
You do not need a coding agent to use Niro. Every question an agent can ask, you can ask from the shell.
Ask the graph a question
niro ask
niro ask find_api_endpoints
niro ask get_reverse_call_chain method_fqn=InvoiceService.send depth=2
- With no tool named,
niro asklists the tools. - With a tool, it takes inputs as
key=valueand prints the same answer an agent would get. niro ask --helpshows more.- The tools and their inputs are in MCP tools reference.
niro ask answers for the folder you run it in. To ask about another folder, cd there first.
niro ask needs your sign-in, because it uses the licence. See Licence and plans.
See the graph in a browser
niro ui
- What it shows: a page that draws the folder's graph. You can switch kinds of nodes and links on and off.
- Where it runs: at 127.0.0.1, on port 8601 by default. 127.0.0.1 means this computer only, so nothing else on your network can reach it.
- What it can do: only read. It changes nothing.
- How to stop it: it runs until you press Ctrl-C.
Other everyday commands
| Command | What it does |
|---|---|
niro status |
Shows this folder's project, when the graph was last built, your plan, sharing, your agent and the background updates |
niro plan |
Shows your plan and how many lines are indexed |
niro build |
Rebuilds this folder's graph now |
niro modules |
Lists the folders inside this one that are separate services |
niro projects |
Lists every project on this computer and its folders |
Every command is listed in CLI commands and Engine commands.