I have been following this LINK to install and use imp-cli.
I am able to install the imp-cli using “npm install -g imp-cli” command as I am able to see this at the end after installation.
/usr/local/bin/imp -> /usr/local/lib/node_modules/imp-cli/bin/imp.js
├── firstname.lastname@example.org (email@example.com)
├── firstname.lastname@example.org (email@example.com, firstname.lastname@example.org)
├── email@example.com (firstname.lastname@example.org)
├── email@example.com (firstname.lastname@example.org)
└── email@example.com (firstname.lastname@example.org)
And the next step is to initialize the imp by using the command “imp login” and when I enter that I am getting this error.
$ imp login
/usr/bin/env: node: No such file or directory
I can see that there is a directory by that name, logs below
/usr/bin$ ls -lh | grep env
-rwxr-xr-x 1 root root 27K Jan 13 2015 env
Kindly, help me in figuring out where the issue is as I am not able to initialize the cli in the first place.