# 使用 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
- **版本:** 1.38.1
- **来源摘要:** Run a Kubernetes cluster locally
- **主页:** <https://minikube.sigs.k8s.io/>
- **仓库:** <https://github.com/kubernetes/minikube>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- minikube (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
