Troubleshooting
Solutions to common problems with lla including installation issues, display problems, performance concerns, and plugin troubleshooting.
Troubleshooting Guide
Having issues with lla? This guide covers common problems and their solutions. If you don't find your issue here, check the FAQ or open an issue.
Installation Issues
"command not found" After Installation
Symptom: Running lla
shows "command not found"
Cause: The installation directory isn't in your PATH
Solution:
# Check where lla is installed
which lla
# If not found, try these locations
ls /usr/local/bin/lla
ls ~/.cargo/bin/lla
# Add to PATH temporarily
export PATH="/usr/local/bin:$PATH"
# Add to PATH permanently (bash)
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
# Add to PATH permanently (zsh)
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
# Add to PATH permanently (fish)
fish_add_path /usr/local/bin
Permission Denied
Symptom: "Permission denied" when trying to run lla
Cause: Binary doesn't have execute permissions
Solution:
# Add execute permission
chmod +x /usr/local/bin/lla
# If you need sudo
sudo chmod +x /usr/local/bin/lla
# Verify permissions
ls -l /usr/local/bin/lla
# Should show: -rwxr-xr-x
Installation Script Fails
Symptom: curl command fails or script errors out
Common causes and solutions:
-
Network issues:
# Try with verbose output curl -v -sSL https://raw.githubusercontent.com/chaqchase/lla/main/install.sh | bash # Or download first, then run curl -sSL https://raw.githubusercontent.com/chaqchase/lla/main/install.sh > install.sh bash install.sh
-
Checksum verification failed:
# Clear any partial downloads rm -f /tmp/lla-* # Try again curl -sSL https://raw.githubusercontent.com/chaqchase/lla/main/install.sh | bash
-
Insufficient permissions:
# The script may need sudo for /usr/local/bin curl -sSL https://raw.githubusercontent.com/chaqchase/lla/main/install.sh | sudo bash
Build from Source Fails
Symptom: cargo build
or cargo install
fails
Common causes:
-
Outdated Rust version:
# Update Rust rustup update # Check version (needs 1.70+) rustc --version
-
Missing dependencies (Linux):
# Ubuntu/Debian sudo apt-get install build-essential pkg-config libssl-dev # Fedora/RHEL sudo dnf install gcc openssl-devel # Arch sudo pacman -S base-devel openssl
-
Out of disk space:
# Check available space df -h # Rust builds can use several GB # Clean up old builds cargo clean
Display Issues
Icons Not Showing
Symptom: File icons appear as squares, question marks, or missing characters
Cause: Terminal doesn't have a Nerd Font installed
Solution:
-
Install a Nerd Font:
- Visit nerdfonts.com
- Download a font (recommended: FiraCode, JetBrainsMono, or Hack)
- Install on your system:
# macOS cp *.ttf ~/Library/Fonts/ # Linux cp *.ttf ~/.local/share/fonts/ fc-cache -f -v # Windows # Right-click font files and select "Install"
-
Configure your terminal:
- Open terminal preferences
- Set font to the installed Nerd Font
- Restart terminal
-
Temporary workaround:
# Disable icons lla --no-icons # Or set in config lla config --set show_icons false
Colors Look Wrong
Symptom: Colors don't match your theme or look strange
Possible causes and solutions:
-
Terminal color settings:
- Check terminal's color scheme
- Ensure terminal supports 256 colors or truecolor
- Test:
echo $TERM
(should be xterm-256color or similar)
-
Try a different lla theme:
lla theme # Interactive selector lla theme pull # Download all built-in themes
-
Disable colors temporarily:
lla --no-colors
-
Check theme conflicts:
# View current theme lla config # Try the default theme lla config --set theme default
Corrupted or Garbled Output
Symptom: Output shows weird characters or is misaligned
Possible causes:
-
Terminal encoding issues:
# Check encoding echo $LANG # Should be UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8
-
Terminal size detection:
# Check terminal size echo $COLUMNS x $LINES # Force recalculation resize
-
Terminal compatibility:
# Try with basic output lla --no-icons --no-colors # Some terminal emulators have better Unicode support: # - Alacritty # - Kitty # - iTerm2 (macOS) # - Windows Terminal (Windows)
Grid/Table Layout Issues
Symptom: Grid or table view doesn't fit terminal width
Solution:
# For grid view
lla -g --grid-ignore # Ignore terminal width
lla config --set formatters.grid.ignore_width true
# For table view
lla -T # Should auto-adjust
Performance Issues
Slow on Large Directories
Symptom: lla takes a long time to list directories with many files
Solutions:
-
Adjust performance limits:
# In ~/.config/lla/config.toml [formatters.tree] max_lines = 10000 # Reduce from 20000 [listers.recursive] max_entries = 10000 # Reduce from 20000
-
Disable expensive operations:
# Don't calculate directory sizes lla -l # Instead of lla -l --include-dirs # Limit tree depth lla -t -d 2 # Instead of unlimited depth # Use filters to reduce output lla -f ".rs" # Only .rs files
-
Disable unused plugins:
lla use # Disable plugins you don't need # Or disable all for testing lla --disable-all-plugins
-
Optimize for your use case:
# Fast overview lla # Default view is fastest # Detailed info only when needed lla -l # Long format when necessary
Git Status is Slow
Symptom: -G
flag makes lla very slow
Cause: Git status checks can be expensive in large repositories
Solutions:
-
Use Git view only when needed:
# Regular listing (fast) lla # Git view (slower, when needed) lla -G
-
Check repository size:
git status # If this is slow, lla's Git view will be too
-
Optimize Git repository:
git gc # Garbage collection git prune # Remove unnecessary files
-
Exclude large directories:
# In ~/.config/lla/config.toml exclude_paths = [ "~/large-repo/node_modules", "~/large-repo/target" ]
High Memory Usage
Symptom: lla uses excessive memory
Common causes:
-
Very large directories:
- Use pagination:
lla | less
- Use filters to reduce output
- Increase system limits if needed
- Use pagination:
-
Memory leak (rare):
- Update to latest lla version
- Report the issue with details
Plugin Issues
Plugins Not Loading
Symptom: Plugins don't appear in lla --version
or don't work
Diagnostic steps:
# 1. Check plugin directory
ls ~/.config/lla/plugins/
# 2. Check plugin permissions
ls -l ~/.config/lla/plugins/
# 3. Try loading plugins explicitly
lla --enable-plugin plugin_name
# 4. Check for errors
lla clean # Remove invalid plugins
Common issues:
-
Wrong file extension:
- Linux: must be
.so
- macOS: must be
.dylib
- Windows: must be
.dll
- Linux: must be
-
Wrong location:
# Check configured plugin directory lla config | grep plugins_dir # Default is ~/.config/lla/plugins/
-
Missing dependencies:
# Rebuild plugin cd plugin-directory cargo build --release cp target/release/lib*.so ~/.config/lla/plugins/
Plugin Crashes or Errors
Symptom: lla crashes when using a plugin, or plugin shows errors
Solutions:
-
Disable problematic plugin:
lla --disable-plugin plugin_name
-
Update plugin:
lla update plugin_name
-
Reinstall plugin:
lla install --git https://github.com/user/plugin-repo
-
Check plugin logs:
# Many plugins log to stderr lla 2>&1 | tee lla-debug.log
-
Report to plugin author:
- Include lla version:
lla --version
- Include plugin version
- Describe the error
- Share error logs
- Include lla version:
Plugin Installation Fails
Symptom: lla install
fails
Common causes:
-
Rust not installed:
# Install Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Build error:
# Install manually to see full error git clone https://github.com/user/plugin-repo cd plugin-repo cargo build --release # Check error messages
-
Network issues:
# Check connectivity curl -I https://github.com # Try direct installation lla install --dir /path/to/plugin
Configuration Issues
Configuration Not Loading
Symptom: Changes to config don't take effect
Solutions:
-
Verify config location:
# Should be ~/.config/lla/config.toml ls -l ~/.config/lla/config.toml # View current config lla config
-
Check syntax:
# TOML syntax errors prevent loading # Validate your config cat ~/.config/lla/config.toml
-
Regenerate config:
# Backup current config cp ~/.config/lla/config.toml ~/.config/lla/config.toml.backup # Regenerate lla init # Manually merge your changes
-
Command-line flags override config:
# Config says show_icons = false # But this still shows icons: lla --icons
Theme Not Applying
Symptom: Theme changes don't appear
Solutions:
-
Verify theme exists:
ls ~/.config/lla/themes/ # Pull built-in themes lla theme pull
-
Check theme name in config:
# Should match filename without .toml theme = "dark" # For dark.toml
-
Try interactive selector:
lla theme
-
Validate theme file:
# Check for TOML syntax errors cat ~/.config/lla/themes/your-theme.toml
Fuzzy Search Issues
Fuzzy Search Not Working
Symptom: lla --fuzzy
doesn't start or crashes
Requirements:
- lla version 0.2.0 or later
- Terminal with sufficient size (min 80x24)
- Working terminal input
Solutions:
-
Check version:
lla --version # Must be 0.2.0+
-
Check terminal size:
echo $COLUMNS x $LINES # Should be large enough
-
Test in smaller directory:
cd /tmp mkdir test-fuzzy cd test-fuzzy touch file1 file2 file3 lla --fuzzy
-
Terminal compatibility:
- Some terminals have better support
- Try: Alacritty, Kitty, iTerm2, Windows Terminal
Archive Listing Issues
Archives Not Listing
Symptom: lla archive.zip
doesn't work
Solutions:
-
Verify archive format support:
- Supported: .zip, .tar, .tar.gz, .tgz
- Not supported yet: .rar, .7z, .bz2
-
Check archive integrity:
# Test archive unzip -t archive.zip # or tar -tzf archive.tar.gz
-
Permissions:
# Ensure archive is readable ls -l archive.zip chmod +r archive.zip
Content Search Issues
Search Not Finding Results
Symptom: --search
doesn't find expected results
Solutions:
-
Check search pattern:
# Default is literal search lla --search "main()" # Literal # Use regex: prefix for patterns lla --search "regex:main.*\("
-
Case sensitivity:
# Default is case-insensitive lla --search "Test" # Finds test, TEST, Test # Use --case-sensitive for exact case lla --search "Test" --case-sensitive
-
Check file filters:
# Make sure you're searching the right files lla --search "pattern" --files-only lla --search "pattern" -f ".rs"
-
Binary files:
- Content search skips binary files by default
- Use file filters to search specific file types
Getting More Help
Enable Debug Output
# Set debug level
export RUST_LOG=debug
lla
# Or just for lla
RUST_LOG=debug lla
Collect Diagnostic Information
When reporting issues, include:
# 1. lla version and plugin info
lla --version
# 2. System information
uname -a
# 3. Config
lla config
# 4. Rust version (if relevant)
rustc --version
# 5. Error output
lla 2>&1 | tee error.log
Report a Bug
If you've tried these solutions and still have issues:
- Check if it's a known issue: GitHub Issues
- Create a new issue with:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Diagnostic information (above)
- Screenshots if relevant
Get Community Help
- GitHub Discussions: Ask questions and share solutions
- Issue Tracker: Report bugs and request features
- Documentation: Check other guides and references
Still stuck? Open an issue on GitHub with full diagnostic information.