macOS / binaries /

printenv

/usr/bin/printenv
Print out the environment

The printenv utility prints out the names and values of the variables in the environment, with one name/value pair per line. If name is specified, only its value is printed.

source: man