<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="195487" data-post-id="195487">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="andyduong1920" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/andyduong1920/120/20178_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  andyduong1920
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="albydarned" data-post="3" data-topic="35699">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albydarned/48/16621_2.png" class="avatar"> albydarned:</div>
<blockquote>
<p>ASDF</p>
</blockquote>
</aside>
<p>Have you tried with asdf? There is an issue with OTP on BigSur but we can bypass that following <a href="https://github.com/asdf-vm/asdf-erlang/issues/161#issuecomment-731558207" class="inline-onebox" rel="noopener nofollow ugc">Configure error with erlang 23.0.3 in MacOS 11 (Big sur) · Issue #161 · asdf-vm/asdf-erlang · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195487" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-195487" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195487"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="195530" data-post-id="195530">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albydarned" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albydarned/120/16621_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albydarned
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Getting closer! Trying to install OTP 19.2 these are my results:</p>
<p>Followed this guide to create a rosetta terminal shortcut: <a href="https://osxdaily.com/2020/11/18/how-run-homebrew-x86-terminal-apple-silicon-mac/" class="inline-onebox" rel="noopener nofollow ugc">How to Run Homebrew &amp; x86 Terminal Apps on M1 Macs - OS X Daily</a></p>
<p>Followed your link to edit the build and ran all commands in the rosetta terminal: <a href="https://github.com/asdf-vm/asdf-erlang/issues/161" class="inline-onebox" rel="noopener nofollow ugc">Configure error with erlang 23.0.3 in MacOS 11 (Big sur) · Issue #161 · asdf-vm/asdf-erlang · GitHub</a></p>
<p>Now i’m getting this error:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Build failed.
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/netinet6/in6.h:215:30: note: previous declaration is here
extern const struct in6_addr in6addr_loopback;
</code></pre>
<p>Something to do with xcode tools related to this issue: <a href="https://github.com/asdf-vm/asdf-erlang/issues/158" class="inline-onebox" rel="noopener nofollow ugc">builds failing on OSX Catalina · Issue #158 · asdf-vm/asdf-erlang · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195530" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-195530" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195530"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="195531" data-post-id="195531">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="albydarned" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/albydarned/120/16621_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  albydarned
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>So far i’ve gotten 1.11 working using homebrew using the link I posted above. I don’t know if there are any nuances but it seems to be working.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195531" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-195531" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195531"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="195769" data-post-id="195769">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="wallyfoo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wallyfoo/120/16837_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  wallyfoo
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just used Migration Assistant to transfer everything from my 2017 MBP to my new Mac mini. Whatever I had running with Elixir on the old system just works for me. I presume this is Rosetta 2 magic.</p>
<p>I had to launch VSCode twice. The first time the Elixir LS plugin crashed. Second time, no issues.</p>
<p>I’ve not tried to recompile or install the latest version yet. Was holding off for official main branch support because what I have works just fine for now.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195769" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-195769" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195769"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="195994" data-post-id="195994">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zacky1972" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zacky1972/120/8278_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zacky1972
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Pelemay</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I tried this Homebrew: <a href="https://github.com/mikelxc/Workarounds-for-ARM-mac" class="inline-onebox" rel="noopener nofollow ugc">GitHub - mikelxc/Workarounds-for-ARM-mac: This repository describes how I get most of my configurations work on the new Apple Silicon Mac · GitHub</a></p>
<p>And brew install elixir, and then, I can install Elixir on Arm binary!</p>
<blockquote>
<p>% file /opt/homebrew/Cellar/erlang/23.1.4/lib/erlang/erts-11.1.3/bin/erlexec<br>
/opt/homebrew/Cellar/erlang/23.1.4/lib/erlang/erts-11.1.3/bin/erlexec: Mach-O 64-bit executable arm64</p>
</blockquote> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="195994" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-195994" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="195994"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #15"></div>
  </section>
</div>
    <div class="postbit" id="196055" data-post-id="196055">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zacky1972" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zacky1972/120/8278_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zacky1972
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Pelemay</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>However, asdf doesn’t work. There are two issues, at least:</p>
<ol>
<li>It requires brew install curl, but it failed currently because installing sphinx-doc failed.</li>
<li>asdf install erlang 23.1.4 raises an error while configure. To fix it according to <a href="https://github.com/asdf-vm/asdf-erlang/issues/161" class="inline-onebox" rel="noopener nofollow ugc">Configure error with erlang 23.0.3 in MacOS 11 (Big sur) · Issue #161 · asdf-vm/asdf-erlang · GitHub</a> ,  tar czvf OTP-23.1.4.tar.gz otp-OTP-23.1.4 doesn’t work due to an error:  tar: Failed to clean up compressor</li>
</ol> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="196055" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-196055" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="196055"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #16"></div>
  </section>
</div>
    <div class="postbit" id="197146" data-post-id="197146">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rjk" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rjk/120/1293_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rjk
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I can confirm that installing elixir “just works” on a new Macbook Air M1 with a single <code>brew install elixir</code> for me when installing brew in /opt/homebrew (as advised by homebrew).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="197146" data-batch-url="/posts/batch_likers">
                        4
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-197146" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="197146"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #17"></div>
  </section>
</div>
    <div class="postbit" id="198181" data-post-id="198181">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="aswinmohanme" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/aswinmohanme/120/25377_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  aswinmohanme
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I made Elixir work using asdf on my M1 Macbook Air.</p>
<ul>
<li>First setup <code>asdf</code> using the git install method.</li>
<li>Add the <code>elixir</code> and <code>erlang</code> plugins.</li>
<li>Run <code>asdf install erlang latest</code> this works without any modification.</li>
<li><code>asdf install elixir latest</code> hangs though. To fix it run <code>arch -x86_64 asdf install elixir latest</code> to install with rosetta</li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="198181" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-198181" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="198181"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #18"></div>
  </section>
</div>
    <div class="postbit" id="199254" data-post-id="199254">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="wallyfoo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wallyfoo/120/16837_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  wallyfoo
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>A little thread necromancy here.</p>
<p>Decided to update to the M1 homebrew (/opt/homebrew install). Installed adsf. Used asdf to grab the latest Erlang.</p>
<p>And then I was able to use <code>asdf install elixir latest</code>. It worked without caveat.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="199254" data-batch-url="/posts/batch_likers">
                        6
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-199254" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="199254"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="199260" data-post-id="199260">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rjk" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rjk/120/1293_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rjk
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Also another update from me then <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p>Most intellij products are updated to M1 versions days ago, so now you can also use their intellij + elixir plugin native on the M1 machines. They came up in the intellij toolbox under a different name next to the old ones e.g. ‘Intellij IDEA Ultimate for Apple Silicon’.</p>
<p>VSCode(+elixirLS) was already working native if you use the ‘exploration’ / insiders build (see <a href="https://code.visualstudio.com/insiders/" class="inline-onebox" rel="noopener nofollow ugc">Download Visual Studio Code Insiders</a> small download link for ARM64).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="199260" data-batch-url="/posts/batch_likers">
                        5
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/erlang-and-elixir-on-apple-silicon-m1-chip/35699/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-199260" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="199260"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/35699/load_more?page=3">Load more posts (45 remaining)</a>
</div></template></turbo-stream>