xonsh
Verified for current stable LTS
Xonsh Command: Define Environment Variables
Use for define environment variables with Xonsh. Exact CLI syntax to define environment variables using Xonsh.
When to use this: Use for define environment variables with Xonsh.
Command Syntax
xonsh -D<name1>=<value1> -D<name2>=<value2> xonsh -D<name1>=<value1> -D<name2>=<value2> Live Command Builder
Final Command
xonsh -D<name1>=<value1> -D<name2>=<value2> Command Breakdown
-D<name1>=<value1>- Command Option
- Tool-specific option used by this command invocation.
-D<name2>=<value2>- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to define environment variables using Xonsh.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Xonsh Command: Execute Single Command And Exit
xonsh -c "<command>" Xonsh Command: Load Configuration Files xonsh --rc <path/to/file1.xonsh> <path/to/file2.json> Xonsh Command: Run Script File And Exit xonsh <path/to/script_file.xonsh> Xonsh Command: Skip Loading Xonshrc File xonsh --no-rc Xonsh Command: Start Interactive Shell xonsh