From 9cb1c92bb130f2e4c0c9717a78c02b4571c7761e Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 20:26:13 +0000 Subject: [PATCH 1/2] Add Node.js and npm version requirements to CLI installation docs --- fern/products/cli-api-reference/pages/cli-get-started.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fern/products/cli-api-reference/pages/cli-get-started.mdx b/fern/products/cli-api-reference/pages/cli-get-started.mdx index 11104d4e6..0045b1fea 100644 --- a/fern/products/cli-api-reference/pages/cli-get-started.mdx +++ b/fern/products/cli-api-reference/pages/cli-get-started.mdx @@ -10,6 +10,8 @@ The Fern CLI lets you initialize projects, validate API definitions, preview cha ## Installation +The Fern CLI requires [Node.js](https://nodejs.org/) version 18 or higher. Any npm version that ships with Node.js 18+ is supported. + Run the following command to install the Fern CLI globally from [npm](https://www.npmjs.com/): ```bash From 36fa116cd9e3315f71ad1d480d2f47dea06cca21 Mon Sep 17 00:00:00 2001 From: Devin Logan Date: Wed, 25 Mar 2026 16:42:47 -0400 Subject: [PATCH 2/2] make steps more explicit --- .../pages/cli-get-started.mdx | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/fern/products/cli-api-reference/pages/cli-get-started.mdx b/fern/products/cli-api-reference/pages/cli-get-started.mdx index 0045b1fea..e70011984 100644 --- a/fern/products/cli-api-reference/pages/cli-get-started.mdx +++ b/fern/products/cli-api-reference/pages/cli-get-started.mdx @@ -10,15 +10,31 @@ The Fern CLI lets you initialize projects, validate API definitions, preview cha ## Installation -The Fern CLI requires [Node.js](https://nodejs.org/) version 18 or higher. Any npm version that ships with Node.js 18+ is supported. + + + +The Fern CLI requires [Node.js](https://nodejs.org/) version 18 or higher and npm version 8.6.0 or higher (ships with Node.js 18). + +```bash +node -v # Must be v18.0.0 or higher +``` + +If your version is below the minimum, [download the latest Node.js LTS](https://nodejs.org/) which includes a compatible npm version. + + + + Run the following command to install the Fern CLI globally from [npm](https://www.npmjs.com/): ```bash npm install -g fern-api -fern -v +fern -v # Verify the installation ``` + + + If you prefer to manage Fern as a project dependency or are working in an environment with limited internet connectivity, install the CLI locally: