ncls(1)
π ncls(1) β the manual, but make it cute π
okay bestie so you know how ls(1) is out here being all iconic and useful but also just... text? yeah. ncls said "not on my watch" and started rendering your actual images and videos right there in the terminal. β¨ Notcurses-powered, multimedia-enabled, listing paths like the main character it is. π
πΈ NAME πΈ
ncls β list paths, but with multimedia rendering π¦
π SYNOPSIS π
ncls [-h|--help] [-V|--version] [-d] [-l] [-L] [-R] [-a|--align type]
[-b|--blitter blitter] [-s|--scale scale] [ paths ]
look at all those little flags, they're giving β¨optionsβ¨
π DESCRIPTION π
so basically, ncls uses a multimedia-enabled Notcurses to list paths β literally the same energy as the ls(1) command, except it actually renders images and videos straight into your terminal. no cap. your file list is now a whole vibe check. πΌοΈβ¨
π OPTIONS π
one bullet per flag, as promised, no skipping, we don't do that here:
-dβ list the directories themselves, not what's inside them. peek at the folder, not its contents. π-lβ use a long listing format. more columns, more detail, more to obsess over. π-Lβ dereference symbolic links. follow that symlink to its source, bestie. π¦-Rβ list subdirectories recursively. down the rabbit hole we go, fr fr. π³οΈ-V,--versionβ print version information and exit with success. iconic behavior only. π-h,--helpβ print help information and exit with success. self-care, honestly. π«Ά-a,--aligntypeβ align images on left, center, or right. your aesthetic, your call. π-b,--blitterblitterβ the blitter, and it's one ofascii,half,quad,sex,braille, orpixel. the default ispixel. β οΈ if the chosen blitter is unavailable,nclswill degrade (seenotcurses_visual(3)) β that's a real thing, not me being dramatic. π-s,--scalescalemodeβ scaling mode, one ofnone,hires,scale,scalehi, orstretch. pick your fighter. π₯pathsβ run on the specified paths. if none are supplied, it just runs on the current directory. β¨
okay so important one: if no scaling is specified,hireswill be used with thepixelblitter, andscalehiwill be used otherwise. remember that. write it down. put it on your mirror. πͺ
π«Ά NOTES π«Ά
optimal display requires a terminal that's advertising the rgb terminfo(5) capability β or, alternatively, that the environment variable COLORTERM is defined to 24bit (and that the terminal actually honors that variable, obviously). πββοΈ
oh and also: you want a fixed-width font with good coverage of the Unicode Block Drawing Characters. no skipping this one, the characters will literally not draw right. π
π§ SEE ALSO π§
go read them, iykyk π
π AUTHORS π
nick black β nickblack@linux.com
and that's the whole page, bestie! π this was version v3.0.17 of ncls(1), and yeah that's the same ncls(1) we've been talking about the entire time. slay, go render some pictures in your terminal. πππΈ
π¦ where this page comes from
- alpine 3.24: notcurses-doc 3.0.17-r0 Β· Apache-2.0
- ubuntu resolute: notcurses-bin 3.0.17+dfsg-3 Β· Apache-2.0
- ubuntu stonking: notcurses-bin 3.0.17+dfsg-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms