<?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: Abdul Moueed</title>
    <description>The latest articles on DEV Community by Abdul Moueed (@s0ci3tybug).</description>
    <link>https://dev.to/s0ci3tybug</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1061801%2F1fe8f2ce-090c-45fc-a810-b1028780ea47.png</url>
      <title>DEV Community: Abdul Moueed</title>
      <link>https://dev.to/s0ci3tybug</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/s0ci3tybug"/>
    <language>en</language>
    <item>
      <title>Tired of broken React Native environments? I built a CLI to fix that</title>
      <dc:creator>Abdul Moueed</dc:creator>
      <pubDate>Sun, 16 Aug 2026 14:23:58 +0000</pubDate>
      <link>https://dev.to/s0ci3tybug/tired-of-broken-react-native-environments-i-built-a-cli-to-fix-that-2je8</link>
      <guid>https://dev.to/s0ci3tybug/tired-of-broken-react-native-environments-i-built-a-cli-to-fix-that-2je8</guid>
      <description>&lt;p&gt;If you've worked with React Native long enough, you know the drill: everything worked fine yesterday, but today your project won't build because of a wrong JDK version, a stale &lt;code&gt;ANDROID_HOME&lt;/code&gt;, missing SDK components, or CocoaPods fighting with macOS's system Ruby.&lt;/p&gt;

&lt;p&gt;Setting up a React Native environment involves dozens of moving parts, and figuring out what's actually broken can waste hours.&lt;/p&gt;

&lt;p&gt;So, I built &lt;strong&gt;&lt;code&gt;rn-env-doctor&lt;/code&gt;&lt;/strong&gt; — a zero-dependency CLI that checks your machine against React Native's official environment setup requirements and safely fixes what it can.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠️ What it checks
&lt;/h2&gt;

&lt;p&gt;Instead of throwing vague errors, &lt;strong&gt;&lt;code&gt;rn-env-doctor&lt;/code&gt;&lt;/strong&gt; inspects your exact system setup across core tooling and platform targets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Core Tooling:&lt;/strong&gt; Node.js, &lt;code&gt;nvm&lt;/code&gt;, Git, Watchman, Homebrew / &lt;code&gt;winget&lt;/code&gt; / Chocolatey&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Android:&lt;/strong&gt; JDK 17, &lt;code&gt;JAVA_HOME&lt;/code&gt;, &lt;code&gt;ANDROID_HOME&lt;/code&gt;, &lt;code&gt;adb&lt;/code&gt;, SDK Platform 35, and Build Tools 36.0.0&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;iOS (macOS):&lt;/strong&gt; Xcode, Command Line Tools, Ruby, &lt;code&gt;rbenv&lt;/code&gt; / RVM, and CocoaPods&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whenever a check fails, it explains &lt;strong&gt;what's wrong&lt;/strong&gt; and provides an &lt;strong&gt;actionable fix&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero Dependencies:&lt;/strong&gt; No npm packages are required. Clone the repository and run it directly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic Setup:&lt;/strong&gt; With your explicit confirmation, it can install missing tools through Homebrew, &lt;code&gt;winget&lt;/code&gt;, Chocolatey, &lt;code&gt;apt&lt;/code&gt;, &lt;code&gt;dnf&lt;/code&gt;, or &lt;code&gt;pacman&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Profile Updates:&lt;/strong&gt; Safely configures &lt;code&gt;JAVA_HOME&lt;/code&gt; and &lt;code&gt;ANDROID_HOME&lt;/code&gt; in your shell profiles without creating duplicate entries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safe by Default:&lt;/strong&gt; It always asks before making system changes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-Platform:&lt;/strong&gt; Works out of the box on macOS, Linux, and Windows.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚡ Quick Start
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Option 1: If you already have Node installed
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Fs0ci3ty19/rn-env-doctor.git
&lt;span class="nb"&gt;cd &lt;/span&gt;rn-env-doctor

&lt;span class="c"&gt;# Run interactive check &amp;amp; fix&lt;/span&gt;
node bin/rn-env-doctor.js

&lt;span class="c"&gt;# Run a completely read-only audit&lt;/span&gt;
node bin/rn-env-doctor.js &lt;span class="nt"&gt;--check&lt;/span&gt;

&lt;span class="c"&gt;# Automated setup (accept all fixes)&lt;/span&gt;
node bin/rn-env-doctor.js &lt;span class="nt"&gt;--yes&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Option 2: Bootstrap scripts (if Node isn't installed yet)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;macOS / Linux:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Fs0ci3ty19/rn-env-doctor.git
&lt;span class="nb"&gt;cd &lt;/span&gt;rn-env-doctor
&lt;span class="nb"&gt;chmod&lt;/span&gt; +x bootstrap.sh
./bootstrap.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Windows (PowerShell):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;clone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://github.com/Fs0ci3ty19/rn-env-doctor.git&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;rn-env-doctor&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;\bootstrap.ps1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  🚧 What It Doesn't Do (By Design)
&lt;/h3&gt;

&lt;p&gt;Some large GUI software and runtime-heavy components are intentionally left to their official installers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Android Studio&lt;/li&gt;
&lt;li&gt;Xcode&lt;/li&gt;
&lt;li&gt;Android Virtual Devices (AVDs)&lt;/li&gt;
&lt;li&gt;iOS Simulator runtimes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For these, &lt;code&gt;rn-env-doctor&lt;/code&gt; tells you exactly what's missing and guides you on what needs to be configured manually.&lt;/p&gt;

&lt;h3&gt;
  
  
  🤝 Open Source &amp;amp; Feedback
&lt;/h3&gt;

&lt;p&gt;The project is MIT licensed and completely open source:&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; It's currently not published to npm, so for now, you'll need to clone the repository and run it directly.&lt;/p&gt;

&lt;p&gt;If you give it a try, I'd love to hear what it catches on your machine; especially if you spot an edge case on your specific OS or Linux distribution. Issues and PRs are always welcome! ⚛️📱&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>javascript</category>
      <category>opensource</category>
      <category>devtool</category>
    </item>
  </channel>
</rss>
