See the Chain Node.js SDK GitHub page for recommended installation and usage. (https://github.com/chain/chain/tree/main/sdk/node)
- Recommended Tools
The examples I have provided where develped using Microsoft's Visual Studio Code (https://code.visualstudio.com/download). This editor is great because its really fast, customizable and runs on just about any OS.