What is npx? Learn the npm vs npx difference in Node.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024
  • 🚨 IMPORTANT:
    My Node.js Course is out: NodeCLI.com/yt
    npx vs npm can be a confusing debate. I created a video to explain the difference between npm and npx, explained the history of npx, and how to work with npx.
    🐦 Twitter: / mrahmadawais 🌟
    ✍️ Dev Blog: AhmadAwais.com
    😮 GitHub: github.com/Ahm...
    🔗 LinkedIn: / mrahmadawais
    🔗 TH-cam: TH-cam/AhmadAwais
    P.S. If you like my work, feel free to share it, like it, and subscribe to my TH-cam channel. Let's connect on twitter @MrAhmadAwais.
    Peace! ✌️

ความคิดเห็น • 16

  • @asfandiyar5829
    @asfandiyar5829 ปีที่แล้ว

    Thank you! This is just what I needed.

  • @kisme01
    @kisme01 2 ปีที่แล้ว +1

    very nicely explained

  • @gdcmarinho
    @gdcmarinho 3 ปีที่แล้ว +2

    Great video, Ahmad!

  • @StanleyGriggsII
    @StanleyGriggsII 2 ปีที่แล้ว

    Thanks Ahmad!

  • @harpuneetkalsi5960
    @harpuneetkalsi5960 ปีที่แล้ว

    are sub-dependencies of a dependency installed via npx present in cache or in node_modules folder?

  • @TheRohit382
    @TheRohit382 2 ปีที่แล้ว +1

    Great video. Once question tho, as you said npx will install the package first and execute it, will the package be available to us afterward if it is already installed?

    • @AhmadAwais
      @AhmadAwais  2 ปีที่แล้ว

      For sometime it gets cashed.

  • @andresroca9736
    @andresroca9736 3 ปีที่แล้ว +1

    Thanks pal. Good explanation. Saludos.

  • @mikopiko
    @mikopiko 3 ปีที่แล้ว +2

    So npx is used to execute npm package binaries

  • @centaur26
    @centaur26 3 ปีที่แล้ว

    bro, it started off with boring, this folder, will exceute bin,react this and that, but towards the end of the video, you got to the point, atleast thats what I was looking for, does make a sense to me now. cheers

  • @akramnarejo6221
    @akramnarejo6221 3 ปีที่แล้ว

    searched for npx and preferred to watch your guide because never before I have listened you, well I liked the guide. better if you would have also given the background of running the same thing with npm because like me who are knew don't know about it. currently exploring.

    • @AhmadAwais
      @AhmadAwais  3 ปีที่แล้ว +1

      Sure. Sign up for the first 12 free videos at NodeCLI.com and you'll get what you are asking for.

    • @akramnarejo6221
      @akramnarejo6221 3 ปีที่แล้ว

      @@AhmadAwais thanks ❤️

  • @gubby740
    @gubby740 3 ปีที่แล้ว +1

    Awesome

  • @suyashchandra5431
    @suyashchandra5431 3 ปีที่แล้ว +1

    👍