notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
npm Node package manager (meta port)
10.5.2 www on this many watch lists=20 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 10.5.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-05-08 03:59:24
Last Update: 2024-04-13 09:31:35
Commit Hash: edfcc10
People watching this port, also watch:: git, node, tmux, pkg, curl
License: NA
WWW:
https://www.npmjs.com/package/npm
https://docs.npmjs.com/cli/v10
https://github.com/npm/cli
Description:
npm is a package manager for node. You can use it to install and publish your node programs. It manages dependencies and does other cool stuff.
HomepageHomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/npm-10.5.2/catalog.mk
  2. /usr/local/share/licenses/npm-10.5.2/LICENSE
  3. /usr/local/share/licenses/npm-10.5.2/NA
Collapse this list.
Dependency lines:
  • npm>0:www/npm
To install the port:
cd /usr/ports/www/npm/ && make install clean
To add the package, run one of these commands:
  • pkg install www/npm
  • pkg install npm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: npm
Flavors: there is no flavor information for this port.
distinfo:
There is no distinfo for this port.

Packages (timestamps in pop-ups are UTC):
npm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest10.5.110.5.2-10.5.110.5.2-6.14.8-
FreeBSD:13:quarterly10.5.110.5.1-10.5.110.5.1-10.2.510.2.5
FreeBSD:14:latest10.5.110.5.2-10.5.110.5.2--9.6.7
FreeBSD:14:quarterly10.5.110.5.1-10.5.110.5.1-10.2.510.2.5
FreeBSD:15:latest10.5.210.5.2n/a10.2.5n/a-10.2.510.4.0
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. npm-node20>=0 : www/npm-node20
This port is required by:
for Build
  1. devel/py-widgetsnbextension
  2. mail/mailpit
  3. multimedia/navidrome
  4. textproc/write-good
  5. www/py-django-hijack

Deleted ports which required this port:

Expand this list of 14 deleted ports
  1. deskutils/ladon*
  2. devel/node-gyp*
  3. devel/npm-amdefine*
  4. devel/npm-clean-css*
  5. devel/npm-commander*
  6. devel/npm-graceful-readlink*
  7. devel/npm-minidump*
  8. devel/npm-source-map*
  9. misc/teslams*
  10. textproc/node-re2*
  11. www/lessc*
  12. www/npm-less-plugin-clean-css*
  13. www/offline-npm*
  14. www/uglifyjs*
  15. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 15 deleted ports
  1. deskutils/ladon*
  2. devel/node-gyp*
  3. devel/npm-amdefine*
  4. devel/npm-clean-css*
  5. devel/npm-commander*
  6. devel/npm-graceful-readlink*
  7. devel/npm-minidump*
  8. devel/npm-source-map*
  9. lang/opa*
  10. misc/teslams*
  11. textproc/node-re2*
  12. www/lessc*
  13. www/npm-less-plugin-clean-css*
  14. www/offline-npm*
  15. www/uglifyjs*
  16. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
www_npm
USES:
metaport nodejs:env
FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2023-01-30
    Affects: users of USES=nodejs, www/node*, www/npm* and www/yarn*
    Author: sunpoet@FreeBSD.org
    Reason: 
      The current USES=nodejs has the following issues:
      - www/node is not the default version while www/node16 is.
      - It also means inconsistent naming of node ports.
      - www/npm duplicates with www/npm-node16.
      - www/yarn duplicates with www/yarn-node16.
    
      The notable changes are introduced to fix the above issues:
      - Rewrite Mk/Uses/nodejs.mk.
      - Add new LTS version of nodejs (www/node18).
      - Add new current version of nodejs (www/node19).
      - Change default nodejs version from 16 to 18 (latest LTS),
      - Use consistent naming for all supported node versions.
      - Convert www/node, www/npm and www/yarn to meta ports.
    
      After these changes:
      - All supported node versions are named as node{14,16,18,19}.
      - www/node is a meta port which depends on the default version
        (e.g. www/node18)
      - www/npm is a meta port which depends on the default version
        (e.g. www/npm-node18)
      - www/yarn is a meta port which depends on the default version
        (e.g. www/yarn-node18)
    
    
Expand this list (1 items)
  • 2021-11-10
    Affects: users of www/node*, www/npm*, www/yarn*
    Author: mfechner@FreeBSD.org
    Reason: 
      The port framework was updated to use a default version for nodejs.
      The default version is pointing to the latest LTS version which is
      currently version 16.
      You can overwrite this by defining in /etc/make.conf, e.g. version 17:
      DEFAULT_VERSIONS=nodejs=17
    
      Or if you would like to stick always to the current version use:
      DEFAULT_VERSIONS=nodejs=current
    
      If you would like to use yarn or npm together with nodejs version 17,
      just install the package that is pulling the wanted dependency to nodejs:
    
      # pkg install yarn-node17
      # pkg install npm-node17
    
    
  • Collapse this list.

Number of commits found: 213 (showing only 13 on this page)

«  1 | 2 | 3 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.4
01 Feb 2013 02:24:32
Revision:311347Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.2.4

Changes:	https://github.com/isaacs/npm/commits/master
1.2.0
30 Jan 2013 16:45:30
Revision:311239Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.2.0

Changes:	https://github.com/isaacs/npm/commits/master
1.1.68
08 Dec 2012 16:40:28
Revision:308486Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.1.68
- Update maintainer section to match github URL change and generate better diff
header

Changes:	https://github.com/isaacs/npm/commits/master
Feature safe:	yes
1.1.62
06 Oct 2012 17:34:30
Revision:305388Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Fix PLIST

Reported by:	pkgng
1.1.62
01 Oct 2012 14:26:27
Revision:305124Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.1.62
- Add LICENSE
- Remove trailing slash from MANPREFIX
- Cleanup Makefile header

Changes:	https://github.com/isaacs/npm/commits/master
1.1.59
08 Sep 2012 00:21:53
Revision:303848Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.1.59

Changes:	https://github.com/isaacs/npm/commits/master
1.1.49
20 Aug 2012 15:59:24
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.1.49
- Pet portlint:
  - Remove MAKE_JOBS_UNSAFE
  - Use MAN1/MAN3 for manpages

Changes:	https://github.com/isaacs/npm/commits/master
1.1.45
05 Aug 2012 07:05:37
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.1.45
- Convert to new options framework

Changes:	https://github.com/isaacs/npm/commits/master
1.1.21
10 Jul 2012 18:05:25
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Fix maintainer section
1.1.21
19 May 2012 11:05:13
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Add maintainer section
1.1.21
14 May 2012 18:52:39
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Allow node-devel users to install npm
1.1.21
08 May 2012 09:34:38
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Do not try to remove PREFIX/lib/node_modules, this directory is now owned by
node
1.1.21
08 May 2012 03:58:26
Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Add npm 1.1.21

npm is a package manager for node. You can use it to install and publish your
node programs. It manages dependencies and does other cool stuff.

WWW: http://npmjs.org/
WWW: https://github.com/isaacs/npm

Number of commits found: 213 (showing only 13 on this page)

«  1 | 2 | 3