BSD Ports

misc/code2prompt 4.2.0_4 DragonFly

CLI tool to convert your codebase into a LLM prompt

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
misc
Package size
3673.2 KiB, 12750.1 KiB installed

Description

code2prompt is a command-line tool (CLI) that converts your codebase into a single LLM prompt with a source tree, prompt templating, and token counting.

In the other systems

The newest version among them is 4.2.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymisc/code2prompt4.2.0_4 newestnone known-[email protected]-
FreeBSDmisc/code2prompt4.2.0_5 newestnone known-[email protected]2026-10-14
HardenedBSDmisc/code2prompt4.2.0_5 newestno data-[email protected]-
GhostBSDmisc/code2prompt4.2.0_5 newestno data-[email protected]-

Version history 1

  1. 4.2.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install code2prompt

From DPorts:

cd /usr/dports/misc/code2prompt && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.