Getting Started
Getting Started with my-opencode-config
Section titled “Getting Started with my-opencode-config”Welcome to my-opencode-config! This CLI tool is designed to help you quickly and easily set up your OpenCode environment with the best free and powerful models, essential plugins, and optimal configurations.
Whether you’re new to OpenCode or just looking for a streamlined way to manage your setup, my-opencode-config has you covered.
Prerequisites
Section titled “Prerequisites”Before you begin, ensure you have the following installed on your system:
- Node.js: Version 18.0.0 or higher.
- Git: Required if you choose to install Superpowers.
- OpenCode: The core platform. If it’s missing, the tool will attempt to guide you through installation.
Quick Start
Section titled “Quick Start”The fastest way to use my-opencode-config is via npx. No installation is required!
npx my-opencode-configAlternatively, you can install it globally:
npm install -g my-opencode-configmy-opencode-configThe 8-Step Setup Wizard
Section titled “The 8-Step Setup Wizard”When you run my-opencode-config, it will guide you through an interactive 8-step process:
- Check OpenCode: Verifies your OpenCode installation.
- Essential Plugins: Automatically adds
oh-my-opencode-configandopencode-gemini-auth. - Superpowers (Optional): Offers to install the Superpowers suite for enhanced AI capabilities.
- Authentication: Helps you connect to OpenCode Zen and Google Gemini.
- Main Model Selection: Pick your primary free model from the Zen provider.
- Small Model Selection: Pick a secondary fast, free model for quick tasks.
- Agent Configuration: Configure your fast (Zen-free) and powerful (Gemini-based) agents.
- Configuration Generation: Generates your
opencode.jsonandoh-my-opencode-config.jsonfiles.
What’s Next?
Section titled “What’s Next?”Once the setup is complete, you’ll have a fully configured OpenCode environment ready for use!
- Check your configuration: Take a look at the generated
opencode.jsonin your home directory (~/.local/share/opencode/). - Start building: Open your project and start using your newly configured AI agents and models.
- Learn more: Check out our Features Guide for a deeper dive into model scoring and plugin management.