Installation and Configuration Guide
The installation process can be divided into four core phases, requiring special attention to environment preparation and key configuration:
- Environmental pre-screening: Ensure Python ≥ version 3.9, prepare Google/OpenAI API keys (at least one)
- Code Fetch: By
git clone https://github.com/Din829/DbRheo-CLI.gitclone warehouse - Dependent Installation: Go to the project directory and execute
pip install -r requirements.txtInstall the required Python libraries - Key Configurations::
- Copy .env.example as .env configuration file
- Fill in the API key (OPENAI_API_KEY or GOOGLE_API_KEY)
- Set target database connection parameters (PostgreSQL/MySQL/SQLite supported)
After the configuration is complete, the configuration of thepython packages/cli/cli.pyLaunching the interactive command line brings up theDbRheo>The prompt indicates success. For the first time, it is recommended to execute the/helpView available commands.
This answer comes from the articleDbRheo-CLI: Command-line tool for manipulating databases and analyzing data using natural languageThe































