- Use nodejs without installing it on the host OS
- Use docker-compose to accomplish this
- On your local/remote machine:
curl https://gist.githubusercontent.com/learnwell/953aa51d2322dad484178f3738513c71/raw/docker-compose.yml > docker-compose.yml`
- Run the container in an interactive bash shell:
docker-compose run builder /bin/bash
- Code locally and save
- Run node inside the container
node filename.js
- https://stackoverflow.com/questions/16589511/how-do-i-get-the-raw-version-of-a-gist-from-github
https://gist.githubusercontent.com/{user}/{gist_hash}/raw/{commit_hash}/{file} Note: it is possible to get the latest version by omitting the {commit_hash} part, as shown below: https://gist.githubusercontent.com/{user}/{gist_hash}/raw/{file}