Ask coding questions

← Back to all posts
Node version in shell and console is version 12, but I want version 16
JoemerRamos

Hello, I used the command npm i node npm but the shell still says version 12. How do I update the shell to the appropriate version.

Voters
JoemerRamos
Comments
hotnewtop
Highwayman

Use Nix. Replit also provided a handy example that is even doing exactly what you want. :)

JoemerRamos

I tried this but it didnt work :( @Highwayman

Highwayman

aw. maybe it's because it's not a Nix Repl. @JoemerRamos