pip install tagmanager-cli# Clone the repository
git clone https://github.com/davidtbilisi/TagManager.git
cd TagManager
# Install directly
pip install .
# Or build and install
pip install build
python -m build
pip install dist/tagmanager_cli-1.0.0-py3-none-any.whl# Clone and install in development mode
git clone https://github.com/davidtbilisi/TagManager.git
cd TagManager
pip install -e .- Python 3.7+ (Python 3.8+ recommended)
- UTF-8 compatible terminal (most modern terminals)
TagManager automatically installs these dependencies:
typer>=0.9.0- Modern CLI frameworkrich>=10.0.0- Beautiful terminal output
After installation, verify TagManager is working:
# Test the main command
tm --help
# Or use the full name
tagmanager --help
# Test basic functionality
tm statsYou should see the TagManager help menu with all available commands.
TagManager provides two command aliases:
tm- Short and convenient for daily usetagmanager- Full name for clarity
Both commands are identical in functionality.
TagManager creates its configuration automatically on first run:
- Config file:
~/.tagmanager/config.ini - Tag database:
~/.tagmanager/file_tags.json
# Add tags to a file
tm add document.pdf --tags work important project-x
# Search for files
tm search --tags work
# View all files in a tree
tm ls --tree
# Get statistics
tm stats --chart
# Bulk operations
tm bulk add "*.py" --tags python code
# Smart filtering
tm filter duplicatesTo update TagManager to the latest version:
pip install --upgrade tagmanager-cliTo remove TagManager:
pip uninstall tagmanager-cliNote: This will not remove your tag database or configuration files. To completely remove all data:
# Remove the package
pip uninstall tagmanager-cli
# Remove data (optional)
rm -rf ~/.tagmanager/ # Linux/macOS
rmdir /s %USERPROFILE%\.tagmanager # Windows- Command not found: Ensure Python's Scripts directory is in your PATH
- Permission errors: Use
pip install --user tagmanager-clifor user installation - Import errors: Ensure you have Python 3.7+ and all dependencies installed
If you encounter issues:
- Check the GitHub Issues
- Run
tm --helpfor command documentation - Create a new issue with your error details
After installation, check out:
- README.md - Full feature documentation
- Examples - Real-world usage examples
- Advanced Features - Power user features
Happy tagging! π·οΈ