how to set env var in mac code example Example: print env variable mac # Print all environment variables printenv