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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
claude-code-legacy Agentic coding tool from Anthropic that lives in your terminal
2.1.110_1 misc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.110Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-06-24 18:14:52
Last Update: 2026-08-03 15:01:08
Commit Hash: cb13c34
License: not specified in port
WWW:
https://github.com/anthropics/claude-code
Description:
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (11 items)
Collapse this list.
  1. bin/claude
  2. lib/node_modules/.bin/claude
  3. lib/node_modules/@anthropic-ai/claude-code/LICENSE.md
  4. lib/node_modules/@anthropic-ai/claude-code/README.md
  5. lib/node_modules/@anthropic-ai/claude-code/cli.js
  6. lib/node_modules/@anthropic-ai/claude-code/package.json
  7. lib/node_modules/@anthropic-ai/claude-code/sdk-tools.d.ts
  8. lib/node_modules/@anthropic-ai/claude-code/vendor/audio-capture/x64-freebsd/audio-capture.node
  9. @owner
  10. @group
  11. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • claude-code-legacy>0:misc/claude-code-legacy
To install the port:
cd /usr/ports/misc/claude-code-legacy/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/claude-code-legacy
  • pkg install claude-code-legacy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: claude-code-legacy
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1776323455 SHA256 (claude-code-2.1.110.tar.gz) = e7e97dae077e283870c2bafeba1db8460532dddfd8ec60c84f34deae651be62f SIZE (claude-code-2.1.110.tar.gz) = 18163520

Expand this list (2 items)

Collapse this list.

SHA256 (audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz) = d6a4e0ff2666efd60efd4259c0e29d6878975cc6f41a2171ff5a12b75e6ef7c6 SIZE (audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz) = 26840618

Collapse this list.


Packages (timestamps in pop-ups are UTC):
claude-code-legacy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-2.1.110_1------
FreeBSD:14:quarterly-2.1.110------
FreeBSD:15:latest-2.1.110_1n/a-n/an/a--
FreeBSD:15:quarterly-2.1.110n/a-n/an/a--
FreeBSD:16:latest-2.1.110_1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cargo : lang/rust
  2. pkgconf : devel/pkgconf
Runtime dependencies:
  1. rg : textproc/ripgrep
  2. node : www/node24
Library dependencies:
  1. libasound.so : audio/alsa-lib
Fetch dependencies:
  1. cargo : lang/rust
  2. curl : ftp/curl
  3. jq : textproc/jq
  4. npm : www/npm
  5. ca-root-nss.crt : security/ca_root_nss
Patch dependencies:
  1. curl : ftp/curl
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for claude-code-legacy-2.1.110_1: AUDIO_CAPTURE=on: Build native audio capture module for FreeBSD USE_CURL_USER_AGENT=on: Use curl User-Agent for web fetching to bypass bot-blocking filters (e.g. Anubis) ===> Use 'make config' to modify these settings
Options name:
misc_claude-code-legacy
USES:
nodejs:run
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.110_1
03 Aug 2026 15:01:08
commit hash: cb13c34eb2244f54519722d66dc3b639936b2934commit hash: cb13c34eb2244f54519722d66dc3b639936b2934commit hash: cb13c34eb2244f54519722d66dc3b639936b2934commit hash: cb13c34eb2244f54519722d66dc3b639936b2934 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
misc/claude-code-legacy: fix build on armv7

This is the same issue as in 0c9905d54dedcf8763df802a01beb2ea3d4ac4a0,
but for some reason cargo complains about a checksum error if I patch
it.  Work around the error for now by disabling the AUDIO_CAPTURE
option on arm, without which this problem does not occur.

Maintainer should strongly consider unbundling the rust bits so that
they use the conventional rust support instead of hand-rolling a poorly
conceived solution.

See also:	0c9905d54dedcf8763df802a01beb2ea3d4ac4a0
MFH:		2026Q3
Approved by:	portmgr (build fix blanket)
2.1.110_1
21 Jul 2026 06:47:24
commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4commit hash: 9c892d26015fa543bc587dcd7d241c57af7e13f4 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.97.1

PR:		296645
2.1.110
24 Jun 2026 18:09:37
commit hash: 5e79e73a7aaa3641549b7c537c62aae18f9f240dcommit hash: 5e79e73a7aaa3641549b7c537c62aae18f9f240dcommit hash: 5e79e73a7aaa3641549b7c537c62aae18f9f240dcommit hash: 5e79e73a7aaa3641549b7c537c62aae18f9f240d files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/claude-code: Move to misc/claude-code-legacy

Number of commits found: 3