CLI Commands
The jarvis CLI is the operational entry point for the daemon.
Command Summary
Section titled “Command Summary”The current shipped commands are:
jarvis startjarvis stopjarvis restartjarvis statusjarvis logsjarvis updatejarvis onboardjarvis doctorjarvis versionjarvis help
jarvis start
Section titled “jarvis start”Starts the daemon.
jarvis startjarvis start -djarvis start --port 8080jarvis start --no-openFlags:
-d,--detach: run as a background daemon--port <N>: override the daemon port--no-open: do not open the dashboard automatically
Notes:
- By default,
jarvis startruns in the foreground and acquires the daemon lock directly jarvis start -dorjarvis start --detachspawns a background child and writes logs to the daemon log file
jarvis stop
Section titled “jarvis stop”Stops the running daemon gracefully.
jarvis stopIf the process does not exit cleanly, the CLI escalates to a hard kill after a short wait.
jarvis restart
Section titled “jarvis restart”Stops the daemon if it is running, then starts it again.
jarvis restartjarvis restart --port 8080jarvis status
Section titled “jarvis status”Shows whether the daemon is currently running.
jarvis statusWhen running, it also prints the dashboard URL.
jarvis logs
Section titled “jarvis logs”Shows the daemon log file.
jarvis logsjarvis logs -fjarvis logs -n 200Flags:
-f,--follow: follow log output live-n,--lines <N>: number of lines to show
jarvis onboard
Section titled “jarvis onboard”Runs the interactive setup wizard.
jarvis onboardUse this for first-time setup or whenever you want to reconfigure the basics interactively.
jarvis doctor
Section titled “jarvis doctor”Runs environment and connectivity checks.
jarvis doctorUse this when:
- The daemon will not start
- A provider is misbehaving
- The dashboard cannot connect
- You are not sure whether your environment is configured correctly
jarvis update
Section titled “jarvis update”Updates JARVIS to the latest version.
jarvis updatejarvis version
Section titled “jarvis version”Prints the installed version.
jarvis versionjarvis help
Section titled “jarvis help”Shows built-in help text.
jarvis helpCommon CLI Flows
Section titled “Common CLI Flows”First-time setup
Section titled “First-time setup”jarvis onboardjarvis startStart in background and watch logs
Section titled “Start in background and watch logs”jarvis start -djarvis logs -fDiagnose a broken setup
Section titled “Diagnose a broken setup”jarvis doctorjarvis statusjarvis logs -n 200Video Tutorial Placeholder
Section titled “Video Tutorial Placeholder”Video tutorial placeholder: installing JARVIS and using the CLI end to end.
Add your future video link here.