Bito CLI: Bringing AI to Your Command Line
Overview
Bito CLI is a Command Line Interface designed to interact with Bito AI's chat functionality. This tool aims to streamline workflows by integrating AI into command line operations, offering users the ability to leverage AI capabilities directly within their terminal environment. It's an alpha version, and feedback from users is highly valued and encouraged.
Prerequisites
Before diving into Bito CLI, ensure you have access to a terminal: Bash for Mac and Linux users, and CMD for Windows users.
Key Features
Execute Chat
- To start a chat session, simply type the
bito
command in your terminal. - Bito CLI supports extended prompts through multiline input, which are completed by pressing
Ctrl+D
. - To exit, type
quit
and also pressCtrl+D
. - If you need to terminate the session abruptly,
Ctrl+C
will do the job.
Installation Guide
Mac and Linux
- Recommended installation is via a simple command using
curl
, ensuring the latest version is downloaded:sudo curl https://alpha.bito.ai/downloads/cli/install.sh -fsSL | bash
- For Arch Linux users, Bito CLI is available through AUR and can be installed using:
yay -S bito-cli
- Homebrew is another method for installation on Mac, following these steps:
- Tap the Bito CLI repository.
- Install using:
brew install bito-cli
Windows
- Installation on Windows is handled via an MSI installer. After installation, open a command prompt and type
bito
to start using Bito CLI.
Uninstallation
- For Mac and Linux, use:
sudo curl https://alpha.bito.ai/downloads/cli/uninstall.sh -fsSL | bash
- Windows users can uninstall Bito CLI through the Control Panel, similar to other software removals.
Usage and Commands
Basic Commands
bito --help
provides a list of available commands and usage options.- Slash Commands allow interaction with code indexes created in IDEs.
MyPrompt
A set of options to run automated tasks:
- Use command-line flags to specify tasks like version checks or prompt processing.
- Supports non-interactive mode for efficiency boosts in repetitive tasks.
Configuration
- Access key and configuration settings can be tailored using
bito config
. - The CLI supports a choice between BASIC and ADVANCED AI models depending on user needs.
Advanced Features
Comments and Macros
- Bito CLI supports comments within prompt files, marked by
#
, to enhance the user's ability to manage prompts effectively. - Customize command execution with macros like
{{%input%}}
.
Videos and Examples
For additional guidance, video tutorials are available to demonstrate the use of Bito CLI in practical scenarios, such as creating documentation or generating code.
Conclusion
Bito CLI is a versatile tool that brings AI directly into the command line, opening up new possibilities for automation and improved workflow efficiency. As this tool continues to develop, user feedback will be pivotal in shaping its future capabilities.