ncdu 1.22 & 2.8

This commit is contained in:
Yorhel 2025-03-05 11:39:43 +01:00
parent aab7836077
commit 9708daae74
28 changed files with 146 additions and 20 deletions

View file

@ -10,6 +10,12 @@ crap I've written over the years. :)
<!-- These announcements are parsed by mkfeed.pl, see that file for formatting -->
## Announcements <a href="/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
`2025-03-05` - ncdu 1.22 & 2.8 released <!-- tags: ncdu, link: /ncdu -->
: These add support for ignoring errors in the config file and now list all
supported options in `--help`. 1.22 backports `--graph-style` and 2.8 now
requires Zig 0.14. [Homepage](/ncdu) - [v1 Changelog](/ncdu/changes) -
[v2 Changelog](/ncdu/changes2).
`2025-03-04` - ncdc 1.25 released <!-- tags: ncdc, link: /ncdc -->
: Adds support for IP to country lookups through
[libloc](https://www.ipfire.org/location/), as a more free alternative to

View file

@ -10,12 +10,7 @@ POSIX-like system.
Parallel scanning
: Ncdu 2.5 adds support for parallel scanning, but it's not enabled by
default. To give it a try, run with `-t8` to scan with 8 threads. If you're
running an unusual setup, such as networked storage, odd filesystems,
complex RAID configurations, etc, I'd love to hear about the performance
impact of this new feature.[^1] Feedback is welcome on the [issue
tracker](https://code.blicky.net/yorhel/ncdu/issues) or to
[projects@yorhel.nl](mailto:projects@yorhel.nl).
default. To give it a try, run with `-t8` to scan with 8 threads.[^1]
Binary export
: Ncdu 2.6 adds a new binary export format that better works with parallel
@ -28,30 +23,30 @@ Colors
default in 1.17 and 2.0, and then later disabled again in 1.20 and 2.4
because the text was not legible in all terminal configurations. If you do
prefer the colors, add `--color=dark` to your [config
file](/ncdu/man#configuration). Maybe at some point in the future we'll
have colors that *are* readable in every setup.
file](/ncdu/man#configuration). I hope to add more flexible color support
at some point.
## Download <a href="/ncdu/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
Static binaries
: Convenient static binaries for Linux. Download, extract and run; no
compilation or installation necessary:
[x86](/download/ncdu-2.7-linux-x86.tar.gz) -
[x86_64](/download/ncdu-2.7-linux-x86_64.tar.gz) -
[ARM](/download/ncdu-2.7-linux-arm.tar.gz) -
[AArch64](/download/ncdu-2.7-linux-aarch64.tar.gz).
[x86](/download/ncdu-2.8-linux-x86.tar.gz) -
[x86_64](/download/ncdu-2.8-linux-x86_64.tar.gz) -
[ARM](/download/ncdu-2.8-linux-arm.tar.gz) -
[AArch64](/download/ncdu-2.8-linux-aarch64.tar.gz).
Zig version (stable)
: 2.7 (2024-11-19 - [ncdu-2.7.tar.gz](/download/ncdu-2.7.tar.gz) - [changes](/ncdu/changes2))
: 2.8 (2025-03-05 - [ncdu-2.8.tar.gz](/download/ncdu-2.8.tar.gz) - [changes](/ncdu/changes2))
Requires Zig 0.12 or 0.13.
Requires Zig 0.14.
The [Zig language](https://ziglang.org/) and compiler are still somewhat
unstable, use the ncdu 1.x branch if this does not work for you or if you
need a more stable compilation environment.
C version (LTS)
: 1.21 (2024-11-19 - [ncdu-1.21.tar.gz](/download/ncdu-1.21.tar.gz) - [changes](/ncdu/changes))
: 1.22 (2025-03-05 - [ncdu-1.22.tar.gz](/download/ncdu-1.22.tar.gz) - [changes](/ncdu/changes))
Lags a bit behind on the 2.x version in terms of features and performance,
but is still being maintained and perfectly usable.
@ -121,7 +116,10 @@ There's no shortage of alternatives to ncdu nowadays. In no particular order:
- [xdiskusage](http://xdiskusage.sourceforge.net/) - FLTK, with a treemap display.
- [fsv](http://fsv.sourceforge.net/) - 3D visualization.
[^1]: If you want to run benchmarks, `-0 --quit-after-scan` can be useful to
disable the browser interface, or run with `-0o/dev/null` to benchmark JSON
export.
[^1]: If you're running an unusual setup, such as networked storage, odd
filesystems, complex RAID configurations, etc, I'd love to hear about the
performance impact of this new feature. To run benchmarks, `-0
--quit-after-scan` can be useful to disable the browser interface, or run
with `-0o/dev/null` to benchmark JSON export. Feedback is welcome on the
[issue tracker](https://code.blicky.net/yorhel/ncdu/issues) or to
[projects@yorhel.nl](mailto:projects@yorhel.nl).