CLI Reference
Global options
Section titled “Global options”mycellm --version # Show versionmycellm --help # Show all commandsCommands
Section titled “Commands”mycellm init
Section titled “mycellm init”Initialize identity and join a network.
mycellm init # Join public networkmycellm init --create-network "My Org" # Create private networkmycellm init --create-network "My Org" --public # Create public networkmycellm init --invite <token> # Join via invite token/URLmycellm init --no-serve # Configure only, no promptsmycellm init --serve # Start daemon after initmycellm serve
Section titled “mycellm serve”Start the node daemon.
mycellm serve # Start on localhost:8420mycellm serve --host 0.0.0.0 # Listen on all interfacesmycellm serve --port 9000 # Custom API portmycellm serve --relay http://ipad:8080 # Relay to external devicemycellm serve --relay http://a:80 --relay http://b:80 # Multiple relaysmycellm serve --no-dht # Disable DHT discoverymycellm serve --priority low # Run at nice +15mycellm serve --watchdog # Auto-restart on crashmycellm serve --install-service # Install as system servicemycellm serve --uninstall-service # Remove system servicemycellm chat
Section titled “mycellm chat”Interactive chat REPL.
mycellm chat # Auto-discover and chatmycellm chat --model llama-7b # Use specific modelmycellm chat --endpoint http://gpu:8420 # Connect to remote nodemycellm chat --api-key my-key # Authenticatemycellm status
Section titled “mycellm status”Show node health.
mycellm statusmycellm status --endpoint http://gpu:8420mycellm account
Section titled “mycellm account”Manage account identity.
mycellm account create # Generate master keypairmycellm account create --name "Alice" # With display namemycellm account show # Show public keymycellm account export # Export public key to filemycellm device
Section titled “mycellm device”Manage device certificates.
mycellm device create # Create device certmycellm device create --role seeder # Specify rolemycellm device list # List all certsmycellm device revoke <name> # Revoke a certmycellm secret
Section titled “mycellm secret”Manage encrypted API keys.
mycellm secret set openrouter -v sk-or-... # Store secretmycellm secret set hf-token # Prompted inputmycellm secret list # List namesmycellm secret get openrouter # Retrieve (masked)mycellm secret remove openrouter # Delete