Skip to content

How to load .env variables in my zx script? #792

Discussion options

You must be logged in to vote

zx uses process.env object by reference, so you are able to modify this value in any convenient way. For example, with dotenv.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@antonmedv
Comment options

@antongolub
Comment options

@antonmedv
Comment options

@codenoobforreal
Comment options

Answer selected by codenoobforreal
Comment options

You must be logged in to vote
1 reply
@antonmedv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants