Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1011 committed Sep 7, 2024
1 parent df0470e commit 36c55ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ A Rust-based CLI tool that generates and executes terminal commands using OpenAI
```
export PATH="$PATH:/path/to/llm-term"
```
- To set it permanently, add `export PATH="$PATH:/path/to/llm-term"` to your shell configuration file (e.g., `.bashrc`, `.zshrc`)
- Windows:
```
set PATH="%PATH%;C:\path\to\llm-term"
```
- To set it permanently, add `set PATH="%PATH%;C:\path\to\llm-term"` to your shell configuration file (e.g., `$PROFILE`)
## Development
Expand All @@ -42,11 +44,13 @@ A Rust-based CLI tool that generates and executes terminal commands using OpenAI
```
export OPENAI_API_KEY="sk-..."
```
- Windows:
```
set OPENAI_API_KEY="sk-..."
```
2. If using Ollama, make sure it's running locally on the default port (11434)
3. Run the application with a prompt:
Expand Down

0 comments on commit 36c55ca

Please sign in to comment.