NVM can not install nodejs on Ubuntu

  • 0

NVM can not install nodejs on Ubuntu throwing a "curl: (23) Failure writing output to destination" error.

Problem Cause

Installing Curl with snap instead of apt curl. This is a bug that makes curl not able to write files in dot-leading directories.

Solution

Removed curl with sudo snap remove curl and reinstall it with sudo apt install curl, the current curl version is 7.68.0.

Try installing NVM again to resolve your problem.

N/B

Make sure you do it on a New Terminal

Hope this helps. If it did hit a thumbs up to help another one. God Bless you in Christ Jesus.


Was this answer helpful?

« Back

Say Hello

Let's get you started