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 version
If 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
prntenv
uses just as command runner for a few handy commands shortcut.
~> just build
While 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:
~> prntenv
Without colorized output:
~> prntenv -no-color
Alphabetically sorted, by variable name:
~> prntenv -sort
Search for variables (default is case sensitive):
~> prntenv HOM
Search for variables (ignoring case):
~> prntenv -ignore-case Pat
prntenv
is released under the MIT license. See LICENSE for details.