pain free NODE.js https://gist.github.com/isaacs/579814
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
make install # ok, fine, this step probably takes more than 30 seconds...
curl -O -L https://npmjs.org/install.sh
Installing the Command-Line Interface
The first step toward developing on Stencil is to install the Stencil CLI (command-line interface). You can do this via the following command:
npm install -g @bigcommerce/stencil-cli
Adding a Base Theme
git clone https://github.com/bigcommerce/cornerstone.git
after download complete cd cornerstone then run
at the top level of your Stencil Theme. It will ask you a few questions to get your started.
to run a local server so you can start developing your theme.
to validate your code and create a zip bundle file that can be uploaded to BigCommerce.
upgrade you cli
npm i -g @bigcommerce/stencil-cli