# 使用 Homebrew, Nix 安装 flix

查看 flix 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:flix
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flix
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#flix
```

  证据: nixpkgs package indexes: pkgs/by-name/fl/flix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:flix
- **软件包管理器:** Homebrew
- **版本:** 0.75.1
- **来源摘要:** Statically typed functional, imperative, and logic programming language
- **主页:** <https://flix.dev/>
- **仓库:** <https://github.com/flix/flix>
- **最后更新:** 2026-07-09T08:38:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- flix (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.75.1
## 项目历史与用法

Flix is a JVM-targeting programming language that combines functional, imperative, and logic programming. Its package-manager relevance comes from being a research-rooted language implementation distributed as a command-line compiler and toolchain.

### 项目历史

The Flix documentation describes the language as developed at Aarhus University and by open-source contributors, in collaboration with researchers from the University of Waterloo, the University of Tubingen, and the University of Copenhagen. The public release stream on GitHub includes an October 2016 snapshot and a 2017 v0.1 release.

Flix is inspired by OCaml and Haskell, with ideas from Rust and Scala. Its implementation compiles to JVM bytecode, supports Java interoperability, and exposes language features such as a polymorphic type and effect system, region-based local mutable memory, effects and handlers, traits, and first-class Datalog programming.

### 采用历史

Flix's adoption is centered on language experimentation, academic programming-language work, and developers interested in mixing typed functional programming with embedded Datalog. Official docs emphasize Visual Studio Code support that uses the real compiler for diagnostics, navigation, and refactoring.

The project is packaged for Homebrew and Nix in the supplied package facts, which makes the compiler available through general-purpose developer package managers rather than only through source builds.

### 使用方式

Users install the flix command-line tool, write Flix programs, and run or compile them on the JVM. The official book presents the language as a full programming environment with Java interoperability and a VS Code extension tied directly to compiler behavior.

Because Flix includes first-class Datalog, it is often interesting to developers who want logic-programming style analysis inside a statically typed functional language rather than as a separate database or DSL.

### 为什么软件包爱好者会关心

Flix is package-nerd interesting because it packages a full language implementation with an active, frequent release cadence. It also sits at the intersection of compiler distribution, JVM runtime compatibility, editor tooling, and package-manager availability.

Its official releases show long-running pre-1.0 iteration, which is common for research-influenced language projects where the package artifact is also the primary vehicle for language design experiments.

### 时间线

- 2016: GitHub releases include an October snapshot.
- 2017: Flix v0.1 is published on GitHub Releases.
- 2019: The release stream reaches v0.6.0.
- 2026: Flix continues frequent pre-1.0 releases, including v0.75.0 during June.

### Related projects

- The Flix book is the official language documentation.
- The Visual Studio Code extension is part of the intended developer experience.
- The JVM and Java ecosystem are explicit interoperability targets for Flix programs.

### 来源

- <https://doc.flix.dev/>
- <https://github.com/flix/flix>
- <https://github.com/flix/flix/releases>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 其他软件包管理器记录

- Nix - flix: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/flix.yml](https://github.com/mxcl/pkgdb/blob/main/combined/flix.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
