From 306e123622058f46b485022ed2e1728480e35cc0 Mon Sep 17 00:00:00 2001 From: Simon Vanherweghe Date: Tue, 24 Oct 2023 09:30:15 +0200 Subject: [PATCH] create .zshrc file --- docs/modules/packages-02-npm.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/modules/packages-02-npm.md b/docs/modules/packages-02-npm.md index 41b3686..4af2262 100644 --- a/docs/modules/packages-02-npm.md +++ b/docs/modules/packages-02-npm.md @@ -38,6 +38,10 @@ You might have noticed the 'Node' in Node package manager, it won't come as a su ### nvm +:::caution Warning +Be sure to have a `.zshrc` file in your home directory. If you don't have one, create it with `touch ~/.zshrc` Otherwise, the installation of nvm will fail. +::: + To handle different Node.js versions easaly, there is a tool called `nvm` (node version manager) Lets start by [installing](https://github.com/nvm-sh/nvm#installing-and-updating) this one first. [^1] See the documentation for the most recent version, the command is something like this: ```bash