Skip to content

Welcome to pjt

🚀 Welcome to pjt

Powerful cross-platform CLI tool for maintaining clean Git repositories

Get startedDocumentationGitHub


pjt helps you maintain your Git repositories clean and up-to-date with powerful automation:

  • 🗂️ Removing empty directories: Automatically cleans empty folders
  • 🚫 Cleaning ignored files: Removes files ignored by .gitignore
  • 📦 Managing dependencies: Reinstalls dependencies for npm, pnpm and yarn
  • 🌐 Cross-Platform: Runs on Windows, macOS and Linux
  • Fast and efficient: Optimized for performance
  • 🔧 Configurable: Customize ESLint and Prettier configurations
  • 📊 Detailed logging: Track what happens during cleaning
  • Node.js >= 18.0.0

Install pjt globally using your favorite package manager:

Terminal window
# npm
npm install -g pjt
# pnpm
pnpm add -g pjt
# yarn
yarn global add pjt

Navigate to your Git repository and run:

Terminal window
pjt

That’s it! pjt will automatically clean your repository and reinstall dependencies.

pjt is built with TypeScript and consists of several key modules:

  • CLI Interface: Main command line entry
  • ESLint Configurations: Customizable ESLint rules
  • Prettier Configurations: Code formatting
  • Core Utilities: Git operations, file system, logging

Stevan Pavlovic

Contributions, issues and feature requests are welcome!

If this project helped you, please give ⭐️ on GitHub!

Copyright © 2025 Stevan Pavlovic.
This project is MIT licensed.