how to create an env variable mac code example Example: print env variable mac # Print all environment variables printenv