nodeenv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nodeenv: command not found
or when using sudo you get the following error message
sudo: nodeenv: command not found
Solutions to nodeenv: command not found
How To Fix nodeenv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nodeenv is provided by nodeenv package.
nodeenv is:
Tool to create isolated node.js environments with their own installation directories that don’t share libraries with other node.js virtual environments, similar to a Python virtualenv.
These environments can be integrated with ones created by Python’s virtualenv.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nodeenv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nodeenv.
sudo apt -y install nodeenv
Or if you have aptitude installed you can use the following command.
sudo aptitude install nodeenv
Summary
In this tutorial we learn how to fix nodeenv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.