# fixmint for the command line

> 20 of the fixes in one small program for Windows, macOS and Linux. It works offline, and your files never leave your computer.

- Page: https://fixmint.cc/cli
- Version 1.1.1, released 2026-11-18
- Downloads, .deb packages and SHA256SUMS: https://fixmint.cc/dl/

## Install

On macOS and Linux, in a terminal:

    curl -fsSL https://fixmint.cc/dl/install.sh | sh

On Windows, in PowerShell:

    irm https://fixmint.cc/dl/install.ps1 | iex

On Debian and Ubuntu, download the .deb package from the page and install it; it puts fixmint in /usr/bin, and sudo apt remove fixmint removes it again.

## Safe by default

- It never changes your original files: results are saved next to the originals with a suffix such as -small or -clean, and an existing file is replaced only when you add --force.
- batch-rename-files shows its plan first and renames only with --apply.
- No network connections, no telemetry, no settings files.

## Commands (20)

- `compress-image` (or `compress`): Shrink photos to a size limit, like the 200 KB a form asks for. Example: `fixmint compress-image photo.jpg --max 200KB`
- `resize-image` (or `resize`): Resize to a width, a height or a percentage, keeping the shape. Example: `fixmint resize-image *.jpg --width 1600`
- `convert-image` (or `convert`): Turn WebP, PNG, BMP, TIFF or GIF into JPG or PNG. Example: `fixmint convert-image logo.webp --to png`
- `remove-photo-location` (or `strip`): Remove GPS location and camera details without re-saving the photo. Example: `fixmint remove-photo-location IMG_2041.jpg`
- `images-to-pdf` (or `img2pdf`): Put photos or scans into one PDF, one page each. Example: `fixmint images-to-pdf scan-*.jpg --page a4 -o receipts.pdf`
- `find-duplicate-files` (or `dupes`): Find files with the same content, whatever their names. Example: `fixmint find-duplicate-files ~/Pictures ~/Downloads`
- `batch-rename-files` (or `rename`): Rename many files with a pattern. Shows the plan first. Example: `fixmint batch-rename-files *.jpg --pattern "trip-{n:3}{ext}"`
- `folder-size-analyzer` (or `du`): See which folders take the space, as bars. Example: `fixmint folder-size-analyzer ~/Downloads`
- `file-type-checker` (or `filetype`): Tell what a file really is, whatever its extension says. Example: `fixmint file-type-checker download.pdf`
- `split-file` (or `split`): Cut a big file into parts for email limits, and join them again. Example: `fixmint split-file video.mp4 --size 25MB`
- `word-counter` (or `wc`): Words, characters, sentences and reading time. Example: `fixmint word-counter essay.txt`
- `case-converter` (or `case`): UPPER, lower, Title, camelCase, snake_case and more. Example: `fixmint case-converter --to snake "Monthly Report Total"`
- `remove-duplicate-lines` (or `dedupe`): Drop repeated lines and keep the order. Example: `fixmint remove-duplicate-lines emails.txt`
- `json-formatter` (or `json`): Format, minify or check JSON, with the exact spot of an error. Example: `fixmint json-formatter data.json`
- `csv-to-json` (or `csv2json`): Turn a CSV file into JSON, with numbers kept as numbers. Example: `fixmint csv-to-json contacts.csv --types`
- `base64-encode-decode` (or `b64`): Encode or decode Base64, for text or any file. Example: `fixmint base64-encode-decode -d token.txt`
- `hash-generator` (or `hash`): SHA-256, SHA-1, MD5 and SHA-512 checksums, and checking them. Example: `fixmint hash-generator --check SHA256SUMS`
- `password-generator` (or `pw`): Strong passwords or passphrases from secure random numbers. Example: `fixmint password-generator --length 24 --count 3`
- `uuid-generator` (or `uuid`): Random UUIDs, version 4 or time-ordered version 7. Example: `fixmint uuid-generator --v7 --count 5`
- `qr-code-generator` (or `qr`): A QR code in the terminal, or saved as PNG or SVG. Example: `fixmint qr-code-generator https://fixmint.cc -o fixmint.png`

Every command has its own help: `fixmint help compress-image`. For coding assistants: https://fixmint.cc/mcp
