Command-line tool
valgrind
brew/valgrind
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Dynamic analysis tools (memory, debug, profiling)
At a glance
- Type
- Command-line tool
- Install on
- Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Linux
brew install valgrind
Use the (default) Memcheck tool to show a diagnostic of memory usage by `program`
valgrind program
Use Memcheck to report all possible memory leaks of `program` in full detail
valgrind --leak-check=full --show-leak-kinds=all program
Use the Cachegrind tool to profile and log CPU cache operations of `program`
valgrind --tool=cachegrind program
Related command-line tools
- parca
Continuous profiling for analysis of CPU and memory usage - rakudo
Mature, production-ready implementation of the Raku language hacktoberfest moarvm nqp raku rakudo - luvit
Asynchronous I/O for Lua - lit
Portable tool for LLVM- and Clang-style test suites - dotmemory-clt
JetBrains dotMemory Command Line Tools for profiling .NET memory usage from the command line. - dmalloc
Debug versions of system memory management routines - wzprof
Profiling for Wazero - counts
Tool for ad hoc profiling
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents