Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dax/src/command.ts>CommandBuilder#env

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method CommandBuilder.prototype.env
import { CommandBuilder } from "https://deno.land/x/dax@0.38.0/src/command.ts";

Sets multiple environment variables to use at the same time via an object literal.

Parameters

items: Record<string, string | undefined>

Sets a single environment variable to use.

Parameters

name: string
value: string | undefined