From fcd2889fd711fab2881c3250ae13f024376f889f Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 15 Apr 2022 12:01:05 +0300 Subject: [PATCH] added node version to necessary docs (#1346) --- docs/content/quickstart/quick-start.md | 12 +++++++++++- .../0-set-up-your-development-environment.md | 10 ++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/content/quickstart/quick-start.md b/docs/content/quickstart/quick-start.md index fab609b676..5a466cd195 100644 --- a/docs/content/quickstart/quick-start.md +++ b/docs/content/quickstart/quick-start.md @@ -1,6 +1,16 @@ # Quickstart -This quickstart is intended for experienced developers, that are accustomed with concepts like JavaScript, Node.js, SQL and the command line. For a more gentle introduction, see our tutorial on [how to set up your development environment](https://docs.medusajs.com/tutorial/set-up-your-development-environment). +This quickstart is intended for experienced developers, that are accustomed with concepts like JavaScript, Node.js, SQL and the command line. For a more gentle introduction, see our tutorial on [how to set up your development environment](../tutorial/0-set-up-your-development-environment.md). + +## Prerequisites + +Medusa supports Node versions 14 and 16. You can check which version of Node you have by running the following command: + +```bash +node -v +``` + +You can install Node from the [official website](https://nodejs.org/en/). ## Getting started diff --git a/docs/content/tutorial/0-set-up-your-development-environment.md b/docs/content/tutorial/0-set-up-your-development-environment.md index 6530ac18b8..ba0328af8a 100644 --- a/docs/content/tutorial/0-set-up-your-development-environment.md +++ b/docs/content/tutorial/0-set-up-your-development-environment.md @@ -42,6 +42,16 @@ Node.js is an environment that can execute JavaScript code on outside of the bro Node.js has a bundled package manager called npm. npm helps you install "packages" which are small pieces of code that you can leverage in your Node.js applications. Medusa's core is itself a package distributed via npm and so are all of the plugins that exist around the core. [You can install Node.js from here.](https://nodejs.org/en/) +:::caution + +Medusa supports Node versions 14 and 16. You can check which Node version you have using the following command: + +```bash +node -v +``` + +::: + If you prefer using something like homebrew you can also run: ```