Automic VaultAutomic Vault

brew

Install coconut with Homebrew, Nix

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install coconut

local Homebrew formula metadata

overview

Package summary

Simple, elegant, Pythonic functional programming

Commands and aliases

  • coconut
  • coconut-py3
  • coconut-py3-run
  • coconut-py3.14
  • coconut-py3.14-run
  • coconut-release
  • coconut-release-run
  • coconut-run
  • coconut-v3
  • coconut-v3-run
  • coconut-v3.2
  • coconut-v3.2-run
  • coconut-v3.2.0
  • coconut-v3.2.0-run

history

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.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
coconutcliglobal executable
coconut-py3cliglobal executable
coconut-py3-runcliglobal executable
coconut-py3.14cliglobal executable
coconut-py3.14-runcliglobal executable
coconut-releasecliglobal executable
coconut-release-runcliglobal executable
coconut-runcliglobal executable
coconut-v3cliglobal executable
coconut-v3-runcliglobal executable
coconut-v3.2cliglobal executable
coconut-v3.2-runcliglobal executable
coconut-v3.2.0cliglobal executable
coconut-v3.2.0-runcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.2.0
manager updated2026-05-20
local dataok
upstreamnot checked
latest detectednot detected

https://coconut-lang.org/

install metadata

Package metadata

Package keybrew:coconut
Version3.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/coconut
Homepagehttps://coconut-lang.org/
Repositoryhttps://github.com/evhub/coconut
Upstream docshttps://coconut-lang.org/
LicenseApache-2.0
Source archivehttps://files.pythonhosted.org/packages/06/f4/38f315a1d8568257a74fe482e925368a2ef4bccc9b1d5751f003570bccc5/coconut-3.2.0.tar.gz
Last updated2026-05-20T12:19:36Z
Pulseupdated
Dependenciespython@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecoconut
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

coconut

nix profile install nixpkgs#coconut
  • normalized package name match
  • Matched by: Coconut
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: coconut from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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