2 stable releases

new 1.1.1 Apr 28, 2025
1.0.11 Apr 25, 2025

#1766 in Command line utilities

Download history 2/week @ 2025-03-03 95/week @ 2025-04-21 143/week @ 2025-04-28

238 downloads per month

MIT license

25KB
447 lines

yo

Ask your terminal anything using AI (OpenAI or Ollama).

Features

  • Ask questions directly from your terminal using natural language
  • Supports both OpenAI and Ollama as AI backends
  • Simple CLI: use yo <question> or yo ask <question>
  • Easily configurable

Installation

Precompiled Binaries

Precompiled binaries for macOS, Linux, and Windows are available on the Releases page. Download the appropriate binary for your platform, extract it, and move it to a directory in your PATH.

Homebrew (macOS/Linux)

You can install yo using Homebrew:

brew tap montekkundan/yo https://github.com/montekkundan/yo.git
brew install montekkundan/yo/yo-bin

Cargo (Rust)

If you have Rust installed, you can install with Cargo:

cargo install yo

Build from Source

Clone the repository and build with Cargo:

git clone https://github.com/montekkundan/yo.git
cd yo
cargo install --path .

Or build and run directly:

cargo run -- <your question>

Usage

You can ask questions in two ways:

yo ask What is the capital of France?
# or simply
yo What is the capital of France?

Example

yo Summarize the Rust ownership model.

Configuration

The tool supports configuration for different AI backends (OpenAI, Ollama). See the documentation or run yo help for more details.

How to Push Changes to GitHub

To push your changes to GitHub, use the following steps:

git add .
git commit -m "changes here"
git tag v1.0.0   # necessary when new version is released
# replace v1.0.0 with the version you are releasing
git push
# To push tags as well:
git push --tags

Changelog

See CHANGELOG.md for a list of changes and version history.

License

MIT

Dependencies

~14–26MB
~371K SLoC