Skip to content

Cross platform utility for sourcing env files into terminal environments

Notifications You must be signed in to change notification settings

alshdavid-labs/xenv

Repository files navigation

xenv 📤

Utility to source .env files

This is a cross-platform utility that allows you to source idiomatic .env files in multiple shell environments on Window, Linux, MacOS, Bash, Zsh, PowerShell.

Example

Bash / Zsh

# bash
eval $(xenv .env)
echo $FOO

PowerShell

# powershell
xenv .env | Invoke-Expression
echo "$FOO"

Development 🧩

Prerequisite Tools

Building

just build
target=release just build

Running Development Build

just run
just run -f node_modules ~/Development

About

Cross platform utility for sourcing env files into terminal environments

Resources

Stars

Watchers

Forks

Packages

No packages published