Configuring Node.js Workspaces in Coder
As a developer advocate at Coder, I’m often starting new projects and improving old demos, with Node.js being my language of choice. Coder’s been great for this, as I know that anyone (including myself in a few months) can continue where I left off: inside a cloud dev environment that just works, with all of the correct dependencies.
Coder provides a default Node.js image, which is great for the basics. However, workspaces can be further automated to clone git repos, install specific versions of Node / global packages, set environment variables, and more.
After building a few custom workspaces, I figured I’d write a guide and share some of the things I’ve learned: https://coder.com/docs/guides/customization/node