| Port details |
- claude-code Agentic coding tool from Anthropic that lives in your terminal
- 2.1.208 misc
=2 2.1.195Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2025-09-26 05:24:15
- Last Update: 2026-07-14 07:00:26
- Commit Hash: 24e5180
- People watching this port, also watch:: py312-ansible-core, dhcpcd, p5-Crypt-Bcrypt, binkd
- License: not specified in port
- WWW:
- https://github.com/anthropics/claude-code
- Description:
- Claude Code is an agentic coding tool from Anthropic 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.
claude is a closed source Linux binary working through Linuxlator.
This port replaces the NodeJS-based misc/claude-code-legacy port.
¦ ¦ ¦ ¦ 
- 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.
- ONLY_FOR_ARCHS: aarch64 amd64
- distinfo:
- TIMESTAMP = 1784004450
SHA256 (claude-code-2.1.208/linux-x64/claude) = 125372839bc827ca24dd72382627b291fbca615408d732fe3291bc16723ce7f3
SIZE (claude-code-2.1.208/linux-x64/claude) = 259820344
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- linux_base-rl9>=9.2 : emulators/linux_base-rl9
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- misc_claude-code
- USES:
- linux:rl9
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.1.208 14 Jul 2026 07:00:26
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.207 → 2.1.208 |
2.1.207 11 Jul 2026 02:55:21
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.205 → 2.1.207 |
2.1.205 09 Jul 2026 07:06:21
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.204 → 2.1.205 |
2.1.204 08 Jul 2026 07:58:16
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.203 → 2.1.204 |
2.1.203 07 Jul 2026 23:58:34
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.202 → 2.1.203 |
2.1.202 07 Jul 2026 21:49:16
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.201 → 2.1.202 |
2.1.201 06 Jul 2026 14:26:26
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.195 → 2.1.201 |
2.1.195 28 Jun 2026 06:49:09
    |
Yuri Victorovich (yuri)  |
misc/claude-code: update 2.1.190 → 2.1.195 |
2.1.190 25 Jun 2026 07:51:47
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Correct BROKEN line |
2.1.190 25 Jun 2026 05:55:41
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Broken because linuxlator features are missing |
2.1.190 24 Jun 2026 18:09:38
    |
Yuri Victorovich (yuri)  |
misc/claude-code: New port: Agentic coding tool from Anthropic that lives in
your terminal
This is the latest Claude Code CLI that comes only in the binary form.
Previous commit moved previous, NodeJS based claude-code
into claude-code-legacy because of some patches that are there.
Note: Using Claude Code does not strictly require Anthropic's
hosted proprietary models. The tool can interact with open
models via Ollama's Anthropic Messages API compatibility layer.
Users can run these models locally on their own hardware for free,
or utilize Ollama's cloud subscription open weights models for
expanded performance. Some open weights models (like DeepSeek v4 pro)
available via the Ollama cloud are almost as capable as Anthropic's
models for most purposes. |
2.1.110_2 24 Jun 2026 18:09:37
    |
Yuri Victorovich (yuri)  |
misc/claude-code: Move to misc/claude-code-legacy |
2.1.110_2 04 Jun 2026 08:52:51
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.96.0
PR: 295694 |
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 |