You can obtain it freely in two forms:
- Sources - source code, provided in this site
- Binaries - pre-compiled binaries, provided by distributions
What's new in htop 3.0.2:
- BUGFIX: Drop 'vim_mode' - several issues, needs rethink
- BUGFIX: fix regression in -u optional-argument handling
- Build system rework to remove python, header generation (thanks to Zev Weiss and Hugo Musso Gualandi)
- BUGFIX: report nice level correctly on Solaris (thanks to Dominik Hassler)
- CI, code quality improvements (thanks to Tobias Kortkamp, Christian Hesse, Benny Baumann)
What's new in htop 3.0.1:
- Coverity fixes, CI improvements, documentation updates
- BUGFIX: Fix early exit with longer sysfs battery paths
- BUGFIX: Improve OOM output, fix sorting (thanks to Christian Göttsche)
- Rework check buttons and tree open/closed (thanks to Bert Wesarg)
- Add -U/--no-unicode option to disable unicode (thanks to Christian Hesse)
- Improvements to the affinity panel (thanks to Bert Wesarg)
What's new in htop 3.0.0:
- Support ZFS ARC statistics (thanks to Ross Williams)
- Support more than 2 smaller CPU meter columns (thanks to Christoph Budziszewski)
- Support Linux proportional set size metrics (thanks to @linvinus, @ntninja and @himikof)
- Support Linux pressure stall information metrics (thanks to Ran Benita)
- New display option to show CPU frequency in CPU meters (thanks to Arnav Singh)
- Update Linux sysfs battery discovery for recent kernels (thanks to @smattie)
- Add hardware topology information in the affinity panel (thanks to Bert Wesarg)
- Add timestamp reporting to the strace screen (thanks to Mario Harjac)
- Add simple, optional vim key mapping mode (thanks to Daniel Flanagan)
- Added an option to disable the mouse (thanks to MartinJM)
- Add Solaris11 compatibility (thanks to Jan Senolt)
- Without an argument -u uses $USER value automatically (thanks to @solanav)
- Support less(1) search navigation shortcuts (thanks to @syrrim)
- Update the FreeBSD maximum PID to match FreeBSD change (thanks to @multiplexd)
- Report values larger than 100 terabytes (thanks to @adrien1018)
- Widen ST_UID (UID) column to allow for UIDs > 9999 (thanks to DLange)
- BUGFIX: fix makefiles for building with clang (thanks to Jorge Pereira)
major() usage (thanks to @wataash and Kang-Che Sung)
- BUGFIX: fix the STARTTIME column on FreeBSD (thanks to Rob Crowston)
- BUGFIX: truncate overwide jail names on FreeBSD (thanks to Rob Crowston)
- BUGFIX: fix reported memory values on FreeBSD (thanks to Tobias Kortkamp)
- BUGFIX: fix reported CPU meter values on OpenBSD (thanks to @motet-a)
- BUGFIX: correctly identify other types of zombie process (thanks to @joder)
- BUGFIX: improve follow-process handling in some situations (thanks to @wangqr)
- BUGFIX: fix custom meters reverting to unexpected setting (thanks to @wangqr)
- BUGFIX: close pipe after running lsof(1) (thanks to Jesin)
- BUGFIX: meters honour setting of counting CPUs from 0/1 (thanks to @rnsanchez)
What's new in htop 2.2.0:
- Solaris/Illumos/OpenIndiana support (thanks to Guy M. Broome)
- -t/--tree flag for starting in tree-view mode (thanks to Daniel Flanagan)
- macOS: detects High Sierra version to avoid OS bug (thanks to Pierre Malhaire)
- OpenBSD: read battery data (thanks to @nerd972)
- Various automake and build improvements (thanks to Kang-Che Sung)
- Check for pkg-config when building with --enable-delayacct (thanks to @florian2833z for the report)
- Avoid some bashisms in configure script (thanks to Jesin)
- Use CFLAGS from ncurses*-config if present (thanks to Michael Klein)
- Header generator supports non-UTF-8 environments (thanks to @volkov-am)
- Linux: changed detection of kernel threads
- Collapse current subtree pressing Backspace
- BUGFIX: fix behavior of SYSCR column (thanks to Marc Kleine-Budde)
- BUGFIX: obtain exit code of lsof correctly (thanks to @wangqr)
- BUGFIX: fix crash with particular keycodes (thanks to Wellington Torrejais da Silva for the report)
- BUGFIX: fix issue with small terminals (thanks to Daniel Elf for the report)
- BUGFIX: fix terminal color issues (thanks to Kang-Che Sung for the report)
- BUGFIX: preserve LDFLAGS when building (thanks to Lance Frederickson for the report)
- BUGFIX: fixed overflow for systems with >= 100 signals
What's new in htop 2.1.0:
- Linux: Delay accounting metrics (thanks to André Carvalho)
- DragonFly BSD support (thanks to Diederik de Groot)
- Support for real-time signals (thanks to Kang-Che Sung)
- 'c' key now works with threads as well
- Session column renamed from SESN to SID (thanks to Kamyar Rasta)
- Improved UI for meter style selection (thanks to Kang-Che Sung)
- Improved code for constructing process tree (thanks to wangqr)
- Compile-time option to disable setuid
- Error checking of various standard library operations
- Replacement of sprintf with snprintf (thanks to Tomasz Kramkowski)
- Linux: performance improvements in battery meter
- Linux: update process TTY device
- Linux: add support for sorting TASK_IDLE (thanks to Vladimir Panteleev)
- Linux: add upper-bound to running process counter (thanks to Lucas Correia Villa Real)
- BUGFIX: avoid crash when battery is removed (thanks to Jan Chren)
- BUGFIX: macOS: fix infinite loop in tree view (thanks to Wataru Ashihara)
What's new in htop 2.0.2:
- Mac OS X: stop trying when task_for_pid fails for a process, stops spamming logs with errors.
- Add Ctrl+A and Ctrl+E to go to beginning and end of line
- FreeBSD: fixes for CPU calculation (thanks to Tim Creech, Andy Pilate)
- Usability: auto-follow process after a search.
- Use Linux backend on GNU Hurd
- Improvement for reproducible builds.
- Fix behavior of Alt-key combinations (thanks to Kang-Che Sung)
- Various code tweaks and cleanups (thanks to Kang-Che Sung)
What's new in htop 2.0.1:
- OpenBSD: Various fixes and improvements (thanks to Michael McConville and Juan Francisco Cantero Hurtado)
- FreeBSD: fix CPU and memory readings (thanks to Tim Creech, Hung-Yi Chen, Bernard Spil, Greg V)
- FreeBSD: add battery support (thanks to Greg V)
- Linux: Retain last-obtained name of a zombie process
- Mac OS X: Improve portability for OS X versions (thanks to Michael Klein)
- Mac OS X: Fix reading command-line arguments and basename
- Mac OS X: Fix process state information
- Mac OS X: Fix tree view collapsing/expanding
- Mac OS X: Fix tree organization
- Mac OS X: Fix memory accounting
- Fix crash when emptying a column of meters
- Make Esc key more responsive
What's new in htop 2.0.0:
- Platform abstraction layer
- Initial FreeBSD support
- Initial Mac OS X support (thanks to David Hunt)
- Swap meter for Mac OSX (thanks to Ștefan Rusu)
- OpenBSD port (thanks to Michael McConville)
- FreeBSD support improvements (thanks to Martin Misuth)
- Support for NCurses 6 ABI, including mouse wheel support
- Much improved mouse responsiveness
- Process environment variables screen (thanks to Michael Klein)
- Higher-resolution UTF-8 based Graph mode (Thanks to James Hall from vtop for the idea!)
- Show program path settings (thanks to Tobias Geerinckx-Rice)
- BUGFIX: Fix crash when scrolling an empty filtered list.
- Use dynamic units for text display, and several fixes (thanks to Christian Hesse)
- BUGFIX: fix error caused by overflow in usertime calculation. (thanks to Patrick Marlier)
- Catch all memory allocation errors (thanks to Michael McConville for the push)
- Several tweaks and bugfixes (See the Git log for details and contributors!)
Building htop is straightforward, as it uses GNU Autotools: the typical ./configure; make; sudo make install should do the trick. However, you may prefer to use binaries packaged for your distribution, see below.
- Stable, tarball : Check out the official tarball for the latest version .
- Development, from the Git repository: You can fetch the work-in-progress sources for
the next release using
git clone https://github.com/htop-dev/htop
You can also browse the Git tree online.
Packages for htop are available in most distros. Try the package manager from your system; chances are htop is available from there.
- GoboLinux: In GoboLinux you can fetch and compile htop by typing: Compile htop
In Debian you can fetch htop by typing:
apt install htop
You can also download the binary packages from the Debian webpage.
Thanks to Eugene Lyubimkin and Bartosz Fenski.
htop is included in the Fedora repositories; you can fetch it with:
dnf install htop
Thanks to Dawid Gajownik.
- RedHatYou can find RPM packages at
Thanks to Josh Stone for the tip.
- Slackware: htop is part of Slackware. You can find it in the ap/ section.
Thanks to Patrick Volkerding for including it, and to Fred Broders for earlier packages.
- Gentoo: In Gentoo Linux you can emerge the
package by typing:
Thanks to Wolfram Schlich.
- AltLinux: here are the
Thanks to Ilya Evseev.
- OpenSuSE: htop is included in the
OpenSuSE build service.
Thanks to Timo Hoenig.
Known problems in older distributions: htop uses features of the C99 standard; therefore it fails to build with very old compilers.