🚀 Installation

Prerequisites

Before installing OpenCode Monitor, ensure you have:

  • Python 3.7+ installed on your system
  • pip package manager
  • OpenCode AI installed and configured

The easiest way to install OpenCode Monitor:

# Clone the repository
git clone https://github.com/yourusername/ocmonitor.git
cd ocmonitor
 
# Run the automated installer
./install.sh

The installer will:

  • ✅ Check Python version compatibility
  • ✅ Install all required dependencies
  • ✅ Configure PATH settings automatically
  • ✅ Verify the installation

Method 2: Manual Installation

If you prefer manual control over the installation process:

# Clone the repository
git clone https://github.com/yourusername/ocmonitor.git
cd ocmonitor
 
# Install dependencies
pip install -r requirements.txt
 
# Install the package
pip install -e .

Verification

After installation, verify that OpenCode Monitor is working correctly:

# Check if the command is available
ocmonitor --version
 
# Run a quick test
ocmonitor test-connection

You should see output confirming the version and successful connection to OpenCode AI services.