Skip to content
envshh is secureenvshh is secureenvshh
DiscordGitHub

pipe

Check envshh help pipe for more details from the command line

Say goodbye to dotenv. Directly pipe your environment variables to stdin and run your project

For example, npx envshh pipe npm run dev will - pipe your environment variables to stdin first - then run npm run dev So you will not need to install and use dotenv, or dotenv.configure(), or dotenv.load() in your code anymore

Demo

Screenshot

pipe

Usage

npx envshh pipe <command>

Options

Examples

npx envshh pipe npm run dev # Node.js project
npx envshh pipe -e src/.env.random node index.js # if your .env file is not in the root directory or does not follow .env naming convention
npx envshh pipe python main.py # Python project
npx envshh pipe -e src/.env.random,src/.env.production node index.js # if you have multiple .env files