Skip to content

Loads variables from dotenv (.env) files into your environment.

License

Notifications You must be signed in to change notification settings

jonlabelle/dotenv-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotenv.sh

lint

Loads variables from dotenv (.env) files into your environment.

Install

Clone the repository then run the install script to create the symlink in ~/bin/dotenv:

git clone https://github.com/jonlabelle/dotenv-sh.git
cd dotenv-sh
bash scripts/install.sh

Usage

source dotenv [environment]

Examples

To load variables in the .env file from current working directory:

source dotenv

To load variables in the .env.local file from current working directory:

source dotenv local

References

License

MIT

About

Loads variables from dotenv (.env) files into your environment.

Topics

Resources

License

Stars

Watchers

Forks

Languages