installing nodejs without sudo

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
xpro
Level 1
Level 1
Posts: 14
Joined: Sat Mar 08, 2014 11:52 pm
Contact:

installing nodejs without sudo

Post by xpro »

I need to install Nodejs without sudo, I need it for Appium which states that Nodejs needs to be installed without sudo.I am following this guide

https://medium.com/testcult/configuring ... f8edc02d13

and one of the steps says, I would download Nodejs and then extract it to /usr/local

Code: Select all

cd /usr/local
tar --strip-components 1 -xzf /home/username/Downloads/node-v8.2.1-linux-x64.tar.gz
But I get "Cannot mkdir: Permission denied" when I try to extract without sudo. What should I do?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”