-
Install direnv brew install direnv
-
Setup ~/.bashrc eval "$(direnv hook bash)"
-
Create .envrc file: #!/bin/bash export MY_ENV="just some env"
-
enable direnv in dir: direnv allow
Created
September 12, 2019 08:42
-
-
Save skobba/0b2b2dbca8b093ad067ac4a4ab10d2ef to your computer and use it in GitHub Desktop.
Install direnv on Mac
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment