Write the compiled binary to a specific path.
Section: Run Build Install
Build named binary
bash
bash
go build -o ./bin/app .Explanation
Write the compiled binary to a specific path. 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 Run Build Install