Skip to main content

Global options

nagare gateway start

Start nagare-gateway in the foreground of the current terminal. The PID is saved to ~/.nagare/.gateway.pid.
The first run creates an RSA key pair in the system keyring (service nagare.security.keyring). The gateway uses the public key to verify tokens.
If you set --host 0.0.0.0, the gateway can be accessed from other machines on the network. All APIs still require a token, but think carefully because Nagare can control your machine.

nagare gateway stop

Send a shutdown request to the running gateway.
Prints Nagare gateway shutdown requested. on success, or Nagare gateway is not running. if the gateway is not running.

nagare web

Serve the built-in web UI and open the browser with automatic login.

nagare auth token

Generate a JWT token for logging into the web UI, desktop app, or calling the API.
The token is signed with the RSA key in the keyring and is valid for 60 hours.

nagare doctor

Check the components of Nagare:
The command exits with code 1 if any check fails.

nagare plugin build

Build and package the plugin in the current directory. See Plugin overview.

nagare-desktop

The desktop app is a separate executable, not a subcommand of nagare. See Installation.