Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Developer basics

npm

advancedwidespread

npm is the package manager and massive online repository of the JavaScript world: with a single command, it downloads and installs reusable code parts written by others.

In plain terms

Imagine you are building furniture, but you do not turn the screws, hinges, and drawer slides yourself, but order them from a huge hardware store. npm is such a store for programmers: it offers millions of ready-made parts, called packages, most of them for free.

The name npm refers to two things at once. One is a command-line program with which developers install packages, and the other is the online repository (registry) from which the packages come.

Because of AI tools, it is no longer only developers who encounter it. Many coding agents and add-ons can be installed via npm, so installation guides often begin with a line starting with 'npm install'.

How it works

  1. The developer lists in one project file (package.json) which packages are needed and which versions.
  2. On the 'npm install' command, the program searches for these in the online repository and downloads them to your machine.
  3. Packages mostly build on additional packages, so npm automatically downloads these dependencies as well. A single installation can thus bring in hundreds of packages.
  4. A lock file (package-lock.json) precisely records which version of what was installed, ensuring the program builds identically on another machine.
  5. Anyone can publish their own package in the repository, and others can then integrate it into their programs.

An everyday example

If you want to try a coding agent, the first step in the guide is to type 'npm install -g' followed by the program name in the terminal. At this point, npm downloads and makes the tool usable on your machine, roughly like your phone's app store installing an app. A key difference is that no one reviews what gets listed in advance, so you should always copy the package name from the creator's official website.

Who is affected

developerA daily working tool: almost every web and JavaScript-based project is built from npm packages. → Code
entrepreneur, executiveYour company's software likely relies on hundreds of external npm packages, and their security is a business risk.
employeeIf you install an AI tool on your work computer, you may easily encounter npm commands, and it is good to know what they do. → Work & HR
parent, student, teacherAnyone learning or teaching web development today encounters it in the first few weeks. → Education & Family

A common misconception

MythAnything on npm has been checked by someone, so it is safe.
In realityAnyone can upload a package to the repository without prior review. Malicious code is regularly uploaded, or a popular package developer's account is compromised.

Limits and risks

Similar, but not the same

Related concepts

Broader

Package manager, open source, software development

Narrower

npx, package.json, npm-csomag

On the edge

Node.js, pip, GitHub, terminal, supply chain attack

A brief history

npm was created by Isaac Z. Schlueter; its first version was released in 2010 as a Node.js add-on. The company behind npm was acquired in 2020 by GitHub, which is owned by Microsoft.

Where things stand

At the end of 2026, npm is the world's largest software package registry, with millions of packages, and a core tool of web development. Because of the spread of AI tools and supply chain attacks, its security is a prominent topic. After the major attack wave of 2025 (compromised developer accounts, self-propagating malware), its operator GitHub tightened the rules for publishing packages, for example with stronger two-factor authentication and shorter-lived access tokens.

Status: 2026 November

In the news

Appears in 2 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

npm · NPM · Node Package Manager · npm registry · npm-csomag · npm package manager · npm install · npmjs

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.