cross-env

November 18, 2021 ยท View on GitHub

ci Latest Version License Repo Size

cross-platform cli for setting environment variables, written in vlang

Install

  1. Shell (Mac/Linux)
curl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r=axetroy/cross-env
  1. PowerShell (Windows):
$r="axetroy/cross-env";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex
  1. Github release page (All platforms)

download the executable file and put the executable file to $PATH

Usage

$ cross-env FOO=BAR NODE_ENV=PRODUCTION node index.js

Build from source

$ make

LICENSE

The MIT License