CLI/Connect the CLI
Connect the CLI
Sign in through your browser and authorize the CLI to manage nodes in one account.
ndn login- The CLI opens the app's login page and displays a verification code. If the browser does not open automatically, open the link shown in your terminal.
- Sign in if needed. An existing app session is reused.
- Confirm that the code on the page matches your terminal, select the account, and choose Authorize CLI. Complete MFA if prompted.
- Wait for the connection confirmation, then close the tab and return to your terminal.
The request expires after five minutes. Keep the terminal open while approving it. If the request expires or login is cancelled, run ndn login again.
CLI access lets you read and manage nodes in the selected account for 30 days. Run ndn login again when you need to reconnect.
Use ndn status to check your connection or ndn logout to disconnect.