0 How to list environment variables in mac? In your command line type the following: set apple 2 mac os 5 Please enable JavaScript to view the comments powered by Disqus.