Crates.io | claude_cli |
lib.rs | claude_cli |
version | 0.1.3 |
source | src |
created_at | 2023-12-29 15:57:55.942969 |
updated_at | 2024-01-02 14:21:55.345697 |
description | Rust CLI to interact with Anthropic's Language model (Claude) in the terminal |
homepage | |
repository | https://github.com/ghannay10/claude-cli |
max_upload_size | |
id | 1083441 |
size | 1,345,126 |
Claude CLI is a command-line interface tool written in Rust that allows you to interact with Anthropic's language model (Claude) directly in your terminal.
Before using Claude CLI, make sure you have the following prerequisites:
CLAUDE_API_KEY
environment variable): export CLAUDE_API_KEY=<api-key>
To use Claude CLI, clone the repository and build the project using the following command:
cargo install claude_cli
claude
claude '<query here>'
claude '''turn this into a python function:
fn print_hello_world() {
println!("Hello, World!");
}
'''