Installing Stencil CLI | BigCommerce Dev Center

PHOTO EMBED

Fri Apr 05 2024 08:27:23 GMT+0000 (Coordinated Universal Time)

Saved by @ioVista

# Download and install nvm if you don't have it.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
 
# Reload .bashrc so nvm command works
source ~/.bashrc
 
# Explicitly install and use supported node version
nvm install 18.15.0
 
nvm use 18.15.0
 
# Install stencil
npm install -g @bigcommerce/stencil-cli
content_copyCOPY

https://developer.bigcommerce.com/docs/storefront/stencil/cli/install