NodeJS Installation on Ubuntu 22.04

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 315

  • @kyklotron
    @kyklotron 2 роки тому +33

    what really impressed me is that you explain every single step. great job! thank you very much

  • @MrFelipeTutoriais
    @MrFelipeTutoriais Рік тому +7

    By far the best video on this topic. Great form of explaining things, very clear. Thank you very much!

    • @absprog
      @absprog  Рік тому +3

      I'm happy to hear that the video was clear and to the point. Thanks for watching and leaving a comment Felipe!

  • @muftaudeenjimoh9678
    @muftaudeenjimoh9678 2 роки тому +6

    What a short and amazing tutorial...went straight to the point. Thanks a bunch 😊

  • @arizzen8663
    @arizzen8663 Рік тому +2

    very clear step by step explanation,prescise, worked like a charm, thank you very much

    • @absprog
      @absprog  Рік тому +1

      Thank you so much for your kind words!

  • @g7k993
    @g7k993 2 роки тому +5

    Not installing node or anything. Just love watching your lessons - unique style. Keep the good work coming 👍

    • @absprog
      @absprog  2 роки тому +2

      Thanks a lot! Will do!

    • @marcoantoniovalencia8694
      @marcoantoniovalencia8694 2 роки тому

      @@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?

    • @absprog
      @absprog  2 роки тому +1

      @@marcoantoniovalencia8694 You can place it anywhere you want, as long as you make sure the location you chose is in the path.

  • @franbonino518
    @franbonino518 2 роки тому +6

    clear, fast & precise - thank you!

  • @AmmarMujtabaTariq-zv8zp
    @AmmarMujtabaTariq-zv8zp 11 місяців тому

    Straighaway, short, simple, and crystal clear. Thanks a lot.

    • @absprog
      @absprog  11 місяців тому

      Thanks for your kind words!👍

  • @tropicalbottle
    @tropicalbottle Рік тому

    Finally a video where someone don't do it as complicated as possible and just stay simple!

    • @absprog
      @absprog  Рік тому

      Thanks and welcome 😊👍

  • @IdentiyX
    @IdentiyX Рік тому +1

    love you brother very nice content you deserve 1 million subs

    • @absprog
      @absprog  Рік тому +1

      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

  • @danielswxrd
    @danielswxrd 2 роки тому +2

    Great videos, greetings from Colombia!

    • @absprog
      @absprog  2 роки тому

      Thanks, greetings!

  • @littlethings3164
    @littlethings3164 Рік тому

    Thank you so much
    Earlier I faced the Hash Sum Mismatch
    With this Video, now I'm able to proceed..

    • @absprog
      @absprog  Рік тому

      Thank you for your feedback! I'm glad that my video was able to help you 👍

  • @allinoneforyou8074
    @allinoneforyou8074 11 місяців тому

    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

    • @absprog
      @absprog  11 місяців тому

      That makes me so happy to hear that the explanation worked well for you👏

  • @albertocastro3462
    @albertocastro3462 2 роки тому +1

    Thank you, this works for me in kubuntu 22.04.1.

  • @1rajuindia
    @1rajuindia 2 роки тому

    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.

    • @absprog
      @absprog  2 роки тому

      You are welcome!

  • @DurvangChavan
    @DurvangChavan 2 місяці тому

    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..

  • @IgnatiusMadeElvriyanto
    @IgnatiusMadeElvriyanto 2 роки тому +6

    thank you, clear explanations

  • @AyodejiAbiodun-m4z
    @AyodejiAbiodun-m4z 11 місяців тому

    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?

  • @vikrant5842
    @vikrant5842 2 роки тому

    after so many solution finds the great content here 😀

  • @subhashthenua7404
    @subhashthenua7404 2 роки тому

    how easily you explain each single step.
    Thanks a lot .😊😊😊🙂🙂🙂

    • @absprog
      @absprog  2 роки тому +1

      Glad you liked it! 😊 Thank you too!

  • @rakeshranjan2276
    @rakeshranjan2276 2 роки тому +3

    you did a great job. it`s simpler ,great & lovely

  • @leopoldo_jaramillo
    @leopoldo_jaramillo 2 роки тому +1

    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í

    • @absprog
      @absprog  2 роки тому +1

      Realmente me alegra el día leer comentarios como el tuyo. Muchas gracias

  • @idle.observer
    @idle.observer 11 місяців тому

    Thank you for the explanation. Is it still the case? I just checked, apt-cache node gives the latest version as well.

  • @Agileprofi
    @Agileprofi Рік тому

    Did you used to work at Sony with me in San Diego & Teach Qi-Gong in the Break Room?

  • @drimus14
    @drimus14 Рік тому +1

    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?

    • @drimus14
      @drimus14 Рік тому

      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?

    • @absprog
      @absprog  Рік тому

      Take a look here, hopefully it will help clarify it:
      ua-cam.com/video/q9C72CBJkLY/v-deo.html

  • @dachapbgIsmyName
    @dachapbgIsmyName 2 роки тому

    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

  • @Barry_disgruntled
    @Barry_disgruntled Рік тому

    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 ?

  • @Hamzatronics
    @Hamzatronics 10 місяців тому

    You're the best sir. ❤❤ now, I can install tar files next time.
    You just earn a new subscriber 😊

    • @absprog
      @absprog  10 місяців тому

      Glad to hear that!👍

  • @AmoghTelkar
    @AmoghTelkar 2 роки тому +2

    Thank you very much, I tried many links but didn't work. Thank you once again :)

    • @absprog
      @absprog  2 роки тому

      You’re welcome, glad it worked for you!

  • @user-hi8lv6ku1d
    @user-hi8lv6ku1d Рік тому

    I feel the need to like this video. Rarely I feel it. Clear explanations! Thanks

    • @absprog
      @absprog  Рік тому

      Thank you for your feedback. It is much appreciated 👍

  • @Teacher2tech
    @Teacher2tech Рік тому

    Hi I keep having the same problem no matter what solution I use. I keep getting "Unable to locate package nodejs'

  • @uafcr-music
    @uafcr-music 2 роки тому

    woow this is amazing
    and too i liked how you keep on shaking your head lmaaooo

  • @killua5818
    @killua5818 Рік тому

    when i type node -v in the bin directory it gave this "bash: ./node: cannot execute binary file: Exec format error
    "

  • @nikhillakhani6360
    @nikhillakhani6360 Рік тому

    Thanks, I am new at Linux and I was struggling with this.

    • @absprog
      @absprog  Рік тому

      Much luck with your Linux journey👍

  • @rahul.jagtap
    @rahul.jagtap 2 роки тому +1

    Thank you so much , i really stuck in this problem

    • @absprog
      @absprog  2 роки тому +1

      Glad it helped! 👍

  • @OtobongPeter
    @OtobongPeter Рік тому

    Other tutorials just copy paste from google. Thank you this was really helpful.

    • @absprog
      @absprog  Рік тому

      Thank you for your feedback and support 👍

  • @moderndocumentaries3330
    @moderndocumentaries3330 2 роки тому +1

    You provide great and to the point video. Keep it up my friend.

  • @streamx2
    @streamx2 2 роки тому +1

    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

    • @absprog
      @absprog  2 роки тому

      Thanks a lot for the input!

  • @irsanjamaludin2915
    @irsanjamaludin2915 Рік тому

    Best tutorial for Ubuntu 22, thanks a lot

    • @absprog
      @absprog  Рік тому

      I appreciate your comment Irsan! It's always great to hear that viewers find my videos helpful.

  • @south._g
    @south._g Рік тому

    much love from germany, thank you so much :)

    • @absprog
      @absprog  Рік тому

      Greetings back to you Güney! Thank you for taking the time to leave a comment!

  • @pakistan3965
    @pakistan3965 6 місяців тому

    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?

  • @jotaro-gogogo
    @jotaro-gogogo Рік тому

    Amazingly explained and very easy to understand, thank you very much‼️ 🤝

    • @absprog
      @absprog  Рік тому

      Thanks for your support and kind words! 🤝

  • @BioCreed12
    @BioCreed12 Рік тому

    Yes! Thank you very much for this great tutorial. This is exactly what I was looking for! Spot on! Very good explanations.

    • @absprog
      @absprog  Рік тому

      Thanks for your support and kind words!👍

  • @ehrlicherdude8932
    @ehrlicherdude8932 2 роки тому +2

    thanks for the great tutorial! Helped a lot :)

  • @SapkoprSilwal
    @SapkoprSilwal Рік тому +1

    This guy is the champ......

    • @absprog
      @absprog  Рік тому

      Thanks for your support🙏

  • @ABDELKHALEKSAADANI
    @ABDELKHALEKSAADANI Рік тому

    Your video is a reference, keep it up

    • @absprog
      @absprog  Рік тому

      Thanks for your support👍

  • @moukafaslouka4796
    @moukafaslouka4796 Рік тому +1

    Simple and to the point. Thanks for sharing.

    • @absprog
      @absprog  Рік тому +1

      I'm glad you found the video clear and concise. Thanks for taking the time to watch and comment.

  • @tusharverma4202
    @tusharverma4202 Рік тому

    The Exact thing I was looking for! Thanks a lot.

  • @roshith5006
    @roshith5006 2 роки тому

    cant acess npm module after doing this : shows "/home/user/nodejs/bin/npm: Permission denied
    "

  • @karan_0293
    @karan_0293 2 роки тому

    Thanks for this video. It saved me hours of trouble.

    • @absprog
      @absprog  2 роки тому +1

      You’re welcome!

  • @iSpeakTon
    @iSpeakTon Рік тому

    Thank You, legend. God bless you Sir.

    • @absprog
      @absprog  Рік тому +1

      Thanks for your support. Blessings to you as well🙏

  • @ryandwiky9025
    @ryandwiky9025 Рік тому

    From now on I want every tutorial is presented by you

    • @absprog
      @absprog  Рік тому

      It's great to know that my efforts were appreciated and I'm glad you found this helpful. Thank you Ryan 👍

  • @hariharan-ce1ii
    @hariharan-ce1ii 2 роки тому

    Thankyou so much. I am struggling for 2 hours more.

  • @charanbhavisetti2194
    @charanbhavisetti2194 2 роки тому

    Please make a vid on complete java environment on this new ubuntu LTS as my installation is not showing any jdk during compiling
    ;

    • @absprog
      @absprog  2 роки тому

      Do you use IntelliJ Idea?

  • @Engr.SharoonHoney
    @Engr.SharoonHoney 2 місяці тому

    Thank you sir, for solving my big problem 😊

    • @absprog
      @absprog  2 місяці тому

      I'm glad you found this helpful👍

  • @guillermoarmandomanriqueva3281
    @guillermoarmandomanriqueva3281 2 роки тому

    I did all the steps but nodejs -v still does not work.

  • @nj7082
    @nj7082 Рік тому

    The video was of great help. Thankyou

    • @absprog
      @absprog  Рік тому +1

      I am glad you found this helpful Sanjana 😊

  • @filipvasiljevic8837
    @filipvasiljevic8837 Рік тому

    very useful and concise, thanks!

    • @absprog
      @absprog  Рік тому +1

      Thank you for your feedback!👍

  • @hasithadhananjaya2806
    @hasithadhananjaya2806 Рік тому

    Best guide ever thanks lot sir.

    • @absprog
      @absprog  Рік тому

      Thanks for your support and kind words! 👍

  • @BCEAdityaMaurya
    @BCEAdityaMaurya 2 роки тому

    thank you so much. really appreciated. I wasted my whole day after this.

    • @absprog
      @absprog  2 роки тому +1

      Glad I could help

  • @josephnyage1015
    @josephnyage1015 2 роки тому

    i like the way you explain

    • @absprog
      @absprog  2 роки тому

      You're welcome!

  • @diegoandrescastrobahamon6348
    @diegoandrescastrobahamon6348 2 роки тому

    Thanks, greetings from Colombia

    • @absprog
      @absprog  2 роки тому

      Thank you too Diego!

  • @bakchodbaba9055
    @bakchodbaba9055 2 роки тому

    wonderful Job MR! Thank you

  • @liteyagami8499
    @liteyagami8499 2 роки тому

    sir could you post mogodb installaion of ubuntu 22.04

  • @Sia_Vadhiya
    @Sia_Vadhiya 9 місяців тому

    Thanks man!
    It did help alot.

    • @absprog
      @absprog  8 місяців тому

      Glad to hear that!

  • @TresorMwema
    @TresorMwema 9 місяців тому

    Thank you very much. This helped me a lot.

    • @absprog
      @absprog  9 місяців тому

      That's great to hear

  • @dheerajvithalkar
    @dheerajvithalkar Рік тому

    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

    • @absprog
      @absprog  Рік тому

      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.

  • @pauloagostinho7068
    @pauloagostinho7068 2 роки тому

    Thank you so Much! From Brazil...

    • @absprog
      @absprog  2 роки тому

      You are welcome Paulo!

  • @Conaya_Moyana
    @Conaya_Moyana Рік тому

    You are indeed a superstar!

    • @absprog
      @absprog  Рік тому

      Thank you very much! 🤗

  • @chetantripathi9273
    @chetantripathi9273 2 роки тому

    thanks a lot, you saved me a lot of trouble

    • @absprog
      @absprog  2 роки тому

      Glad I could help! 👍

  • @vaibhav5113
    @vaibhav5113 Рік тому

    That's truly simple. Thank you

    • @absprog
      @absprog  Рік тому

      You're welcome! 👍

  • @jonathandoouro6440
    @jonathandoouro6440 2 роки тому

    Best chanel ever

    • @absprog
      @absprog  2 роки тому +1

      Wow, thank you! 🤗

  • @Gustamonte
    @Gustamonte 2 роки тому

    Excelent tutorial!! thanks from a noob.

    • @absprog
      @absprog  2 роки тому +1

      Glad you liked it!

  • @deeproop278
    @deeproop278 Рік тому

    Thank You this solved my problem.

    • @absprog
      @absprog  Рік тому

      Thanks for letting me know that the explanation worked well for you. 👍

  • @apo_ka
    @apo_ka 2 роки тому

    good to know, but i'm using fish, not bash :(
    can you do the same for mongodb ? I'm thinking in install windows :O~

  • @Suchanaaa
    @Suchanaaa Рік тому

    thanks again!!! this helped me a lot

    • @absprog
      @absprog  Рік тому +1

      I'm glad to hear that you found the tutorial helpful 👍

  • @cmiamih
    @cmiamih 2 роки тому

    Awesome tutorial. keep it up. Thank you!!

  • @_venki
    @_venki 11 місяців тому

    omg!!!! found it veryy useful tysm

    • @absprog
      @absprog  11 місяців тому

      You're most welcome!😊

  • @victorguimaraes9260
    @victorguimaraes9260 Рік тому

    God bless you, man!!!

    • @absprog
      @absprog  Рік тому

      Thank you Victor! May you also be blessed in all that you do!

  • @jellyfish1772
    @jellyfish1772 2 роки тому

    sir please make a video on how to install nvm.node version manager

    • @absprog
      @absprog  2 роки тому

      ua-cam.com/video/KQSgDLWNniA/v-deo.html

  • @darkknight7623
    @darkknight7623 Рік тому

    Thank you very much Sir.....good explain

    • @absprog
      @absprog  Рік тому

      Thanks and welcome 👍

  • @obiagbasamuel9588
    @obiagbasamuel9588 Рік тому

    thanks for this tutorial. clear and precise

    • @absprog
      @absprog  Рік тому

      Glad you liked it! Thank you too Obiagba 👍

  • @ikhsan2679
    @ikhsan2679 2 роки тому

    thank you very much sir, you are my savior!

  • @onlinearfan
    @onlinearfan 2 роки тому

    Thank Dud! Love You!

  • @tadefps
    @tadefps Рік тому

    I used to have the same version after follow the same steps. My solution was in .bashrc: first added the bin route then :$PATH

    • @absprog
      @absprog  Рік тому

      You probably installed it with apt install first. If you apt removed it, the order would not matter.

  • @streamx2
    @streamx2 2 роки тому

    I wish you also showed npm because it does not work for me

    • @absprog
      @absprog  2 роки тому

      Run these commands in the terminal:
      which node
      which npm
      What do you get?

    • @streamx2
      @streamx2 2 роки тому

      @@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

    • @absprog
      @absprog  2 роки тому

      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
      @streamx2 2 роки тому

      still shows /usr/bin. I closed the terminal and opened it again

    • @absprog
      @absprog  2 роки тому

      @@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

  • @MRukhshanAli
    @MRukhshanAli Рік тому

    Really amazing video, it's solved my problem quickly. Keep it up.

    • @absprog
      @absprog  Рік тому

      Thanks for your support and kind words! 👍

  • @abdullahbinthaha6229
    @abdullahbinthaha6229 Рік тому

    Not working in my friends machine. Please help me... Lob ya

  • @mouadflp1480
    @mouadflp1480 2 роки тому

    thanks man , you did a great work

    • @absprog
      @absprog  2 роки тому

      Glad you liked it!

  • @PatrickTazoKuete
    @PatrickTazoKuete 2 роки тому

    Thank you so much. Hope this helps

  • @oncoding4520
    @oncoding4520 2 роки тому

    This video has saved me yesterday and was totally working and right now it says like command not found: node. driving me crazy

    • @absprog
      @absprog  2 роки тому

      Run this command:
      echo $path
      What do you get?

    • @oncoding4520
      @oncoding4520 2 роки тому

      @@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 ...

    • @oncoding4520
      @oncoding4520 2 роки тому

      like right now: 13:24 => node -v (zsh:command not found: node)

  • @erialgumacoisa
    @erialgumacoisa Рік тому

    Thank you!! Awesome tutorial!

    • @absprog
      @absprog  Рік тому

      Thank you for your kind words Érica! 🤗

  • @ViniciusPereira-fh6qp
    @ViniciusPereira-fh6qp Рік тому

    thank you so much!!!!!!!!!!!! you're the best

    • @absprog
      @absprog  Рік тому

      Thanks for your support and kind words!👍

  • @rishabhtripathi6032
    @rishabhtripathi6032 Рік тому

    wow very very useful video for me thank you very much :)

  • @ulquiorra3504
    @ulquiorra3504 2 роки тому

    The abosolute best.
    Thanks!!!!!!!

    • @absprog
      @absprog  2 роки тому

      Thanks and welcome 😊

  • @Adrian-aTak.19
    @Adrian-aTak.19 2 роки тому

    GOLD !!! 🙏🙏🙏🙏

    • @absprog
      @absprog  2 роки тому

      You are very welcome 👍

  • @augustobritosok
    @augustobritosok 2 роки тому

    Thank you so much!!!!!! Great tutorial

  • @arnaudfeyte7443
    @arnaudfeyte7443 Рік тому

    Very helpul ! Thank you very much

    • @absprog
      @absprog  Рік тому

      Thank you for your feedback👍

  • @1991andersonramos
    @1991andersonramos Рік тому

    Thank you so much! I really appreciate it! o/

    • @absprog
      @absprog  Рік тому

      Glad I could help Anderson! 👍

  • @marinas4475
    @marinas4475 Рік тому

    Thank you very much! 🙂

    • @absprog
      @absprog  Рік тому

      Thanks for taking the time to watch and comment Marina 🤗

  • @Sa7tLiiL
    @Sa7tLiiL Рік тому

    1:36 the version is 12.22 not 20.22 Sir