<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Atyah</title>
    <description>The latest articles on DEV Community by Atyah (@atyah).</description>
    <link>https://dev.to/atyah</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3779807%2F886a391c-17e9-4771-a0ff-26b1d78a0da7.png</url>
      <title>DEV Community: Atyah</title>
      <link>https://dev.to/atyah</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/atyah"/>
    <language>en</language>
    <item>
      <title>I built a CLI tool to stop .env file chaos across environments</title>
      <dc:creator>Atyah</dc:creator>
      <pubDate>Wed, 18 Feb 2026 15:49:45 +0000</pubDate>
      <link>https://dev.to/atyah/i-built-a-cli-tool-to-stop-env-file-chaos-across-environments-4o4f</link>
      <guid>https://dev.to/atyah/i-built-a-cli-tool-to-stop-env-file-chaos-across-environments-4o4f</guid>
      <description>&lt;p&gt;Every team I've worked with has had the same problem — someone adds a new env var, forgets to tell the team, and suddenly staging is broken because &lt;code&gt;DATABASE_URL&lt;/code&gt; is missing.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;env-doctor&lt;/strong&gt; — a zero-dependency CLI that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;check&lt;/code&gt;&lt;/strong&gt; — validates your &lt;code&gt;.env&lt;/code&gt; against a &lt;code&gt;.env.example&lt;/code&gt; or a schema file (missing vars, type mismatches, bad formats)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;diff&lt;/code&gt;&lt;/strong&gt; — compares two &lt;code&gt;.env&lt;/code&gt; files side by side (spot what's missing, extra, or changed)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;mask&lt;/code&gt;&lt;/strong&gt; — outputs your &lt;code&gt;.env&lt;/code&gt; with values hidden (safe for sharing in Slack/PRs)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;init&lt;/code&gt;&lt;/strong&gt; — generates a &lt;code&gt;.env.example&lt;/code&gt; from your existing &lt;code&gt;.env&lt;/code&gt; automatically&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also supports a &lt;code&gt;.env.schema&lt;/code&gt; format where you can define types, patterns, required fields, enums, min/max — so validation actually catches real issues before deploy.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @atyahassis/env-doctor check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Zero dependencies. Node 18+. MIT licensed.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/AtyahsLab/env-doctor" rel="noopener noreferrer"&gt;github.com/AtyahsLab/env-doctor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback — what's missing? What would make this actually useful for your workflow?&lt;/p&gt;

</description>
      <category>node</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
