XKCDPUNK(1)
π XKCDPUNK(1) β General Commands Manual π
okay bestie, sit down, because this one is adorable and also genuinely useful. it's called xkcdpunk, it lives in section 1 of the manual (that's the "general commands" girlies, iykyk), and it does exactly one thing and it does it iconically: it puts xkcd comics in your terminal. no browser, no tab hell, no "wait let me open a new window." just vibes and stick figures. π
β¨ NAME β¨
xkcdpunk β display XKCD comics directly in your terminal π¦
πΈ SYNOPSIS πΈ
xkcdpunk [-offline] [INPUT ...]
xkcdpunk -h | --help
π DESCRIPTION π
so here's the tea β: xkcdpunk will display a given xkcd comic and its alt-text directly in your terminal. yes, the alt-text too, the little hidden joke, the main character of every xkcd, we are NOT skipping it. π«Ά
if you give it no argument at all, it just shows you the latest known comic. lowkey the easiest way to start your day. and if you pass random as the argument, it'll give you a random comic instead β chaos, but make it β¨educationalβ¨.
π Positional arguments π
INPUTβ the XKCD number, bestie. besides just a plain number, you can also pass"latest"or"random"as accepted values. and if you justβ¦ don't pass anything?"latest"is assumed. it's giving "we got you." π
π§ Keyword arguments π§
--offlineβ only access already cached comics and do not download anything. no cap, no network, no new downloads. heads up though:"latest"will fail if no comic has ever been cached, and"random"might fail if there aren't enough cached comics. so likeβ¦ make sure you've got a stash first. π
π¦ EXIT STATUS π¦
the xkcdpunk utility exits 0 on success, and >0 if an error occurs. so 0 = slay, anything else = something went sideways, periodt. π
π SEE ALSO π
ansicat(1), netcache(1), offpunk(1), openk(1), and the whole vibe at https://offpunk.net/ π
π AUTHORS π
Lionel Dricot (Ploum) <offpunk2 at ploum.eu> β an absolute icon, fr fr. π«‘
and that's the page, babes. this Debian-flavored edition is dated February 9, 2026, and it's straight from the XKCDPUNK(1) corner of the general commands manual. go read a comic, you deserve it. π
π¦ where this page comes from
- nixos 26.05: offpunk 3.1
- nixpkgs unstable: offpunk 3.2
- ubuntu stonking: offpunk 3.2-1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms