# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, chocolatey, scoop, winget 安装 minikube

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

## 安装

```sh
sudo av install brew:minikube
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install minikube
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install minikube
```

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

### Linux

- apk (92%):

```sh
sudo apk add minikube
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#minikube
```

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

- pacman (92%):

```sh
sudo pacman -S minikube
```

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

- zypper (92%):

```sh
sudo zypper install minikube
```

  证据: openSUSE Tumbleweed package metadata: minikube from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install Minikube
```

  证据: Chocolatey community package catalog: Minikube from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','microsoft-windows-terminal'

- Scoop (92%):

```sh
scoop install main/minikube
```

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

- winget (92%):

```sh
winget install --id Kubernetes.minikube -e
```

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

## 软件包事实

- **软件包键:** brew:minikube
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/minikube>
- **版本:** 1.38.1
- **来源摘要:** Run a Kubernetes cluster locally
- **主页:** <https://minikube.sigs.k8s.io/>
- **仓库:** <https://github.com/kubernetes/minikube>
- **上游文档:** <https://minikube.sigs.k8s.io/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/kubernetes/minikube.git>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- minikube (cli)
- minikube (别名)

## 依赖

- kubernetes-cli

## 构建依赖

- go
- go-bindata

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.38.1
- 本地数据: OK
- 上游仓库: https://github.com/kubernetes/minikube
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

minikube grew inside the Kubernetes project as the standard local-development distribution for running Kubernetes on a laptop or workstation. Its core promise is a local Kubernetes cluster on macOS, Linux, or Windows, with a CLI that handles lifecycle actions such as start, stop, status, and delete. The project reached its 1.0.0 milestone in March 2019 alongside Kubernetes 1.14 support, with release notes emphasizing fast local development and broad support for Kubernetes features that fit on a single-machine cluster.

### 项目历史

Technically, minikube started from the single-node VM model that made Kubernetes approachable before developers had access to cloud clusters. VirtualBox was the original and widely documented driver, but the tool expanded into a driver framework that can run Kubernetes through VMs, containers, bare metal, or remote SSH depending on host OS and user needs. That driver model is one of minikube's main differences from narrower tools such as kind: minikube is a general local Kubernetes workstation, not only a Kubernetes-in-Docker test cluster.

### 使用方式

minikube became a Kubernetes teaching, tutorial, and CI fixture because it gives users a real Kubernetes API server with a short feedback loop. Kubernetes documentation uses it for cluster-introduction tutorials, the Kubernetes blog described it as the most popular community-built local Kubernetes option on Linux, and the minikube docs include workflows for GitHub Actions. In practice, developers use it to test manifests, Helm charts, ingress, storage, add-ons, and application deployments before moving work to shared or production clusters.

### 来源

- <https://discuss.kubernetes.io/t/minikube-v1-0-0-has-been-released/5702>
- <https://github.com/kubernetes/minikube>
- <https://kubernetes.io/blog/2019/03/28/running-kubernetes-locally-on-linux-with-minikube-now-with-kubernetes-1.14-support/>
- <https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/>
- <https://minikube.sigs.k8s.io/docs/drivers/>
- <https://minikube.sigs.k8s.io/docs/tutorials/setup_minikube_in_github_actions/>


## 安全说明

Kubernetes cluster infrastructure.

- **Geiger 风险:** orange / 高
- Kubernetes cluster infrastructure


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.minikube/config/config.json
## 源数据库详情

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

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

- Nix - minikube: normalized package name match | nixpkgs package indexes: pkgs/by-name/mi/minikube/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - docker-machine-driver-kvm2 - 1.34.0-r16: normalized package name match | Alpine Linux edge package indexes: docker-machine-driver-kvm2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | minikube-maintained KVM driver for docker-machine | https://github.com/kubernetes/minikube
- apk - minikube - 1.34.0-r16: normalized package name match | Alpine Linux edge package indexes: minikube from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Tool that makes it easy to run Kubernetes locally | https://github.com/kubernetes/minikube
- apk - minikube-bash-completion - 1.34.0-r16: normalized package name match | Alpine Linux edge package indexes: minikube-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for minikube | https://github.com/kubernetes/minikube
- apk - minikube-fish-completion - 1.34.0-r16: normalized package name match | Alpine Linux edge package indexes: minikube-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for minikube | https://github.com/kubernetes/minikube
- apk - minikube-zsh-completion - 1.34.0-r16: normalized package name match | Alpine Linux edge package indexes: minikube-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for minikube | https://github.com/kubernetes/minikube
- pacman - minikube - 1.38.1-2: normalized package name match | Arch Linux sync databases: minikube from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool that makes it easy to run Kubernetes locally | https://github.com/kubernetes/minikube
- zypper - minikube - 1.38.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: minikube from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool to run Kubernetes locally | https://github.com/kubernetes/minikube
- zypper - minikube-bash-completion - 1.38.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: minikube-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Minikube bash completion | https://github.com/kubernetes/minikube
- zypper - minikube-fish-completion - 1.38.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: minikube-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Minikube fish completion | https://github.com/kubernetes/minikube
- zypper - minikube-zsh-completion - 1.38.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: minikube-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Minikube zsh completion | https://github.com/kubernetes/minikube
- MacPorts - minikube: normalized package name match | MacPorts ports tree: sysutils/minikube/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - Minikube: normalized package name match | Chocolatey community package catalog: Minikube from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','microsoft-windows-terminal'
- Scoop - main/minikube: normalized package name match | Scoop official bucket manifest trees: bucket/minikube.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Kubernetes.minikube: normalized package name match | Windows Package Manager source index: Kubernetes.minikube from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [go-bindata](https://pkg.so/zh-hans/brew/go-bindata/) - Build dependency declared by Homebrew.
- [kind](https://pkg.so/zh-hans/brew/kind/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes, local-cluster.
- [kompose](https://pkg.so/zh-hans/brew/kompose/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, kubernetes.
- [cri-tools](https://pkg.so/zh-hans/brew/cri-tools/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, kubernetes.
- [kubeconform](https://pkg.so/zh-hans/brew/kubeconform/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kubectx](https://pkg.so/zh-hans/brew/kubectx/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kubelogin](https://pkg.so/zh-hans/brew/kubelogin/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [krew](https://pkg.so/zh-hans/brew/krew/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kube-linter](https://pkg.so/zh-hans/brew/kube-linter/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [kubectl-tree](https://pkg.so/zh-hans/brew/kubectl-tree/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, kubernetes, kubernetes-cli.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
