In this context, environment variables are really more like “Configuration Settings.” See how much nicer that sounds? For instance, if you had a web application, you might have environment variables that define: In Node, environment variables can be global (like on Windows), but are often used with a specific process that you want to run. ![]() ![]() ![]() Does it go in PATH or JAVA_HOME or both? Do I need to end it with a semicolon? WHY AM I USING JAVA? KILL_ME Just the words “Environment Variable” trigger a PTSD-laced flashback in which I am trying to add the correct path to the Java Home directory on Windows. ![]() Maybe because they are called “Environment Variables.” Environment variables are a fundamental part of Node development, but for some reason I never bothered with learning how to properly use them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |