- Create a codespace on GitHub. (They are also refered to as
containers)
-
Make a
.devcontainerfolder and create adevcontainer.jsonfile inside it. -
Copy and paste the following JSON into the
devcontainer.jsonfile:{ "features": { "ghcr.io/devcontainers-extra/features/node-asdf:0": {} }, "postCreateCommand": "npm install" } -
Press
Ctrl + Shift + P, type Rebuild to rebuild your container, and select Full Rebuild.
-
Run
npm installif the container hasn't already executed the command. -
Use
npm startto application.