VSCode DevContainers are way better than installing tools locally and coding on your machine; it prevents tool clutter, and ensures your project is portable across your team.
For Node.js / JavaScript / TypeScript development, just create a .devcontainer/devcontainer.json
file at the top-level
in your workspace with the following contents:
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:18-bullseye"
}
Containers for other languages can be configured by typing "Dev Containers: Add Dev Container Configuration Files" in the VSCode command palette dropdown.