From 7d5c26f25c87ab136754fef8422842f303ea2cc1 Mon Sep 17 00:00:00 2001 From: Thomas Roos Date: Tue, 21 Nov 2023 11:59:35 +0100 Subject: [PATCH] README.md: fix dev setup description --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 617c924..036d3f3 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,14 @@ You can use [`npm link`](https://docs.npmjs.com/cli/v10/commands/npm-link) to de ### In this library repo: ```bash -$ npm link -$ cd your-project +npm install +npm link ``` ### In your-project folder: ```bash -$ npm link aws4embeddedlinux-ci +npm install +npm link ../aws4embeddedlinux-ci ``` This will link through the system `node_modules` install. When using a system node install on Linux, this can require sudo access. To avoid this, use a [node version manager](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#using-a-node-version-manager-to-install-nodejs-and-npm) or [set a node prefix](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally).