Skip to content

What’s New in npm 5?

Published:

2 min read

In May, in the very last week, npm announced the new major release for the JavaScript package manager. 5.0.0, hopefully, will be shipped with upcoming version of Nodejs **(>=8.0.0)**as well. It seems a big step towards providing better tooling with significantly improved performance as quite a lot of developers made a switch to yarn, just because it could download the packages from the npm registry at a faster rate. However, this point is debatable, so let’s not get into that.

A Peek at Major Changes

Some of the major changes that I want to highlight in this article and am eagerly looking forward to are:

Hopefully, they update their docs quickly with this new update and more users like me will be able to switch or access much of these key features. For detailed look into npm5’s features have a look at their official blog post in which they have listed every other breaking change coming with the new release.

To start using the latest version of npm, you can in your terminal window or preferable shell:

npm install -g npm@next

# Or

npm install -g npm@latest

I'm a software developer and a technical writer. On this blog, I write about my learnings in software development and technical writing.

Currently, working as a documentation lead at Expo.