binary

A compiled program file that a computer runs directly, as opposed to the source code it was built from.

In more detail

Releases often attach binaries for each operating system so users need not build the program themselves. Binaries are not readable as text, so tools that compare text, such as diff, cannot show what changed inside them.

Examples

go build -o probe . && ./probe
In Terraform: Terraform is distributed as one statically linked binary, so installing it means putting that single file somewhere on your PATH. There is no language runtime or library to install alongside it. Package managers and version managers do exactly this for you.

Related terms

Taught in

References

Certification courses