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
Port details
npm Node package manager (meta port)
11.10.0 www on this many watch lists=21 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 11.7.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: 2026-02-17 16:53:39
Commit Hash: 80b8687
People watching this port, also watch:: git, pkg, tmux, zsh, node
License: NA
WWW:
https://www.npmjs.com/package/npm
https://docs.npmjs.com/
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-11.10.0/catalog.mk
  2. /usr/local/share/licenses/npm-11.10.0/LICENSE
  3. /usr/local/share/licenses/npm-11.10.0/NA
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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:latest11.10.011.10.0-11.5.111.10.0n/an/an/a
FreeBSD:13:quarterly11.7.011.7.0-10.9.311.7.0n/an/an/a
FreeBSD:14:latest11.10.011.10.0-11.5.111.10.0--9.6.7
FreeBSD:14:quarterly11.7.011.7.0-10.9.311.7.0-10.2.510.2.5
FreeBSD:15:latest11.10.011.10.0n/a11.5.1n/an/a10.2.510.4.0
FreeBSD:15:quarterly11.7.011.7.0n/a-n/an/a--
FreeBSD:16:latest11.8.011.10.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. npm-node24>=0 : www/npm-node24
This port is required by:
for Build
  1. devel/RStudio
  2. devel/py-widgetsnbextension
  3. mail/mailpit
  4. misc/gemini-cli
  5. misc/github-copilot-cli
  6. misc/github-copilot-language-server
  7. misc/nanocoder
Expand this list (25 items / 18 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. textproc/write-good
  3. www/py-yt-dlp-ejs
  4. www/tailwindcss3
  5. Collapse this list.

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. misc/teslams*
  10. textproc/node-re2*
  11. www/lessc*
  12. www/npm-less-plugin-clean-css*
  13. www/offline-npm*
  14. www/py-django-hijack*
  15. www/uglifyjs*
  16. Collapse this list of deleted ports.
for Fetch
  1. devel/RStudio
  2. misc/claude-code
  3. misc/gemini-cli
  4. misc/github-copilot-cli
  5. misc/github-copilot-language-server
  6. misc/grok-cli
  7. misc/nanocoder
Expand this list (8 items / 1 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/py-yt-dlp-ejs
  3. Collapse this list.
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: 232 (showing only 32 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.4.10_1
24 May 2014 16:32:57
Revision:355050Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Fix distinfo
- Bump PORTREVISION

Reported by:	adamw
1.4.10
24 May 2014 14:11:57
Revision:355027Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.4.10
- Use GMAKE to build npm

Changes:	https://github.com/isaacs/npm/commits/master
PR:		ports/189843 (based on)
Submitted by:	adamw
1.4.6
24 May 2014 10:31:27
Revision:355008Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Remove MANPREFIX from PLIST_SUB
- Sort PLIST
1.4.6
19 May 2014 18:49:46
Revision:354581Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Use REINPLACE_CMD
- Update maintainer section:
  - Add perl to maintainer section comment
  - No need to "make extract" before "make maketar"
  - Eliminate perl warning: remove -i switch
1.4.6
26 Apr 2014 18:12:35
Revision:352312Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.4.6
- Convert to new options helper
- Update GITHUB_TAGSURL and GITHUB_USER
- Update WWW
- While I'm here, sort PLIST and respect MANPREFIX

PR:		ports/188599
Submitted by:	adamw
1.3.11_1
10 Apr 2014 12:37:06
Revision:350801Original commit files touched by this commit This port version is marked as vulnerable.
bdrewery search for other commits by this committer
- Fix staging with pkg_install by not using absolute paths in plist

Reported by:	swills/Jenkins
1.3.11
10 Apr 2014 02:33:10
Revision:350762Original commit files touched by this commit This port version is marked as vulnerable.
bdrewery search for other commits by this committer
Did not mean to commit this
1.3.11
10 Apr 2014 02:30:05
Revision:350759Original commit files touched by this commit This port version is marked as vulnerable.
bdrewery search for other commits by this committer
- Stage
- Use USES=tar
1.3.11
30 Sep 2013 20:25:47
Revision:328866Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.3.11

Changes:	https://github.com/isaacs/npm/commits/master
1.3.8_1
20 Sep 2013 23:36:54
Revision:327776Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
www)
1.3.8_1
26 Aug 2013 15:59:17
Revision:325400Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Add executable bit for node-gyp
- Bump PORTREVISION for package change

Notified by:	vanilla
1.3.8
20 Aug 2013 13:46:55
Revision:325049Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.3.8

Changes:	https://github.com/isaacs/npm/commits/master
1.3.7
19 Aug 2013 08:44:20
Revision:324959Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Update to 1.3.1
- Do not link manpages to PREFIX/man, use man.d/npm.conf instead
- Pet portlint

Changes:	https://github.com/isaacs/npm/commits/master
1.2.28
13 Jun 2013 12:12:27
Revision:320790Original 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.28
- Fix PLIST:
  - Change cache directory to WRKDIR/.cache to avoid PLIST spamming
  - Use SED -i '' instead of REINPLACE_CMD to remove .bak file

Changes:	https://github.com/isaacs/npm/commits/master
1.2.18
18 Apr 2013 16:32:41
Revision:316049Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Change cache directory from ~/.npm to WRKSRC/tmp to avoid access on ~root/

PR:		ports/177091
Submitted by:	John Marino <draco@marino.st>
Obtained from:	crees
Feature safe:	yes
1.2.18
17 Apr 2013 16:52:34
Revision:315986Original 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.18

Changes:	https://github.com/isaacs/npm/commits/master
Feature safe:	yes
1.2.15
28 Mar 2013 20:08:15
Revision:315498Original 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.15

Changes:	https://github.com/isaacs/npm/commits/master
1.2.12
03 Mar 2013 04:29:11
Revision:313325Original commit files touched by this commit This port version is marked as vulnerable.
sunpoet search for other commits by this committer
- Fix PLIST
1.2.12
20 Feb 2013 19:55:32
Revision:312657Original 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.12

Changes:	https://github.com/isaacs/npm/commits/master
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: 232 (showing only 32 on this page)

«  1 | 2 | 3