AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents