Development Note: Splat’s CLI is under active development. The core error analysis modules are functional, but the
splat squash command interface is not yet fully wired up in the codebase. This guide documents the intended installation and usage pattern.Prerequisites
Before installing Splat, ensure you have the following:Python 3.7+
Splat requires Python 3.7 or higher
pip or setuptools
Python package manager for installation
tmux
Terminal multiplexer for session management
npm (optional)
Required for repomix dependency
Installation Methods
- Automated Setup (Recommended)
- Manual Installation
- Using pip (Coming Soon)
The easiest way to install Splat is using the provided setup script:This script will:
Run the setup script
- Install tmux (on macOS via Homebrew)
- Create a virtual environment named
zapenv - Install all Python dependencies
- Install repomix globally via npm
The setup script uses Homebrew on macOS. For Linux, install tmux manually using your package manager:
Environment Configuration
Set up your API key
Splat uses Groq for AI inference. Create a
.env file in your project or Splat installation directory:.env
Get your free Groq API key at console.groq.com
Troubleshooting
Command not found: splat
Command not found: splat
If the
splat command is not recognized after installation:-
Ensure your virtual environment is activated:
-
Reinstall Splat:
-
Check if the installation directory is in your PATH:
tmux not found
tmux not found
Install tmux using your system package manager:
ModuleNotFoundError after installation
ModuleNotFoundError after installation
Make sure you’ve installed all dependencies:If issues persist, try recreating your virtual environment:
API key errors
API key errors
If you see API authentication errors:
- Verify your
.envfile exists and contains your Groq API key - Check that the MODEL and API_KEY variables are set correctly
- Ensure your API key is valid at console.groq.com
Next Steps
Now that Splat is installed, let’s run your first debug session:Quick Start Guide
Learn how to use Splat to debug your first error