Inspect symbols in a compiled binary.

Section: Inspection and Binary Introspection

List binary symbols

bash
bash
go tool nm ./dist/app
Explanation

Inspect symbols in a compiled binary. Useful in Go CLI workflows.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Inspection and Binary Introspection
Disassemble binary
Disassemble functions from a compiled binary.
OpenIn sheetbashsame section
Inspect build info
Show module/build info embedded in a binary.
OpenIn sheetbashsame section
List target platforms
Print supported GOOS/GOARCH pairs.
OpenIn sheetbash1 tag match
Trim source paths
Remove local filesystem paths from compiled output.
OpenIn sheetbash1 tag match
Test then build
A typical release pipeline pattern.
OpenIn sheetbash1 tag match
Build Linux amd64
Cross-compile for Linux amd64.
OpenIn sheetbash1 tag match