Installing Bigcommerce Stencil CLI
Install Chocolatey
Section titled “Install Chocolatey”Install this using CMD (Admin)
Open Powershell
Section titled “Open Powershell”Start-Process powershell -Verb runAs
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Auto accept prompts
Section titled “Auto accept prompts”choco feature enable -n allowGlobalConfirmation
Install git if you don’t have it
Section titled “Install git if you don’t have it”choco install git
Install nvm windows and stencil-compatible node.js
Section titled “Install nvm windows and stencil-compatible node.js”choco install nvm
nvm install 20.16.0
nvm use 20.16.0
Install Stencil CLI
Section titled “Install Stencil CLI”npm install -g @bigcommerce/stencil-cli
Install Grunt CLI
Section titled “Install Grunt CLI”npm install -g grunt-cli
npm install htmlhint -g
npm -g install js-beautify
npm install -g sass
choco install hugo-extended --ignore-checksums