mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 01:27:52 +02:00
@ -15,3 +15,10 @@ Create an environment variable and give it a value.
|
||||
- `var_name`: variable name
|
||||
- `initial_value`: equals sign followed by value
|
||||
|
||||
## Examples
|
||||
|
||||
Create an environment variable and display it
|
||||
```shell
|
||||
> let-env MY_ENV_VAR = 1; $env.MY_ENV_VAR
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user