Requires Node.js 18 or later, git, and bash. On Windows, run it from Git Bash; PowerShell breaks the script’s line endings.
nexus login
Sign in with your browser, or paste a Fireworks key.Already set up? Skip to step 2.
Connect OpenCode
nexus opencodenexus opencode status
Restart and pick a model
Restart OpenCode. The default model is auto, stored as fireworks-ai/auto. auto and -latest aliases such as glm-latest stay short IDs. Other catalog models, such as glm-5p3, are stored as full Fireworks paths.
OpenCode model picker after Nexus CLI, with Auto selected
nexus opencode status shows the provider, where the key comes from, and the configured model.
Fastest: in OpenCode, run /connect, search fireworks.ai, paste your key, and pick a model with /models.Or edit the config to add routers and pin a default:
If your opencode.json uses OpenCode v2’s providers map, Nexus CLI writes the Fireworks provider there too, so the models appear in /models.The file is saved with mode 0600. Nexus CLI never changes auth.json. Use --config-path for a config stored elsewhere.
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.