Command-line tool
squashfs
brew/squashfs
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Compressed read-only file system for Linux
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop bucket add extras; scoop install extras/squashfs-tools
macOS
brew install squashfs
Linux
brew install squashfs
Create or append files and directories to a squashfs filesystem (compressed using `gzip` by default)
mksquashfs path/to/file_or_directory1 path/to/file_or_directory2 ... filesystem.squashfs
Create or append files and directories to a squashfs filesystem, using a specific [comp]ression algorithm
mksquashfs path/to/file_or_directory1 path/to/file_or_directory2 ... filesystem.squashfs -comp gzip
Create or append files and directories to a squashfs filesystem, [e]xcluding some of them
mksquashfs path/to/file_or_directory1 path/to/file_or_directory2 ... filesystem.squashfs -e file
Related command-line tools
- dwarfs
Fast high compression read-only file system for Linux, Windows, and macOS - tup
A file-based build system for Linux, OSX, and Windows. - logrotate
Rotates, compresses, and mails system logs - erofs-utils
Utilities for Enhanced Read-Only File System - squashfuse
FUSE filesystem to mount squashfs archives - carch
A simple CLI tool to automate Linux system setup 🧩 - topgrade
Upgrade all the things rust linux macos windows cli requirescmd package-manager package-management updatetool updater… - fastbuild
High performance build system for Windows, OSX and Linux
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents