# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, winget 安装 odin

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

## 安装

```sh
sudo av install brew:odin
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install odin
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install odin
```

  证据: MacPorts ports tree: lang/odin/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add odin
```

  证据: Alpine Linux edge package indexes: odin from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install odin
```

  证据: Debian stable package indexes: odin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#odin
```

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

- pacman (92%):

```sh
sudo pacman -S odin
```

  证据: Arch Linux sync databases: odin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install versions/odin
```

  证据: Scoop official bucket manifest trees: bucket/odin.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id AsimAftab.Odin -e
```

  证据: Windows Package Manager source index: AsimAftab.Odin from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:odin
- **软件包管理器:** Homebrew
- **版本:** 2026-07a
- **来源摘要:** Programming language with focus on simplicity, performance and modern systems
- **主页:** <https://odin-lang.org/>
- **仓库:** <https://github.com/odin-lang/Odin>
- **最后更新:** 2026-08-01T06:44:58Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- odin (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Odin is a systems programming language positioned by its project as a pragmatic C alternative for performance-oriented, data-oriented software. Its public identity emphasizes distinct typing, high performance, modern systems work, built-in data-oriented data types, and a standard library large enough for practical native development.

### 项目历史

Creator Bill Hall, known as Ginger Bill, lists Odin as a public project running from 2016 onward, and the GitHub repository was created on November 23, 2016. The project grew around a language design that favors explicitness, simple control flow, manual memory management, compile-time facilities, and direct interop rather than a managed runtime.

The repository and official release feed show an active compiler, standard library, vendor binding, and tooling project rather than only a language specification. Development snapshots such as dev-2026-06 package compiler changes, language features, cryptography packages, bindings, and core-library fixes into downloadable artifacts for Linux, macOS, and Windows.

### 采用历史

Odin's adoption path has been language-community driven: the official site, GitHub repository, package documentation site, examples, and monthly development builds make the compiler and library surface easy for enthusiasts to follow. Packaging across Homebrew, Arch, Nix, Scoop, MacPorts, Winget, and Linux distributions reflects a language that package managers treat as a developer tool worth shipping directly.

On July 1, 2026, the GitHub repository API reported 10,935 stars and 990 forks, which places Odin among the visible independent systems-language projects while still far outside the scale of mainstream platform languages.

### 使用方式

Developers use the `odin` executable to build native programs, run examples, generate documentation, and experiment with data-oriented designs. The official package browser exposes core and vendor packages, while the repository ships examples and tests that function as both compiler validation and learning material.

Odin is most relevant where developers want C-like control with a more opinionated type system and built-in features such as slices, dynamic arrays, SOA-oriented data layout, context passing, reflection, and package-based organization.

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

For package nerds, Odin is interesting because its package is the language: installing `brew install odin` gives a compiler, standard library, vendor bindings, tools, and examples that move together in development snapshots. The formula tracks a fast-moving upstream rather than a long-term-stable ABI ecosystem.

The package also illustrates how newer languages spread through multi-manager availability before they reach a 1.0-style maturity marker: Homebrew, Nix, Arch, Scoop, Winget, and other channels become part of the language's adoption surface.

### 时间线

- 2016: Ginger Bill lists Odin as a project beginning in 2016, and the GitHub repository was created on November 23, 2016.
- 2023-2026: Odin's public site, package browser, examples, and dev releases present it as a usable systems language with ongoing compiler and library work.
- June 10, 2026: The dev-2026-06 release shipped downloadable builds and changes across language features, compiler improvements, new crypto packages, core packages, and vendor bindings.

### Related projects

- Odin's ecosystem includes OLS, the Odin language server, and odinfmt, the formatter packaged separately by Homebrew. The package browser at pkg.odin-lang.org is also central because it exposes the standard and vendor package surface that developers evaluate before adopting the language.

### 来源

- <https://api.github.com/repos/odin-lang/Odin>
- <https://formulae.brew.sh/formula/odin>
- <https://github.com/odin-lang/Odin>
- <https://github.com/odin-lang/Odin/releases/tag/dev-2026-06>
- <https://odin-lang.org/>
- <https://pkg.odin-lang.org/>
- <https://www.gingerbill.org/>


## 安全说明

generalized runtime or code generation signal.

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

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

- Debian apt - libodin-dev - 2.0.5-7+b1: normalized package name match | Debian stable package indexes: libodin-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | static libraries and header for ODIN sequences | https://od1n.sourceforge.net
- Debian apt - mitools - 2.0.5-7+b1: normalized package name match | Debian stable package indexes: mitools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | view, convert and perform basic maths with medical image datasets | https://od1n.sourceforge.net
- Debian apt - odin - 2.0.5-7+b1: normalized package name match | Debian stable package indexes: odin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | develop, simulate and run magnetic resonance sequences | https://od1n.sourceforge.net
- Nix - odin: normalized package name match | nixpkgs package indexes: pkgs/by-name/od/odin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libodin-dev - 2.0.5-5build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libodin-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | static libraries and header for ODIN sequences | https://od1n.sourceforge.net
- Ubuntu apt - mitools - 2.0.5-5build4: normalized package name match | Ubuntu 24.04 LTS package indexes: mitools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | view, convert and perform basic maths with medical image datasets | https://od1n.sourceforge.net
- Ubuntu apt - odin - 2.0.5-5build4: normalized package name match | Ubuntu 24.04 LTS package indexes: odin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | develop, simulate and run magnetic resonance sequences | https://od1n.sourceforge.net
- apk - odin - 0.2026.07-r0: normalized package name match | Alpine Linux edge package indexes: odin from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast, concise, readable, pragmatic and open sourced programming language | https://odin-lang.org/
- apk - odin-doc - 0.2026.07-r0: normalized package name match | Alpine Linux edge package indexes: odin-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast, concise, readable, pragmatic and open sourced programming language (documentation) | https://odin-lang.org/
- apk - odin-vendor - 0.2026.07-r0: normalized package name match | Alpine Linux edge package indexes: odin-vendor from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Vendor collection for Odin programming language | https://odin-lang.org/
- pacman - odin - dev_2026_07-1: normalized package name match | Arch Linux sync databases: odin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Data-oriented programming language | https://odin-lang.org/
- MacPorts - odin: normalized package name match | MacPorts ports tree: lang/odin/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - versions/odin: normalized package name match | Scoop official bucket manifest trees: bucket/odin.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1
- winget - AsimAftab.Odin: normalized package name match | Windows Package Manager source index: AsimAftab.Odin from https://cdn.winget.microsoft.com/cache/source.msix
- winget - odin-lang.Odin: normalized package name match | Windows Package Manager source index: odin-lang.Odin from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/odin.yml](https://github.com/mxcl/pkgdb/blob/main/combined/odin.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
