About 1,290,000 results
Open links in new tab
  1. What is an .env (or dotenv) file exactly? - Stack Overflow

    Jul 6, 2021 · What is an .env (or dotenv) file exactly? Asked 4 years, 4 months ago Modified 2 years, 6 months ago Viewed 35k times

  2. How to set environment variables from .env file - Stack Overflow

    Apr 7, 2017 · USERNAME=ABC PASSWORD=PASS Unlike the normal ones have export prefix so I cannot source the file directly. What's the easiest way to create a shell script that loads …

  3. Adding an .env file to a React project - Stack Overflow

    Sep 1, 2021 · Finally, add .env to your .gitignore file so that Git ignores it and it never ends up on GitHub. If you are using Create React App (create-react-app) then you only need step 3 and 4, …

  4. List all environment variables from the command line

    Mar 16, 2011 · Is it possible to list all environment variables from a Windows' command prompt? Something equivalent to PowerShell's gci env: (or ls env: or dir env:).

  5. Setting Windows PowerShell environment variables - Stack Overflow

    I have found out that setting the PATH environment variable affects only the old command prompt. PowerShell seems to have different environment settings. How do I change the …

  6. How to save .env file in windows? - Stack Overflow

    Steps to create .env file in Windows machine: Open a Notepad and write the credentials inside the file Click on Save option and change the file type to 'All files' Keep the file name as .env Hit …

  7. What language is a .env file written in? - Stack Overflow

    Jun 28, 2019 · By convention, what language or syntax is a .env file written in? Is it a sh script, a bash script, JavaScript, or is it a stripped down no-frills syntax inspired by sh syntax? Are all …

  8. How do I pass environment variables to Docker containers?

    You can pass environment variables to your containers with the -e (alias --env) flag. docker run -e xx=yy An example from a startup script:

  9. How to print environment variables to the console in PowerShell?

    Jun 14, 2018 · The following works best, in my opinion: Get-Item Env:PATH It's shorter and, therefore, a little easier to remember than Get-ChildItem (There's no hierarchy with …

  10. node.js - Bad Option: --env-file=./env/.env.dev - Stack Overflow

    Mar 6, 2025 · But the information it provides is wrong (Node.js does natively support --env-file, if you're using the right version) and therefore it's not actually the problem you have (which is …