---
title: "Discussion on \"The .env Surprise: Why Your dotenv Configuration Has No Effect in Bun\" | Hashnode"
description: "Discussion on \"The .env Surprise: Why Your dotenv Configuration Has No Effect in Bun\". For Node.js developers, the workflow is muscle memory: need environment variables? Install dotenv, call config(), and the variables from your .env file are ready to go. However, when you bring this habit to Bun, the newer, blazing-fast JavaScript run..."
url: "https://hashnode.com/posts/the-env-surprise-why-your-dotenv-configuration-has-no-effect-in-bun/68d53d42df08e170b4150a26"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The .env Surprise: Why Your dotenv Configuration Has No Effect in Bun](https://tech.finlup.id/the-env-surprise-why-your-dotenv-configuration-has-no-effect-in-bun?utm_source=hashnode&utm_medium=feed)

For Node.js developers, the workflow is muscle memory: need environment variables? Install dotenv, call config(), and the variables from your .env file are ready to go. However, when you bring this habit to Bun, the newer, blazing-fast JavaScript run...

Sep 25, 2025 · 3 min read · tech.finlup.id  
Read the article

-   [#dotenv](https://hashnode.com/tag/dotenv)
-   [#bun](https://hashnode.com/tag/bun)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#environment-variables](https://hashnode.com/tag/environment-variables)
-   [#environment](https://hashnode.com/tag/environment)

## Written by

[Ariska Hidayat](https://hashnode.com/@ariska138)

@ariska138 · Sragen, Indonesia

  
[View profile](https://hashnode.com/@ariska138)

We Make Technology Easy and Fun

I am an enthusiastic researcher and developer with a passion for using technology to innovate in business and education.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
