Utility to print out the names and values of the variables in the environment.
Environment variables are case sensitive.
prntenv is available via Homebrew and as a downloadable binary from the releases page.
| Install | Upgrade |
|---|---|
brew install jcouture/prntenv/prntenv |
brew upgrade prntenv |
prntenv is available as a downloadable binary from the releases page.
Alternatively, you can build it from source.
- Verify you have Go 1.20+ installed
~> go versionIf Go is not installed, follow the instructions on the Go website
- Clone this repository
~> git clone https://github.com/jcouture/prntenv.git
~> cd prntenv- Build
prntenvuses just as command runner for a few handy commands shortcut.
~> just buildWhile the development version is a good way to take a peek at prntenv’s latest features before they get released, be aware that it may contains bugs. Officially released versions will generally be more stable.
Print the entire environment out:
~> prntenvWithout colorized output:
~> prntenv -no-colorAlphabetically sorted, by variable name:
~> prntenv -sortSearch for variables (default is case sensitive):
~> prntenv HOMSearch for variables (ignoring case):
~> prntenv -ignore-case Patprntenv is released under the MIT license. See LICENSE for details.