mac command line show all environment variables code example Example: print env variable mac # Print all environment variables printenv