# 使用 Homebrew, chocolatey, MacPorts, Nix, scoop, winget 安装 micronaut

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

## 安装

```sh
sudo av install brew:micronaut
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install micronaut
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install micronaut
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#micronaut
```

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

### Windows

- Chocolatey (92%):

```sh
choco install micronaut
```

  证据: Chocolatey community package catalog: micronaut from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.804','zoxide'

- Scoop (92%):

```sh
scoop install main/micronaut
```

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

- winget (92%):

```sh
winget install --id Micronaut.Launch -e
```

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

## 软件包事实

- **软件包键:** brew:micronaut
- **软件包管理器:** Homebrew
- **版本:** 5.1.0
- **来源摘要:** Modern JVM-based framework for building modular microservices
- **主页:** <https://micronaut.io/>
- **仓库:** <https://github.com/micronaut-projects/micronaut-starter>
- **最后更新:** 2026-07-28T02:15:51Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mn (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Micronaut is a JVM framework introduced by Graeme Rocher and the Object Computing team that built Grails. It was open sourced on May 23, 2018, with an explicit focus on microservices for Java, Groovy, and Kotlin, and reached 1.0 GA on October 23, 2018. Its defining design choice is compile-time dependency injection, AOP, and metadata generation, avoiding the reflection-heavy runtime model used by many older JVM application frameworks.

### 项目历史

Technically, Micronaut combined a Netty-based HTTP server and client, cloud-native configuration, service discovery, client-side load balancing, and serverless/microservice tooling with low startup time and memory use. That made it part of the same package-manager space as Spring Boot, Quarkus, Helidon, and Grails, but with a strong ahead-of-time and GraalVM-friendly identity.

### 使用方式

The project later gained formal foundation backing and corporate support. Oracle joined the Micronaut Foundation as an engineering partner in 2022 after contributing since 2020, including work around Micronaut AOT and Serialization. In 2026 the project announced plans to join the Commonhaus Foundation and described adoption across large corporations, small companies, private users, and more than 900 contributors. The Homebrew formula packages the `mn` launcher, used to generate and manage Micronaut applications from the command line.

### 来源

- <https://docs.micronaut.io/index.html>
- <https://formulae.brew.sh/formula/micronaut>
- <https://micronaut.io/2018/05/23/micronaut-open-sourced/>
- <https://micronaut.io/2018/10/23/micronaut-1-0-ga-released/>
- <https://micronaut.io/2022/10/04/announcing-our-new-engineering-partner-oracle/>
- <https://micronaut.io/2026/01/12/micronaut-announces-plans-to-join-the-commonhaus-foundation/>


## 安全说明

没有找到 micronaut 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - micronaut: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/micronaut/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - micronaut: normalized package name match | MacPorts ports tree: java/micronaut/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - micronaut: normalized package name match | Chocolatey community package catalog: micronaut from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.804','zoxide'
- Scoop - main/micronaut: normalized package name match | Scoop official bucket manifest trees: bucket/micronaut.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Micronaut.Launch: normalized package name match | Windows Package Manager source index: Micronaut.Launch from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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