# Install cjdns with Homebrew, apk, MacPorts, Nix, pacman

Advanced mesh routing system with cryptographic addressing. Version 22.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cjdns
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cjdns
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cjdns
```

  Evidence: MacPorts ports tree: net/cjdns/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cjdns
```

  Evidence: Alpine Linux edge package indexes: cjdns from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#cjdns
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cj/cjdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cjdns
```

  Evidence: Arch Linux sync databases: cjdns from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:cjdns
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cjdns>
- **Version:** 22.3
- **Source summary:** Advanced mesh routing system with cryptographic addressing
- **Homepage:** <https://github.com/cjdelisle/cjdns/>
- **Repository:** <https://github.com/cjdelisle/cjdns>
- **Upstream docs:** <https://github.com/cjdelisle/cjdns#readme>
- **License:** GPL-3.0-or-later AND GPL-2.0-or-later AND BSD-3-Clause AND MIT
- **Source archive:** <https://github.com/cjdelisle/cjdns/archive/refs/tags/cjdns-v22.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cjdnstool (cli)
- cjdroute (cli)
- cjdnstool (alias)
- cjdroute (alias)

## Dependencies

- libsodium

## Build dependencies

- node
- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 22.3
- Local data: ok
- Upstream repository: https://github.com/cjdelisle/cjdns
- Upstream latest detected: cjdns-v22.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

cjdns is an encrypted IPv6 mesh-routing system that derives addresses from public keys and uses a distributed hash table for routing. It is packaged as a command-line/network daemon stack centered on `cjdroute`.

### Project history

The official repository was created in 2011 and describes cjdns as an encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing. Its whitepaper frames the project as a clean-slate response to Internet routing, security, decentralization, and ease-of-configuration problems.

The project goals document emphasizes built-in security, auto-configuration, decentralization, and scalability for mesh-like networks.

### Adoption history

The batch input records cjdns packages in Homebrew, Alpine, MacPorts, Nix, and Arch/pacman. The upstream README includes Linux and macOS build instructions, an installer-project option, and localized README translations, all signs of a project aimed at technically capable operators across Unix-like systems.

### How it is used

Users build or install cjdns, generate `/etc/cjdroute.conf` with `cjdroute --genconf`, protect that file because it contains node identity material, and run the router to join encrypted peer networks.

### Why package nerds care

cjdns is package-nerd significant because it is not just a daemon: it packages a whole alternate-networking experiment with crypto identity, TUN/TAP setup, peer configuration, and routing assumptions. It stresses distro policy around networking privileges, service setup, generated secrets, and fast-moving low-level dependencies.

### Timeline

- 2011: Official GitHub repository created.
- 2011: Early tags include cjdns-0.1, cjdns-0.2, and cjdns-0.3.
- 2026: Official GitHub repository metadata shows continuing activity.

### Related projects

- The official README points to cjdns.sh as a pre-built binary installer option.
- The official whitepaper compares the problem space with IPsec, DNSSEC, LISP, OLSR, HSLS, and BATMAN.

### Sources

- <https://github.com/cjdelisle/cjdns/blob/master/README.md>
- <https://github.com/cjdelisle/cjdns/blob/master/doc/Whitepaper.md>
- <https://github.com/cjdelisle/cjdns/blob/master/doc/projectGoals.md>
- <https://api.github.com/repos/cjdelisle/cjdns>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/cjdroute.conf

## Credential files

- Unix: /etc/cjdroute.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cjdns
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - cjdns: normalized package name match | nixpkgs package indexes: pkgs/by-name/cj/cjdns/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cjdns - 22.3-r0: normalized package name match | Alpine Linux edge package indexes: cjdns from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A routing engine designed for security, scalability, speed and ease of use | https://github.com/cjdelisle/cjdns
- apk - cjdns-doc - 22.3-r0: normalized package name match | Alpine Linux edge package indexes: cjdns-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A routing engine designed for security, scalability, speed and ease of use (documentation) | https://github.com/cjdelisle/cjdns
- apk - cjdns-openrc - 22.3-r0: normalized package name match | Alpine Linux edge package indexes: cjdns-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A routing engine designed for security, scalability, speed and ease of use (OpenRC init scripts) | https://github.com/cjdelisle/cjdns
- pacman - cjdns - 22.3-2: normalized package name match | Arch Linux sync databases: cjdns from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Routing engine designed for security, scalability, speed and ease of use | https://github.com/cjdelisle/cjdns
- MacPorts - cjdns: normalized package name match | MacPorts ports tree: net/cjdns/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [babeld](https://www.automicvault.com/pkg/brew/babeld/) - Shares av.db curated category or tags: cli, ipv6, mesh-networking, networking, routing.
- [olsrd](https://www.automicvault.com/pkg/brew/olsrd/) - Shares av.db curated category or tags: cli, mesh-networking, networking, routing.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [asroute](https://www.automicvault.com/pkg/brew/asroute/) - Shares av.db curated category or tags: cli, networking, routing.
- [bgpdump](https://www.automicvault.com/pkg/brew/bgpdump/) - Shares av.db curated category or tags: cli, networking, routing.
- [ddns-go](https://www.automicvault.com/pkg/brew/ddns-go/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [grepip](https://www.automicvault.com/pkg/brew/grepip/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [inadyn](https://www.automicvault.com/pkg/brew/inadyn/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [nebula](https://www.automicvault.com/pkg/brew/nebula/) - Local package facts share a topical domain. Shared terms: cli, mesh, mesh-networking, networking.
- [copyparty](https://www.automicvault.com/pkg/brew/copyparty/) - Local package facts share a topical domain. Shared terms: cli, libsodium, networking.

## Combined YAML source

View the package source record on GitHub. [combined/cjdns.yml](https://github.com/automic-vault/db/blob/main/combined/cjdns.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
