A beautiful terminal-based package manager for Arch Linux that searches both official repositories and the AUR, with keyboard shortcut support.
- π Search official Arch repositories with instant results
- β‘ Lightning-fast local filtering - no lag, no waiting
- π€ Case-insensitive search with exact letter matching
- β¨οΈ Keyboard-driven terminal interface
- π¦ One-keypress package installation
- π Full package details display (description, dependencies, licenses, etc.)
- πΎ Smart caching - package details loaded once and cached
- π Real-time installation output streaming
- π¨ Clean TUI with colored output
- π Scrollable package details panel
- πͺ Window manager integration with floating, centered terminal window
- π Proper Arch Linux package installation support
- Python 3.8+
- Arch Linux
yay(for AUR support - optional)- A terminal emulator (default: kitty)
-
Clone or download this repository:
git clone https://github.com/Web-Dev-Codi/arch-package-manager cd arch-package-manager -
Build and install the package:
makepkg -si
This will:
- Install all dependencies automatically
- Install
aur-tuisystem-wide to/usr/bin/aur-tui - Create a desktop entry for keyboard shortcuts
- Set up proper file permissions
-
Verify installation:
which aur-tui aur-tui --help # Should launch the TUI
-
Run the installation script:
git clone https://github.com/Web-Dev-Codi/arch-package-manager cd arch-package-manager chmod +x install.sh ./install.shThis will:
- Install Python dependencies
- Create the
aur-tuiexecutable in~/.local/bin - Add
~/.local/binto your PATH (if needed) - Create a desktop entry for keyboard shortcuts
-
If
aur-tuicommand is not found:export PATH="$HOME/.local/bin:$PATH" # Or restart your terminal
sudo INSTALL_METHOD=system ./install.shThis installs aur-tui to /usr/bin/aur-tui system-wide.
- From terminal: Run
aur-tui - Using desktop entry: Launch "AUR TUI" from your application menu
- Using keyboard shortcut: Configure a keybinding (see Configuration section)
- Search: Start typing package name (minimum 2 characters)
- Navigate: Use
βandβarrow keys to browse results - View Details: See full package information in the details panel
- Scroll Details: Use
Page Up/Page Downto scroll through package details - Install: Press
Enteron selected package - Watch: See real-time installation output
- Close: Press
Escto exit
- Type - Search packages in real-time
- β / β / j / k - Navigate package list
- Page Up / Page Down - Scroll package details panel
- Enter - Install selected package
- Backspace - Delete search characters
- Esc / q - Exit application
Edit ~/.config/hypr/bindings.conf:
bind = $mainMod, P, exec, aur-tui
# Or use the launch script for window management:
bind = $mainMod, P, exec, /usr/lib/aur-tui/launch.sh
For window rules, edit ~/.config/hypr/windowrules.conf:
windowrulev2 = size 1000 700, class:^(aur-tui-manager)$
windowrulev2 = float, class:^(aur-tui-manager)$
windowrulev2 = center, class:^(aur-tui-manager)$
Edit ~/.config/i3/config:
bindsym $mod+p exec aur-tui
Edit ~/.config/sway/config:
bindsym $mod+p exec aur-tui
Edit ~/.config/sxhkd/sxhkdrc:
super + p
aur-tui
The desktop entry (aur-tui.desktop) allows you to set keyboard shortcuts through your desktop environment's settings (GNOME, KDE, XFCE, etc.).
Edit launch.sh:
TERMINAL="${TERMINAL:-kitty}"Change kitty to your preferred terminal (e.g., alacritty, foot, wezterm).
- Ensure
~/.local/binis in your PATH:echo $PATH | grep local - Add to PATH:
export PATH="$HOME/.local/bin:$PATH"(add to~/.bashrcor~/.zshrc) - Or reinstall using PKGBUILD method for system-wide installation
- Install dependencies:
pip install rich requests - Or reinstall using the install script:
./install.sh - For system-wide:
sudo pacman -S python-rich python-requests
- Install
yay:sudo pacman -S yay(or from AUR manually) - Check
yayis in your PATH:which yay - Verify yay works:
yay -V
- Ensure Hyprland configuration is loaded:
hyprctl reload - Check window rules are applied:
hyprctl clients | grep aur-tui-manager - Verify terminal is launching with correct class: check
launch.sh - Update window class in
launch.shif needed
- Ensure you have sudo privileges
- You'll be prompted for password during installation (this is normal)
- For AUR packages, ensure
yayis installed - Check pacman database is up to date:
sudo pacman -Sy
- Check your terminal emulator is installed:
which kitty - Change terminal in
launch.shif needed:TERMINAL=alacritty ./launch.sh - Or set environment variable:
export TERMINAL=your-terminal
- Verify
aur-tuicommand works:which aur-tui && aur-tui --version - Check desktop entry exists:
ls ~/.local/share/applications/aur-tui.desktopor/usr/share/applications/aur-tui.desktop - For window managers, ensure config is reloaded
- For desktop environments, check keyboard shortcuts in settings
This app requires sudo access to install packages. For automatic installation without password prompts, you may need to configure sudoers. Use with caution:
# Add to /etc/sudoers (use visudo):
your_username ALL=(ALL) NOPASSWD: /usr/bin/pacmanAlternatively, you'll be prompted for your password during installation.
MIT License - Feel free to modify and distribute.