| Port details |
- claude-code Agentic coding tool from Anthropic that lives in your terminal
- 2.1.110_1 misc
=1 2.1.86Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2025-09-26 05:24:15
- Last Update: 2026-04-27 12:26:47
- Commit Hash: 17bf498
- People watching this port, also watch:: dhcpcd, binkd, vaultwarden, wine, xorg
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- claude-code>0:misc/claude-code
- To install the port:
- cd /usr/ports/misc/claude-code/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/claude-code
- pkg install claude-code
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: claude-code
- 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
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cargo : lang/rust
- pkgconf : devel/pkgconf
- Runtime dependencies:
-
- rg : textproc/ripgrep
- node : www/node24
- Library dependencies:
-
- libasound.so : audio/alsa-lib
- Fetch dependencies:
-
- cargo : lang/rust
- curl : ftp/curl
- jq : textproc/jq
- npm : www/npm
- ca-root-nss.crt : security/ca_root_nss
- Patch dependencies:
-
- curl : ftp/curl
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for claude-code-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
- USES:
- nodejs:run
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.1.110_1 27 Apr 2026 12:26:47
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.95.0
PR: 294615 |
2.1.110 16 Apr 2026 07:37:34
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.109 → 2.1.110 |
2.1.109 15 Apr 2026 07:43:16
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.105 → 2.1.109 |
2.1.105_1 14 Apr 2026 08:28:16
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Add option USE_CURL_USER_AGENT
Problem:
Certain URLs reject requests from AI agents like Claude.
Example is https://bugs.freebsd.org.
Solution:
The USE_CURL_USER_AGENT option will make Claude to look like Curl.
Benerits to the user:
Claude will be able to read such URLs, summarize their content,
or perform other actions with the contents.
This makes Claude more usable when it comes to such protected URLs.
How it works:
Claude's Fetch tool uses the rgq() function in cli.js which returns:
Claude-User (claude-code/2.1.105; +https://support.anthropic.com/)
This UA is explicitly blocked by Anubis bot protection on bugs.freebsd.org
(and elsewhere), returning a ~2KB "Access Denied" page.
With USE_CURL_USER_AGENT=ON the post-extract-USE_CURL_USER_AGENT-on
target patches rgq() to return curl/8.19.0 (version detected from the
installed curl at build time). |
2.1.105 14 Apr 2026 07:12:38
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.96 → 2.1.105 |
2.1.96 08 Apr 2026 17:14:04
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Try to expand on all architectures |
2.1.96 08 Apr 2026 16:56:42
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.90 → 2.1.96 |
2.1.90_2 08 Apr 2026 16:56:42
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Fix fetch |
2.1.90_2 08 Apr 2026 02:45:26
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Add FreeBSD native audio-capture NodeJS module
... instead of bundled ones for other systems. |
2.1.90_1 02 Apr 2026 19:42:29
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Patch claude to increase timeouts to 24 hours
Current timeouts of 1 and 10 minutes easily get exceeded when
the AI endpoint API backend is CPU-based.
Even 10x10 munutes can easily get exceeded.
I raised this issue with the upstream.
Patching it here in the meantime. |
2.1.90 02 Apr 2026 19:42:29
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.89 → 2.1.90 |
2.1.89 01 Apr 2026 09:20:45
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.86 → 2.1.89 |
2.1.86 28 Mar 2026 09:21:22
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.84 → 2.1.86 |
2.1.84 26 Mar 2026 22:57:54
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.81 → 2.1.84 |
2.1.81 25 Mar 2026 14:59:06
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.62 → 2.1.81 |
2.1.62 10 Mar 2026 01:56:54
    |
Yuri Victorovich (yuri)  |
Mk/Uses: Remove certs.mk
It was a useful shorthand for the security/ca_root_nss dependency.
However, several people disagreed.
Can anybody explain why libedit.mk is there? It is also a one string
substitution. Same with libarchive.mk. |
2.1.62 09 Mar 2026 16:13:26
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Add USES=certs:fetch
... since some users report that this is required, ex. in bug#293676 |
2.1.62 28 Feb 2026 02:06:44
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.0.58 → 2.1.62 |
2.0.58 04 Dec 2025 22:56:48
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.0.55 → 2.0.58
Also use system ripgrep (rg). |
2.0.55 30 Nov 2025 10:52:34
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.0.54 → 2.0.55 |
2.0.54 26 Nov 2025 16:20:40
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.0.50 → 2.0.54 |
2.0.50 24 Nov 2025 18:26:57
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.0.42 → 2.0.50 |
2.0.42 17 Nov 2025 08:36:44
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.0.36 → 2.0.42 |
2.0.36_1 11 Nov 2025 07:17:09
    |
Po-Chuan Hsieh (sunpoet)  |
nodejs: Bump PORTREVISION for dependency change
USES=nodejs defaults to www/node24 now. |
2.0.36 09 Nov 2025 08:48:29
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 1.0.126 → 2.0.36 |
1.0.126 26 Sep 2025 05:15:48
    |
Yuri Victorovich (yuri)  |
misc/claude-code: New port: Agentic coding tool from Anthropic that lives in
your terminal |