mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 17:03:45 +01:00
409 B
409 B
title | layout | version |
---|---|---|
env | command | 0.59.0 |
Display current environment variables
Signature
> env
Examples
Display current path environment variable
> env | where name == PATH
Check whether the env variable MY_ENV_ABC
exists
> env | any? name == MY_ENV_ABC
Another way to check whether the env variable PATH
exists
> 'PATH' in (env).name