Eramdam // Damien ✨✅ is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Microsoft: "TypeScript 2.8 is here...! [Install it] by running

`npm install -g typescript`"

No. Stop. Don't do that. Don't npm install -g a tool you need in your project. Install it as a dependency (possibly dev) _of_ your project, so that other people who use your code don't have to globally modify their system to get your code to work.

As luck would have it, I've written about this very topic. spin.atomicobject.com/2016/02/ #Node #JavaScript

Eramdam // Damien ✨✅ @Eramdam

@zigg Not to mention that now with tools like npx (shipping with npm5+), you can easily run a package from anywhere without installing it globally upfront