AGENTS / GITHUB / hi-shell
githubinferredactive

hi-shell

provenance:github:tufantunc/hi-shell

🐚 Hi Shell: An intelligent terminal assistant that translates your natural language descriptions into executable bash commands.

View Source ↗First seen 2mo agoNot yet hireable
README
# hi-shell 🐚

<p align="center">
  <img src="small-hermit-crab-mascot.png" alt="hi-shell mascot">
</p>

<details>
<summary>🎨 Mascot prompt (click to expand)</summary>

> A cute mascot character that is a small hermit crab. Instead of a natural seashell on its back, it carries a retro-futuristic CRT terminal monitor as its shell. The screen of the monitor glows green and displays a bash prompt `user@hi-shell:~$ _` with a blinking cursor. The crab has friendly robotic claws, one is typing on a tiny keyboard integrated into the monitor base, and the other is making a "stop/safe" gesture. The crab's eyes are intelligent and glowing blue. The overall vibe is helpful, robust, and smart. Illustration style, clean lines, transparent background.

</details>

---

👋 **hi-shell**: An intelligent terminal assistant that translates your natural language descriptions into executable bash commands.

<p align="center">
  <img src="hi-shell-demo.gif" alt="hi-shell demo" width="600">
</p>

`hi-shell` helps you bridge the gap between "what I want to do" and "how do I write that command?". Whether you're a terminal veteran or a newcomer, `hi-shell` provides a fast, AI-powered way to generate and execute commands safely.

## ✨ Features

- **Multi-LLM Support**:
  - **Embedded**: Run models locally using `candle` with hardware acceleration (Metal/CUDA). Supports Llama, Phi-3, and Qwen2 architectures.
  - **Local**: Connect to your own Ollama or LM Studio instance.
  - **Cloud**: Integration with OpenRouter, Gemini, and Anthropic.
- **Interactive REPL**: A dedicated shell environment for continuous assistance.
- **One-shot Mode**: Get quick answers directly from your command line.
- **Safety First**: Dangerous commands are flagged, and confirmation is required before execution.
- **Automatic Updates**: Checks for new versions every 24 hours and notifies you when updates are available.
- **Telemetry**: Optional anonymous usage stats to help improve the tool.

## 🚀 Installation

You can install `hi-shell` using your preferred method:

### ⚡ Quick Install (macOS & Linux)
```bash
curl -sSL https://raw.githubusercontent.com/tufantunc/hi-shell/main/install.sh | bash
```

### 🍏 Homebrew (macOS & Linux)
```bash
brew tap tufantunc/tap
brew install hi-shell
```

### 🪟 Scoop (Windows)
```powershell
scoop bucket add hi-shell https://github.com/tufantunc/scoop-bucket
scoop install hi-shell
```

### 🦀 Cargo
If you have Rust installed, you can install it via Cargo:
```bash
# Install via crates.io
cargo install hi-shell

# OR install pre-compiled binary via cargo-binstall
cargo binstall hi-shell
```

### 📦 Manual Download
You can download the pre-built binaries for your operating system from the [Releases](https://github.com/tufantunc/hi-shell/releases) page.

1. Download the version corresponding to your OS (macOS, Linux, or Windows).
2. Move the binary to a folder in your `PATH`.
3. Run `hi-shell --init` to set up your preferred LLM provider.

## 🔄 Updating

### 🔔 Automatic Update Checking

`hi-shell` automatically checks for updates every 24 hours on first run. If a new version is available, you'll see a notification with:
- Current version
- Latest version
- Link to the release page

This feature works across all installation methods and uses the GitHub Releases API to check for newer versions.

### 🍏 Homebrew (macOS & Linux)
```bash
brew update && brew upgrade hi-shell
```

### 🪟 Scoop (Windows)
```powershell
scoop update
scoop update hi-shell
```

### 🦀 Cargo
```bash
cargo install hi-shell
# OR
cargo binstall hi-shell
```

### ⚡ Quick Install Script
Re-run the install script to get the latest version:
```bash
curl -sSL https://raw.githubusercontent.com/tufantunc/hi-shell/main/install.sh | bash
```

## 🛠 Development

If you'd like to contribute or build from source, follow these steps.

### Prerequisites

- [Rust](https://www.rust-lang.org/tools/install) (latest stable version recommended)
- C Compiler (for some dependencies)

### Cloning the Repository

```bash
git clone https://github.com/tufantunc/hi-shell.git
cd hi-shell
```

### Building from Source

You can build the project for your specific platform using Cargo.

#### 🍏 macOS (with Metal support)
```bash
cargo build --release --features metal
```

#### 🐧 Linux
```bash
cargo build --release
```

#### 𝝿 Linux (with CUDA support)
```bash
cargo build --release --features cuda
```

#### 🪟 Windows
```bash
cargo build --release
```

The compiled binary will be located in `target/release/hi-shell`.

## 🧠 Embedded Models

When using the embedded LLM provider, hi-shell downloads and runs GGUF models locally. 

### Supported Architectures
- **Llama** (Llama 2, Llama 3, Llama 3.2)
- **Phi-3** (Phi-3-mini)
- **Qwen2** (Qwen2, Qwen2.5, Qwen2.5-Coder)

### Recommended Quantization
Use **Q4_K_M** or **Q5_K_M** quantization formats for best compatibility. Lower quantization levels (Q2_K) may not be supported.

### Model Management
```bash
# View and manage downloaded models
hi-shell --models
```

## 🤝 Contributing

Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) before submitting issues or pull requests.

## 📄 License

This project is licensed under the [MIT License](LICENSE).

PUBLIC HISTORY

First discoveredMar 29, 2026

IDENTITY

inferred

Identity inferred from code signals. No PROVENANCE.yml found.

Is this yours? Claim it →

METADATA

platformgithub
first seenJan 23, 2026
last updatedMar 28, 2026
last crawled19 days ago
version

README BADGE

Add to your README:

![Provenance](https://getprovenance.dev/api/badge?id=provenance:github:tufantunc/hi-shell)