Super explanation about installing node's in ubuntu machine. Actually I am very new to Ubuntu as well java script. But your way of explanation given a very good confidence to run java script from Ubuntu. Thanks a lot dear.
Hi, great step, but I did the whole process on my Kali Linux, but it is still not showing the version; it is still indicating that Node.js is not installed. Is there anything I am doing wrong?
Gracias, pero muchas gracias, sabes que pase mucho sufrimiento encontrar una solución, ya iba a tirar la toalla y dejar de estudiar vi su vídeo hice el último ensayo, Sabes que Bingo lo logré gracias a tí
Hey, it worked almost perfectly for me, but i have this little problem when i try to use npm with sudo it doesn't recognize the command and throws this:sudo: npm: command not found. If i use which npm it shows this /home/mugen-2/nodejs/bin/npm but if use it with sudo it shows nothing. Any idea what can it be?
Also, the output of the $PATH variable is the same regardless of whether i use sudo or my normal user. And i understand that it cant be a permission problem since the problem is with sudo?
Thanks AP for this useful tutorial ! I have two questions for you: I just installed Mint 21 Vanessa 1- When I type "$PATH" in the terminal I get bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/dachalinux/nodejs/bin: No such file or directory When I type "echo $PATH" in the terminal I get /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/dachalinux/nodejs/bin Why do I have the "no such file in the directory" when I just type "$PATH", while with "echo $PATH" everything looks fine ? 2 - Maybe it's not a question for you but - I wanted to start node and npm from the VS Code terminal, but when I type node -v or npm -v from the VS Code terminal, I get - Command not found :/ Thanks for the answers ! Keep up the good work ! BTW I'm using Linux Mint
Greetings ! Thanks a lot for this information. Can I not alos download the snap version ? What is the difference ? Can you provide an explanation please ?
I have installed nodejs as you told and now it is causing some errors and I have to uninstall. So I delete the node js folder and removed path from the .bashrc file. Will these steps remove nodejs complete or I need to take some other measures?
I did exactly as said in the tutorial but after exiting, i typed in node -v and yet it does not show the version. I also added the path properly and yet this is happening. Somewhat weird detail here, when i typed in nano .bashrc for the first time it took me to a completely blank file. in that file i typed in the export path script. then too i checked and it wasn't installed neither did it detected the path. next time i typed in nano .bashrc. it took me to the right file, the one that look similar to yours and there too i wrote the same script. and still no result. PLease help me with this anyone
It seems like in the first time you were not in the home folder. The .bashrc file is located in the home folder. You can always move to your home folder by running cd (with no parameters). For the second time, make sure you close the terminal, then reopen it for the changes you made to the.bashrc file to be applied.
@@absprog Following your tutorial, now i have the latest version of node, but npm does not work. Running which node and which npm returns the following results. /home/yama/nodejs/bin/node /usr/bin/npm
It seems like you had it installed before. We want Ubuntu to use what you have in the home folder, not any residues from /usr/bin Run this: sudo apt purge npm Then try the “which” commands again. You want both of them to be found in your home folder.
@@streamx2 Do the following: 1. After "sudo apt purge npm", run "sudo apt update" and "sudo apt install". Restart and see if the output of which changed. If it didn't, write here the output of: 2. ls /etc/apt/sources.list.d/ 3. cat /etc/apt/sources.list
@@absprog so what i found out it was (begginer here) the command switches from zsh to bash all the time. so when i switch back to bash it was ok... then to zsh didnt work... than magically now it works !! (I have seen your video like 4-5 months ago and with this video i fixed... but today was terrible changing all the time)/ like i did everything like you is on node.js i have wrote with that command export path ...
what really impressed me is that you explain every single step. great job! thank you very much
By far the best video on this topic. Great form of explaining things, very clear. Thank you very much!
I'm happy to hear that the video was clear and to the point. Thanks for watching and leaving a comment Felipe!
What a short and amazing tutorial...went straight to the point. Thanks a bunch 😊
very clear step by step explanation,prescise, worked like a charm, thank you very much
Thank you so much for your kind words!
Not installing node or anything. Just love watching your lessons - unique style. Keep the good work coming 👍
Thanks a lot! Will do!
@@absprog A very clear and very useful video, the only question I have is if you can move the nodejs folder to another path or must it be there?
@@marcoantoniovalencia8694 You can place it anywhere you want, as long as you make sure the location you chose is in the path.
clear, fast & precise - thank you!
Straighaway, short, simple, and crystal clear. Thanks a lot.
Thanks for your kind words!👍
Finally a video where someone don't do it as complicated as possible and just stay simple!
Thanks and welcome 😊👍
love you brother very nice content you deserve 1 million subs
Thank you so much for your kind words! I'm glad I could help you out Mohit. I wish you all the best going forward
Great videos, greetings from Colombia!
Thanks, greetings!
Thank you so much
Earlier I faced the Hash Sum Mismatch
With this Video, now I'm able to proceed..
Thank you for your feedback! I'm glad that my video was able to help you 👍
I
tried all the other tuts but they were of no use for me but the solution that u showed worked for me and i'm very thankful to u
That makes me so happy to hear that the explanation worked well for you👏
Thank you, this works for me in kubuntu 22.04.1.
Super explanation about installing node's in ubuntu machine. Actually I am very new to Ubuntu as well java script. But your way of explanation given a very good confidence to run java script from Ubuntu. Thanks a lot dear.
You are welcome!
I am watching this in the very end of 2024 and was downloading node version v22.12.0 everything still works very well u can follow along today too..
👍
thank you, clear explanations
Hi, great step, but I did the whole process on my Kali Linux, but it is still not showing the version; it is still indicating that Node.js is not installed. Is there anything I am doing wrong?
after so many solution finds the great content here 😀
how easily you explain each single step.
Thanks a lot .😊😊😊🙂🙂🙂
Glad you liked it! 😊 Thank you too!
you did a great job. it`s simpler ,great & lovely
Gracias, pero muchas gracias, sabes que pase mucho sufrimiento encontrar una solución, ya iba a tirar la toalla y dejar de estudiar vi su vídeo hice el último ensayo, Sabes que Bingo lo logré gracias a tí
Realmente me alegra el día leer comentarios como el tuyo. Muchas gracias
Thank you for the explanation. Is it still the case? I just checked, apt-cache node gives the latest version as well.
Did you used to work at Sony with me in San Diego & Teach Qi-Gong in the Break Room?
Hey, it worked almost perfectly for me, but i have this little problem when i try to use npm with sudo it doesn't recognize the command and throws this:sudo: npm: command not found. If i use which npm it shows this /home/mugen-2/nodejs/bin/npm but if use it with sudo it shows nothing. Any idea what can it be?
Also, the output of the $PATH variable is the same regardless of whether i use sudo or my normal user. And i understand that it cant be a permission problem since the problem is with sudo?
Take a look here, hopefully it will help clarify it:
ua-cam.com/video/q9C72CBJkLY/v-deo.html
Thanks AP for this useful tutorial !
I have two questions for you:
I just installed Mint 21 Vanessa
1- When I type "$PATH" in the terminal I get
bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/dachalinux/nodejs/bin: No such file or directory
When I type "echo $PATH" in the terminal I get
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/dachalinux/nodejs/bin
Why do I have the "no such file in the directory" when I just type "$PATH", while with "echo $PATH" everything looks fine ?
2 - Maybe it's not a question for you but - I wanted to start node and npm from the VS Code terminal, but when I type node -v or npm -v from the VS Code terminal, I get - Command not found :/
Thanks for the answers ! Keep up the good work !
BTW I'm using Linux Mint
Greetings ! Thanks a lot for this information.
Can I not alos download the snap version ? What is the difference ? Can you provide an explanation please ?
You're the best sir. ❤❤ now, I can install tar files next time.
You just earn a new subscriber 😊
Glad to hear that!👍
Thank you very much, I tried many links but didn't work. Thank you once again :)
You’re welcome, glad it worked for you!
I feel the need to like this video. Rarely I feel it. Clear explanations! Thanks
Thank you for your feedback. It is much appreciated 👍
Hi I keep having the same problem no matter what solution I use. I keep getting "Unable to locate package nodejs'
woow this is amazing
and too i liked how you keep on shaking your head lmaaooo
Thanks 😅
when i type node -v in the bin directory it gave this "bash: ./node: cannot execute binary file: Exec format error
"
Thanks, I am new at Linux and I was struggling with this.
Much luck with your Linux journey👍
Thank you so much , i really stuck in this problem
Glad it helped! 👍
Other tutorials just copy paste from google. Thank you this was really helpful.
Thank you for your feedback and support 👍
You provide great and to the point video. Keep it up my friend.
I got it working by going to the /usr/bin folder and running the rm -rf npm command and also the same command with npx
Thanks a lot for the input!
Best tutorial for Ubuntu 22, thanks a lot
I appreciate your comment Irsan! It's always great to hear that viewers find my videos helpful.
much love from germany, thank you so much :)
Greetings back to you Güney! Thank you for taking the time to leave a comment!
I have installed nodejs as you told and now it is causing some errors and I have to uninstall. So I delete the node js folder and removed path from the .bashrc file. Will these steps remove nodejs complete or I need to take some other measures?
Amazingly explained and very easy to understand, thank you very much‼️ 🤝
Thanks for your support and kind words! 🤝
Yes! Thank you very much for this great tutorial. This is exactly what I was looking for! Spot on! Very good explanations.
Thanks for your support and kind words!👍
thanks for the great tutorial! Helped a lot :)
This guy is the champ......
Thanks for your support🙏
Your video is a reference, keep it up
Thanks for your support👍
Simple and to the point. Thanks for sharing.
I'm glad you found the video clear and concise. Thanks for taking the time to watch and comment.
The Exact thing I was looking for! Thanks a lot.
I am glad you found this helpful👍
@@absprog ❤️❤️
cant acess npm module after doing this : shows "/home/user/nodejs/bin/npm: Permission denied
"
Thanks for this video. It saved me hours of trouble.
You’re welcome!
Thank You, legend. God bless you Sir.
Thanks for your support. Blessings to you as well🙏
From now on I want every tutorial is presented by you
It's great to know that my efforts were appreciated and I'm glad you found this helpful. Thank you Ryan 👍
Thankyou so much. I am struggling for 2 hours more.
Please make a vid on complete java environment on this new ubuntu LTS as my installation is not showing any jdk during compiling
;
Do you use IntelliJ Idea?
Thank you sir, for solving my big problem 😊
I'm glad you found this helpful👍
I did all the steps but nodejs -v still does not work.
The video was of great help. Thankyou
I am glad you found this helpful Sanjana 😊
very useful and concise, thanks!
Thank you for your feedback!👍
Best guide ever thanks lot sir.
Thanks for your support and kind words! 👍
thank you so much. really appreciated. I wasted my whole day after this.
Glad I could help
i like the way you explain
You're welcome!
Thanks, greetings from Colombia
Thank you too Diego!
wonderful Job MR! Thank you
Thank you too
sir could you post mogodb installaion of ubuntu 22.04
Thanks man!
It did help alot.
Glad to hear that!
Thank you very much. This helped me a lot.
That's great to hear
I did exactly as said in the tutorial but after exiting, i typed in node -v and yet it does not show the version. I also added the path properly and yet this is happening.
Somewhat weird detail here, when i typed in nano .bashrc for the first time it took me to a completely blank file. in that file i typed in the export path script. then too i checked and it wasn't installed neither did it detected the path. next time i typed in nano .bashrc. it took me to the right file, the one that look similar to yours and there too i wrote the same script. and still no result. PLease help me with this anyone
It seems like in the first time you were not in the home folder. The .bashrc file is located in the home folder. You can always move to your home folder by running cd (with no parameters).
For the second time, make sure you close the terminal, then reopen it for the changes you made to the.bashrc file to be applied.
Thank you so Much! From Brazil...
You are welcome Paulo!
You are indeed a superstar!
Thank you very much! 🤗
thanks a lot, you saved me a lot of trouble
Glad I could help! 👍
That's truly simple. Thank you
You're welcome! 👍
Best chanel ever
Wow, thank you! 🤗
Excelent tutorial!! thanks from a noob.
Glad you liked it!
Thank You this solved my problem.
Thanks for letting me know that the explanation worked well for you. 👍
good to know, but i'm using fish, not bash :(
can you do the same for mongodb ? I'm thinking in install windows :O~
thanks again!!! this helped me a lot
I'm glad to hear that you found the tutorial helpful 👍
Awesome tutorial. keep it up. Thank you!!
omg!!!! found it veryy useful tysm
You're most welcome!😊
God bless you, man!!!
Thank you Victor! May you also be blessed in all that you do!
sir please make a video on how to install nvm.node version manager
ua-cam.com/video/KQSgDLWNniA/v-deo.html
Thank you very much Sir.....good explain
Thanks and welcome 👍
thanks for this tutorial. clear and precise
Glad you liked it! Thank you too Obiagba 👍
thank you very much sir, you are my savior!
Thank Dud! Love You!
I used to have the same version after follow the same steps. My solution was in .bashrc: first added the bin route then :$PATH
You probably installed it with apt install first. If you apt removed it, the order would not matter.
I wish you also showed npm because it does not work for me
Run these commands in the terminal:
which node
which npm
What do you get?
@@absprog Following your tutorial, now i have the latest version of node, but npm does not work. Running which node and which npm returns the following results. /home/yama/nodejs/bin/node
/usr/bin/npm
It seems like you had it installed before. We want Ubuntu to use what you have in the home folder, not any residues from /usr/bin
Run this: sudo apt purge npm
Then try the “which” commands again. You want both of them to be found in your home folder.
still shows /usr/bin. I closed the terminal and opened it again
@@streamx2 Do the following:
1. After "sudo apt purge npm", run "sudo apt update" and "sudo apt install". Restart and see if the output of which changed. If it didn't, write here the output of:
2. ls /etc/apt/sources.list.d/
3. cat /etc/apt/sources.list
Really amazing video, it's solved my problem quickly. Keep it up.
Thanks for your support and kind words! 👍
Not working in my friends machine. Please help me... Lob ya
thanks man , you did a great work
Glad you liked it!
Thank you so much. Hope this helps
👍
This video has saved me yesterday and was totally working and right now it says like command not found: node. driving me crazy
Run this command:
echo $path
What do you get?
@@absprog so what i found out it was (begginer here) the command switches from zsh to bash all the time. so when i switch back to bash it was ok... then to zsh didnt work... than magically now it works !! (I have seen your video like 4-5 months ago and with this video i fixed... but today was terrible changing all the time)/ like i did everything like you is on node.js i have wrote with that command export path ...
like right now: 13:24 => node -v (zsh:command not found: node)
Thank you!! Awesome tutorial!
Thank you for your kind words Érica! 🤗
thank you so much!!!!!!!!!!!! you're the best
Thanks for your support and kind words!👍
wow very very useful video for me thank you very much :)
That's great to hear :-) Thanks for the feedback!
@@absprog 😄😄😄😄
The abosolute best.
Thanks!!!!!!!
Thanks and welcome 😊
GOLD !!! 🙏🙏🙏🙏
You are very welcome 👍
Thank you so much!!!!!! Great tutorial
Very helpul ! Thank you very much
Thank you for your feedback👍
Thank you so much! I really appreciate it! o/
Glad I could help Anderson! 👍
Thank you very much! 🙂
Thanks for taking the time to watch and comment Marina 🤗
1:36 the version is 12.22 not 20.22 Sir
👍