AI-powered Linux assistant — fix any Linux problem in plain English
pip install tuxgenie==7.26.0 Copy PIP instructions
Your wish is my command. AI-powered Linux assistant — fix any problem in plain English.
████████╗██╗ ██╗██╗ ██╗ ██████╗ ███████╗███╗ ██╗██╗███████╗ ██╔══╝██║ ██║╚██╗██╔╝██╔════╝ ██╔════╝████╗ ██║██║██╔════╝ ██║ ██║ ██║ ╚███╔╝ ██║ ███╗█████╗ ██╔██╗ ██║██║█████╗ ██║ ██║ ██║ ██╔██╗ ██║ ██║██╔══╝ ██║╚██╗██║██║██╔══╝ ██║ ╚██████╔╝██╔╝ ██╗╚██████╔╝███████╗██║ ╚████║██║███████╗ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚═╝╚══════╝ TuxGenie — Free AI (Gemini · Groq · Z.ai · …) or Claude · Open Source What is TuxGenie? TuxGenie is your AI co-pilot for Linux. Describe any problem in plain English and TuxGenie will diagnose it, explain what's wrong, and fix it — step by step, with your approval at every stage.
No more Googling error messages. No more copying random commands from Stack Overflow. Just tell TuxGenie what's wrong.
$ tuxgenie TuxGenie > my nginx won't start after I edited the config ✦ Step 1 [SAFE] Check nginx config for syntax errors nginx -t Run this step? [y/n/skip/abort]: y nginx: [emerg] unexpected "}" in /etc/nginx/nginx.conf:42 nginx: configuration file /etc/nginx/nginx.conf test failed ✦ Step 2 [SAFE] Show the problem line in context sed -n '38,46p' /etc/nginx/nginx.conf Run this step? [y/n/skip/abort]: y ✦ Step 3 [MODERATE] Fix the missing semicolon on line 41 ... Install Any Linux distro (recommended) curl -fsSL https://tuxgenie.com/install.sh | bash Detects your package manager (apt / dnf / pacman / zypper / apk), installs the .deb on Debian-family systems, or the release wheel / PyPI package everywhere else.
# Download the latest .deb from GitHub Releases, then: sudo dpkg -i tuxgenie_*_all.deb Download latest .deb →
pip install tuxgenie # or: python3 -m pip install --user --upgrade tuxgenie From source git clone https://github.com/ramchandragada/tuxgenie.git cd tuxgenie pip install . Which distros are supported? TuxGenie is built for every Linux user. It detects your package manager (apt, dnf, pacman, zypper, apk, …), adapts first-run setup and catalogs, and u self-update works for both .deb and pip installs.
On first launch TuxGenie asks which AI you'd like to use (Gemini is the default — just press Enter):
You can also set a key via environment variable and skip the prompt:
export GEMINI_API_KEY="..." # Google Gemini (free tier) # or export GROQ_API_KEY="gsk_..." # Groq (free tier) # or export ZAI_API_KEY="..." # Z.ai GLM Flash (free) # or export SAMBANOVA_API_KEY="..." # SambaNova (free tier) # or export OPENROUTER_API_KEY="sk-or-..." # OpenRouter (free tier) # or export ANTHROPIC_API_KEY="sk-ant-..." # Claude tuxgenie Switch providers anytime from Settings → Switch AI provider. Terminal commands (apt, systemctl, …) run without any key — always free.
Auto-switch on limits: if you add keys for more than one free provider (Gemini, Groq, Z.ai, SambaNova, OpenRouter), TuxGenie automatically rotates between them when a free tier hits its rate limit — so a task never stalls. It never auto-switches to paid Claude (no surprise charges). Toggle it in Settings → Auto-switch on limits.
You never have to pick a number — just type what you need in plain English. But every capability also has a menu entry:
🧭 Guided setups — get your PC ready for how you actually use it
Not sure which one? Type suggest (or 39) — answer one plain-English question and TuxGenie takes you straight into the right setup.
TuxGenie never changes your system without your OK.
Dangerous commands are hard-blocked regardless of what the AI says — and the filter reasons about the actual command, not just text patterns, so reorderings and disguises are caught too:
Ordinary work under your home directory (rm -rf ~/project/node_modules, writing a disk image to a file, chmod -R on your own app) is not blocked.
Power users: prefer the old fully-autonomous flow? Turn on Settings → Auto-approve to run AI commands without the per-step prompt (genuinely dangerous commands are still blocked).
When you update with u, the downloaded .deb is checked for completeness and verified against the release's published SHA-256 digest before installation — a corrupted or tampered download is refused, never installed.
The anthropic Python package is installed automatically on first run if missing (only needed for Claude; the Gemini backend uses the standard library).
TuxGenie has no backend, no telemetry, no analytics, and no accounts — nothing is sent anywhere unless you run an AI task, and then only to the provider you chose. Your API key is stored locally (chmod 600) and your sudo password is never saved or sent. Full, plain-English details in PRIVACY.md.
You describe the problem │ ▼ System context collected silently (OS, kernel, services, logs…) │ ▼ AI provider (Gemini / Groq / Z.ai / … / Claude) → structured fix plan with risk levels │ ▼ Each step shown with risk badge — you approve or skip │ ▼ Command output fed back to the AI │ ▼ The AI iterates (up to 25 rounds) until resolved One-shot mode # Skip the menu — go straight to fixing tuxgenie "docker containers can't reach the internet" tuxgenie "my SSH connection keeps dropping" tuxgenie "cron job not running" Dedicated to Linus Torvalds TuxGenie is dedicated to Linus Torvalds — creator of the Linux kernel, the greatest gift ever given to computing. His work powers servers, supercomputers, smartphones, satellites, and the entire modern internet.
MIT — free to use, modify, and share forever.
Built with love by Aspera Technologies Pte Ltd.
linux ai assistant claude terminal troubleshooter sysadmin
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




