How do you convert a blank repl into node.js?

I am collaborating on a repl, and need to change it to node.js to work. I used the bash command sudo apt install nodejs but it doesn’t work.

Hey @AMDryzen5600X, welcome to the forums!

Maybe this command will work in the shell :

nix-shell -p nodejs
2 Likes

Thanks, this worked!

1 Like

@AMDryzen5600X, glad to hear!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.