Command-line tool
mktorrent
brew/mktorrent
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Create BitTorrent metainfo files
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install mktorrent
Linux
brew install mktorrent
Create a torrent with 2^21 KB as the piece size
mktorrent -a tracker_announce_url -l 21 -o path/to/example.torrent path/to/file_or_directory
Create a private torrent with a 2^21 KB piece size
mktorrent -p -a tracker_announce_url -l 21 -o path/to/example.torrent path/to/file_or_directory
Create a torrent with a comment
mktorrent -c "comment" -a tracker_announce_url -l 21 -o path/to/example.torrent path/to/file_or_directory
Related command-line tools
- transmission-cli
Lightweight BitTorrent client - bittorrent-tracker-editor
Add/remove bittorrent trackers from the torrent files - intermodal
Command-line utility for BitTorrent torrent file creation, verification, etc. rust cli bittorrent - mkbrr
Is a tool to create, modify and inspect torrent files. Fast go bittorrent torrent golang metafile - transmission
A fast, easy, and free BitTorrent client. - aria2
Download with resuming and segmented downloading download 下载 downloader 下载器 - superseedr
BitTorrent Client in your Terminal - mabel
Fancy BitTorrent client for the terminal
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents