How to get environment variables value? #532
-
I need requirements to get the value of the deno global environment variable. The environment variable name is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not related to cliffy. If If you are looking for a way how to use environment variables with cliffy you can take a look at https://cliffy.io/docs@v0.25.6/command/environment-variables. |
Beta Was this translation helpful? Give feedback.
This is not related to cliffy. If
Deno.env.get("DENO_INSTALL_ROOT")
returns undefined than the env var is not set. But if you have issues with deno you should open an issue/discussion in the deno repository.If you are looking for a way how to use environment variables with cliffy you can take a look at https://cliffy.io/docs@v0.25.6/command/environment-variables.