LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

envfetch

Cross-platform CLI for environment variables

TLDR

Display all environment variables
$ envfetch
copy
Get a specific variable
$ envfetch [VARIABLE_NAME]
copy
Search for variables matching pattern
$ envfetch --search [pattern]
copy
Output in JSON format
$ envfetch --json
copy

SYNOPSIS

envfetch [options] [variable]

DESCRIPTION

envfetch is a cross-platform tool for displaying and querying environment variables. It provides a unified interface across different operating systems and shells for inspecting environment configuration.The tool supports searching, filtering, and various output formats, making it useful for debugging environment issues and extracting configuration values.

PARAMETERS

--search PATTERN

Search for variables matching pattern
--json
Output in JSON format
--export
Output as shell export commands
--no-color
Disable colored output
-v, --version
Display version and exit
-h, --help
Display help and exit

INSTALL

yay -S envfetch
copy

CAVEATS

Cross-platform compatibility may have slight variations. Sensitive variables are displayed by default. Large environment sets may require filtering.

HISTORY

envfetch was developed as a portable alternative to platform-specific environment inspection tools.

SEE ALSO

env(1), printenv(1), set(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid