# Install coconut with Homebrew, Nix

Simple, elegant, Pythonic functional programming. Version 3.2.0 via Homebrew; verified 2026-05-20.

## Install

```sh
sudo av install brew:coconut
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install coconut
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#coconut
```

  Evidence: nixpkgs package indexes: coconut from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Package facts

- **Package key:** brew:coconut
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/coconut>
- **Version:** 3.2.0
- **Source summary:** Simple, elegant, Pythonic functional programming
- **Homepage:** <https://coconut-lang.org/>
- **Repository:** <https://github.com/evhub/coconut>
- **Upstream docs:** <https://coconut-lang.org/>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/06/f4/38f315a1d8568257a74fe482e925368a2ef4bccc9b1d5751f003570bccc5/coconut-3.2.0.tar.gz>
- **Last updated:** 2026-05-20T12:19:36Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- coconut (cli)
- coconut-py3 (cli)
- coconut-py3-run (cli)
- coconut-py3.14 (cli)
- coconut-py3.14-run (cli)
- coconut-release (cli)
- coconut-release-run (cli)
- coconut-run (cli)
- coconut-v3 (cli)
- coconut-v3-run (cli)
- coconut-v3.2 (cli)
- coconut-v3.2-run (cli)
- coconut-v3.2.0 (cli)
- coconut-v3.2.0-run (cli)
- coconut (alias)
- coconut-py3 (alias)
- coconut-py3-run (alias)
- coconut-py3.14 (alias)
- coconut-py3.14-run (alias)
- coconut-release (alias)
- coconut-release-run (alias)
- coconut-run (alias)
- coconut-v3 (alias)
- coconut-v3-run (alias)
- coconut-v3.2 (alias)
- coconut-v3.2-run (alias)
- coconut-v3.2.0 (alias)
- coconut-v3.2.0-run (alias)

## Dependencies

- python@3.14

## 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: 3.2.0
- Package-manager updated: 2026-05-20
- Local data: ok
- Upstream repository: https://coconut-lang.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Coconut is a Python-family functional programming language and compiler. Its official documentation describes it as a strict superset of Python syntax that compiles to Python, adding functional features while remaining close to the Python ecosystem.

### Project history

The public GitHub repository was created in 2014, and the project positions itself as a language variant rather than a standalone runtime: Coconut source is compiled into Python code. The README and documentation emphasize GitHub development, PyPI hosting, and a language design centered on functional programming constructs such as pipes, pattern matching, partial application, and enhanced lambdas.

### Adoption history

Coconut's adoption has been strongest in Python package and language-experiment circles rather than as a mainstream application runtime. Official install guidance leads with pip, while the Homebrew input records distribution through Homebrew and Nix, showing that it also reached system package-manager catalogs used by CLI-oriented developers.

### How it is used

Users install Coconut as a command-line compiler and run it to compile or execute Coconut source files. The official docs cover installation through pip, conda, and Homebrew, plus integrations for IPython/Jupyter, type checking, numpy, and xonsh.

### Why package nerds care

For package nerds, Coconut is interesting as a small language toolchain that rides on Python packaging while also appearing in OS package managers. It shows the common pattern where an experimental language compiler starts with PyPI distribution and later becomes convenient to install through Homebrew or Nix for shell-first workflows.

### Timeline

- 2014: GitHub repository for evhub/coconut created.
- 2016: Public documentation and PyPI distribution were already central to the project.
- 2024: Coconut 3.1.x releases continued active maintenance.
- 2025: Coconut 3.2.0 added Python 3.14 support, according to the official release notes.

### Related projects

- Coconut is related to Python itself, PyPI packaging, IPython/Jupyter integration, xonsh integration, and the broader family of Python-compatible language extensions that compile down to Python.

### Sources

- <https://github.com/evhub/coconut>
- <https://coconut-lang.org/>
- <https://coconut.readthedocs.io/en/latest/DOCS.html>
- <https://github.com/evhub/coconut/releases>
- <https://pypi.org/project/coconut/>


## Security Notes

No matching local secret-handling manifest was found for coconut. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Nix - coconut: normalized package name match | nixpkgs package indexes: coconut from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [frege](https://www.automicvault.com/pkg/brew/frege/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [hy](https://www.automicvault.com/pkg/brew/hy/) - Shares av.db curated category or tags: cli, compiler, language-runtime, programming-language, python.
- [idris2](https://www.automicvault.com/pkg/brew/idris2/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [koka](https://www.automicvault.com/pkg/brew/koka/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [mercury](https://www.automicvault.com/pkg/brew/mercury/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [never](https://www.automicvault.com/pkg/brew/never/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [purescript](https://www.automicvault.com/pkg/brew/purescript/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [urweb](https://www.automicvault.com/pkg/brew/urweb/) - Shares av.db curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [chapel](https://www.automicvault.com/pkg/brew/chapel/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, language, language-runtime, programming.
- [swift](https://www.automicvault.com/pkg/brew/swift/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, language, language-runtime, programming.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
