Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVDOCS-5718: [update] change back to node 18 #27

Merged
merged 2 commits into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions docs/stencil-docs/installing-stencil-cli/installing-stencil.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ This article contains detailed instructions on installing and configuring Stenci
To install Stencil CLI and its dependencies on Mac, open a terminal and run the following commands. Refer to [Stencil CLI README.MD](https://github.com/bigcommerce/stencil-cli) for latest `node` version supported.


<Callout type="info">
These instructions have been tested on **Mac OS X Yosemite**.
</Callout>

```shell showLineNumbers copy
# For ARM based macs
arch -x86_64 /bin/zsh
Expand All @@ -30,10 +26,10 @@ arch -x86_64 /bin/zsh
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash

# Install Stencil CLI supported version of Node.js
nvm install 20.10.0
nvm install 18.15.0

# Switch to Stencil CLI supported version of Node.js:
nvm use 20.10.0
nvm use 18.15.0

# Install Stencil CLI
npm install -g @bigcommerce/stencil-cli
Expand All @@ -56,7 +52,7 @@ choco install git

# Install nvm windows and stencil-compatible node.js

choco install nvm; nvm install 20.10.0; nvm use 20.10.0
choco install nvm; nvm install 18.15.0; nvm use 18.15.0

# Install Stencil CLI
npm install -g @bigcommerce/stencil-cli
Expand All @@ -78,7 +74,7 @@ If you're a pro at installing and configuring Python and Node.js environments on

**Required Dependencies:**
* [Git](https://git-scm.com/downloads) - required to run npm install
* [Node.js 20.10.0 and npm](https://nodejs.org/en/download/releases/)
* [Node.js 18.15.0 and npm](https://nodejs.org/en/download/releases/)

Once they're installed and configured, use `npm` to install Stencil CLI:

Expand All @@ -103,9 +99,9 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
source ~/.bashrc

# Explicitly install and use supported node version
nvm install 20.10.0
nvm install 18.15.0

nvm use 20.10.0
nvm use 18.15.0

# Install stencil
npm install -g @bigcommerce/stencil-cli
Expand Down
Loading