<?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: Caglar</title>
    <description>The latest articles on DEV Community by Caglar (@caglaroptimum7).</description>
    <link>https://dev.to/caglaroptimum7</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%2F301287%2F7cd9c360-8bca-4cac-b76d-f582ff35af1d.jpeg</url>
      <title>DEV Community: Caglar</title>
      <link>https://dev.to/caglaroptimum7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/caglaroptimum7"/>
    <language>en</language>
    <item>
      <title>How can I run natively 'Big Commerce Stencil CLI' on Apple Silicon M1 Chip</title>
      <dc:creator>Caglar</dc:creator>
      <pubDate>Mon, 12 Jul 2021 21:45:00 +0000</pubDate>
      <link>https://dev.to/caglaroptimum7/how-can-i-run-natively-big-commerce-stencil-cli-on-apple-silicon-m1-chip-3m1h</link>
      <guid>https://dev.to/caglaroptimum7/how-can-i-run-natively-big-commerce-stencil-cli-on-apple-silicon-m1-chip-3m1h</guid>
      <description>&lt;p&gt;I am a front-end engineer who mostly works on a Bigcommerce platform. &lt;strong&gt;Bigcommerce&lt;/strong&gt; uses a handlebar with the 'stencil command line interface' and it requires 'node version manager' (nvm).&lt;/p&gt;

&lt;p&gt;I switched my Intel Macbook Pro with &lt;strong&gt;M1 Chip Macbook Pro&lt;/strong&gt; then I couldn't realize this migration will be a little bit &lt;strong&gt;ticky.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I installed homebrew then node and nvm packages then I followed the steps on &lt;a href="https://developer.bigcommerce.com/stencil-docs/installing-stencil-cli/installing-stencil" rel="noopener noreferrer"&gt;bigcommerce developer website.&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;However, almost every project gives different errors but all of them are related to the 'node' version. I've gotten few-hour research on Google but these were not about BigCommerce 'stencil-cli',&lt;/p&gt;

&lt;p&gt;Jump to 'TL;DR'&lt;br&gt;
Here is the perfect version of the NVM for your delicious Stencil Templates.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# For ARM based macs // for bash
arch -x86_64 /bin/zsh

# For ARM based macs // for Fish Shell
arch -x86_64 /usr/local/bin/fish

brew install node
brew install nvm

# which is LTS for v12
nvm install 12.13.0
nvm alias default 12.13.0
npm install -g @bigcommerce/stencil-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then start your project with&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;stencil start -o
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.ibb.co%2FcLqphHM%2Fbigcommerce-stencil-apple-m1-chip-optimum7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.ibb.co%2FcLqphHM%2Fbigcommerce-stencil-apple-m1-chip-optimum7.png" alt="Current Version Of my NVM"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please check out &lt;a href="https://optimum7.com" rel="noopener noreferrer"&gt;our website&lt;/a&gt; to get more information about BigCommerce Development and Marketing.&lt;/p&gt;

&lt;p&gt;Thanks for reading, Happy hacking 🧡&lt;/p&gt;

</description>
      <category>bigcommerce</category>
      <category>stencil</category>
      <category>applesilicon</category>
      <category>m1chip</category>
    </item>
  </channel>
</rss>
