All apps/env

env

env

Set environment variables and run a utility, or print the environment.

Runs as env|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 5 fields

Run a utility with a modified environment, or print the environment when no utility is given.

Opens the form; the finished command lands at your prompt, unrun
otty gui env
Run with environmentExample values, fixed in this page — nothing here reaches a terminal
Basic
Variables, utility and arguments*
string
Unset variable
string
TasksEach one presets the form for one job
Run with variables
wordsunset
Run in clean environment
ignore_envwords
ParametersOnly these flags are editable in the form
Start with empty environment
boolean
-i
Unset variable
string · repeatable
-u
NUL-terminate output lines
boolean
-0
Verbose
boolean
-v
Variables, utility and arguments
NAME=value assignments first, then the utility to run and its arguments. Leave empty to print the environment.
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed env against its version. A form that does not match your version is not offered.