https://github.com/amiandevsec/lgpt
Lgpt (Linux GPT) — A command-line interface that leverages LLMs like Gemini, DeepSeek, and others to simplify and enhance Linux terminal usage. Execute commands, get explanations, and automate workflows using natural language.
https://github.com/amiandevsec/lgpt
deepseek gemini lgpt linux-gpt llama perplexity python tgpt
Last synced: 3 months ago
JSON representation
Lgpt (Linux GPT) — A command-line interface that leverages LLMs like Gemini, DeepSeek, and others to simplify and enhance Linux terminal usage. Execute commands, get explanations, and automate workflows using natural language.
- Host: GitHub
- URL: https://github.com/amiandevsec/lgpt
- Owner: AmianDevSec
- License: gpl-3.0
- Created: 2025-06-22T18:00:26.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-07-01T22:10:01.000Z (3 months ago)
- Last Synced: 2025-07-01T23:21:18.319Z (3 months ago)
- Topics: deepseek, gemini, lgpt, linux-gpt, llama, perplexity, python, tgpt
- Language: Python
- Homepage:
- Size: 1020 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Linux GPT (lgpt)
[](https://github.com/AmianDevSec/Lgpt/releases/latest)
**Lgpt (Linux GPT)** is a lightweight command-line tool that simplifies your Linux terminal experience by integrating powerful large language models (LLMs) — all **without needing API keys**.
## Supported Providers (No API Keys Required)
Lgpt currently supports these providers to process your queries:
* [Deepseek](https://www.deepseek.com/)
* [llama](https://www.ollama.com/)
* [Gemini](https://gemini.google.com)
* [Perplexity](https://www.perplexity.ai)---
## Usage
Run `lgpt` followed by your query or options:
```bash
Usage: lgpt [-h] [--model {perplexity, gemini, deepseek, llama}] [-u UPDATE] [-v] [prompt ...]Lgpt — Command-line interface for querying large language models (LLMs) on Linux.
Positional arguments:
prompt Your input query or command for the model.Optional arguments:
-h, --help Show this help message and exit.
--model Choose model {perplexity, gemini, deepseek, llama}. Default is deepseek.
-u UPDATE, --update UPDATE
Update lgpt to the latest version.
-v, --version Show current lgpt version.
````**Example:**
```bash
lgpt --model perplexity "How to update my system packages?"
```---
## Installation
### GNU/Linux
By default, `lgpt` installs to `/usr/local/bin`. You can change this location as needed but ensure it’s in your system’s `$PATH` for easy use.
Run the following command to install:
```bash
curl -sSL https://raw.githubusercontent.com/AmianDevSec/Lgpt/main/install.sh | bash -s /usr/local/bin
```After installation, verify by running:
```bash
lgpt --version
```---
## Uninstallation
If installed via the install script, remove the executable with:
```bash
sudo rm $(which lgpt)
```---
## Contribution & Support
Feel free to open issues or submit pull requests on the [GitHub repository](https://github.com/AmianDevSec/Lgpt). Contributions and feedback are welcome!
---
## License
This project is licensed under the GPLv3 License. See the [LICENSE](LICENSE) file for details.
---
This project was inspired by Terminal GPT(tgpt)
```