Please ensure you have the latest version of Node.JS LTS from here
You can install the package using the following command:
npm install @inworld/nodejs-sdk
yarn add @inworld/nodejs-sdk
note that if you have not installed yarn before, you need to use the following command first.
// The --global flag ensures that yarn is installed globally so that we can use it in all projects.
npm install yarn --global
You can learn more about the differences between YARN and NPM here