If you really want to save space, you could always run the npx command without the install first... or maybe find . -type d -name node_modules | xargs du -sh
Awarded GitHub Star since 2023 ⭐️ and Microsoft MVP since 2024 🔷 I talk about Open Source, GitHub, and Web Development.
I also run a YouTube channel called DevLeonardo, see you there!
If you really want to save space, you could always run the
npxcommand without the install first... or maybefind . -type d -name node_modules | xargs du -shI was wonder why you would use npx after globally installing it. Using the npx command by itself seems a much better practice.
That's indeed correct, this will save you an extra 1.9MB of space.
Not a life changer as the many GB you will free a few seconds later, but still a valid suggestion. Thank you for sharing! :)