<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/finally-dotenv-files-support-landed-on-node--znxymfdat" -->

---
title: Finally dotenv files support landed on Node 🎉 | daily.dev
description: Node.js 20.6.0: Say Goodbye to 'dotenv' - DEV Community Unveiling.0. The new version has built-in support for.env files. This means you don't need to rely on...
canonical: https://daily.dev/posts/finally-dotenv-files-support-landed-on-node--znxymfdat
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Finally dotenv files support landed on Node 🎉 | daily.dev
og:description: Node.js 20.6.0: Say Goodbye to 'dotenv' - DEV Community Unveiling.0. The new version has built-in support for.env files. This means you don't need to rely on...
og:url: https://daily.dev/posts/finally-dotenv-files-support-landed-on-node--znxymfdat
og:image: https://api.daily.dev/og/posts/znXymfdaT.png
og:image:alt: Finally dotenv files support landed on Node 🎉
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Finally dotenv files support landed on Node 🎉

**[WebDev](https://daily.dev/sources/webdev)** · [@idoshamun](https://daily.dev/idoshamun) · 12 upvotes · 2 comments

## Summary

Node.js 20.6.0: Say Goodbye to 'dotenv' - DEV Community Unveiling.0. The new version has built-in support for.env files. This means you don't need to rely on third-party packages for importing and using.env variables in your code.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/cjreads665/nodejs-2060-say-goodbye-to-dotenv-2ijl>

## Community discussion

Top comments from developers on daily.dev.

**@furqan991** · 1 upvotes

> Node.JS os the best ...

---

[View this post on daily.dev](https://daily.dev/posts/finally-dotenv-files-support-landed-on-node--znxymfdat)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/finally-dotenv-files-support-landed-on-node--znxymfdat","headline":"Finally dotenv files support landed on Node 🎉","text":"Shared: Node.js 20.6.0: Say Goodbye to 'dotenv'","url":"https://daily.dev/posts/finally-dotenv-files-support-landed-on-node--znxymfdat","datePublished":"2023-09-11T09:13:51.695Z","dateModified":"2023-09-11T09:13:51.701Z","author":{"@type":"Person","name":"Ido Shamun","url":"https://daily.dev/idoshamun","image":"https://media.daily.dev/image/upload/s---xy_OAwk--/f_auto,q_auto/v1703781380/avatars/avatar_28849d86070e4c099c877ab6837c61f0","description":"I'm to blame if something goes wrong here 🙈","worksFor":{"@type":"Organization","name":"daily.dev","logo":"https://daily-now-res.cloudinary.com/image/upload/s--MASZOhnv--/f_auto/v1614088267/landing/Daily.dev_logo"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":191260}},"image":"https://media.daily.dev/image/upload/s--foaA6JGU--/f_auto/v1722860399/public/Placeholder%2004","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":12},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/FROkM7y6q"},"comment":[{"@type":"Comment","text":"Node.JS os the best …","datePublished":"2023-09-11T11:46:38.222Z","url":"https://daily.dev/posts/znXymfdaT#c-w0oDxk83B","author":{"@type":"Person","name":"Furqan Ghias","url":"https://daily.dev/furqan991","image":"https://lh3.googleusercontent.com/a/AAcHTtewFUDM79zK6lhN9kPPTV3xBpRFYLl7oI-hlND575c-ivU=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/webdev","name":"WebDev"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"WebDev","item":"https://daily.dev/squads/webdev"},{"@type":"ListItem","position":3,"name":"Finally dotenv files support landed on Node 🎉"}]}
```

