From a8a8f0e07a7c18d8d23999383f3eeee37105af07 Mon Sep 17 00:00:00 2001 From: Aulia Iskandar Lubis Date: Sat, 14 Nov 2026 21:10:46 +0700 Subject: [PATCH] docs(sdk): add Node.js setup steps to JS quickstart prerequisites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Prerequisites section only listed "Node.js LTS", so a first-time reader had to work out how to get a supported Node.js version before running the npm commands. Point at the nvm installation instructions and show the install-then-use sequence, since nvm use only switches to a version that is already installed. Generated with Codebuff 🤖 Co-Authored-By: Codebuff Signed-off-by: Aulia Iskandar Lubis --- docs/sdks/quickstart/javascript.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/sdks/quickstart/javascript.mdx b/docs/sdks/quickstart/javascript.mdx index 1643e304..0ee62223 100644 --- a/docs/sdks/quickstart/javascript.mdx +++ b/docs/sdks/quickstart/javascript.mdx @@ -12,6 +12,15 @@ This guide covers the **JavaScript/TypeScript SDK** implementation. For other la ## Prerequisites - [Node.js LTS](https://nodejs.org/en/about/previous-releases) + - To install Node.js, use [nvm](https://github.com/nvm-sh/nvm#installing-and-updating). Install the current LTS release before selecting it, because `nvm use` only switches to a version that is already installed: + + ```bash + nvm install --lts + nvm use --lts + node --version + ``` + + - Run the `npm` commands in this guide after `nvm use`, so they use the same Node.js version. - Your OpenTDF platform running locally (from the [Getting Started guide](/quickstart)) :::warning Platform Must Be Running