Skip to content

README config path is outdated: references ~/.opencode/opencode.jsonc instead of ~/.config/opencode/opencode.json #12

Description

@thomasmaerz

Issue

The README installation instructions reference an outdated config path.

What the README says

Step 2 says to edit ~/.opencode/opencode.jsonc:

{
  "plugin": ["opencode-qwencode-auth"]
}

What actually happens

OpenCode's current config location is ~/.config/opencode/opencode.json, not ~/.opencode/opencode.jsonc. The ~/.opencode/ directory and opencode.jsonc file do not exist on a fresh install.

Additionally, the install step says:

cd ~/.opencode && npm install opencode-qwencode-auth

But OpenCode auto-installs npm plugins at startup from the config file. The ~/.opencode/package.json approach appears to be from an older plugin system.

Suggested fix

Update the README to reflect the current config path and plugin installation method:

  1. Config path: Change ~/.opencode/opencode.jsonc to ~/.config/opencode/opencode.json
  2. Plugin installation: Clarify that adding the package to the plugin array in the config file is sufficient — OpenCode handles npm installation automatically at startup
  3. File format: The actual config file is opencode.json (not opencode.jsonc)

Corrected installation steps should be

1. Add the plugin to your config

Edit ~/.config/opencode/opencode.json:

{
  "plugin": ["opencode-qwencode-auth"]
}

OpenCode will automatically install the npm package on next startup.

2. Login

opencode auth login

Then select "Other" and type qwen-code.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions