# Install kokkos with Homebrew, dnf, MacPorts, Nix, apt, zypper

C++ Performance Portability Ecosystem for parallel execution and abstraction. Version 5.2.0 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#kokkos.

## Install

```sh
sudo av install brew:kokkos
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kokkos
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kokkos
```

  Evidence: MacPorts ports tree: devel/kokkos/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install kokkos
```

  Evidence: Fedora Rawhide package metadata: kokkos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#kokkos
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ko/kokkos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install kokkos
```

  Evidence: Ubuntu 24.04 LTS package indexes: kokkos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install kokkos-devel
```

  Evidence: openSUSE Tumbleweed package metadata: kokkos-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:kokkos
- **Package manager:** Homebrew
- **Version:** 5.2.0
- **Source summary:** C++ Performance Portability Ecosystem for parallel execution and abstraction
- **Homepage:** <https://kokkos.org>
- **Repository:** <https://github.com/kokkos/kokkos>
- **Last updated:** 2026-07-25T00:56:53Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- hpcbind (alias)
- kokkos_launch_compiler (alias)
- nvcc_wrapper (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 5.2.0
## Project history and usage

Kokkos is a C++ performance-portability ecosystem for writing parallel code that can target different CPU and accelerator backends. The Homebrew package exposes developer tools such as nvcc_wrapper and kokkos_launch_compiler, making a large HPC programming model feel like a normal installable developer dependency.

### Project history

Kokkos originated in the U.S. Department of Energy national-lab HPC world, with Sandia National Laboratories as the original developer. Its early evolution moved from node abstractions around 2008-2010 into a fuller programming model around 2010-2014, combining execution abstractions with data abstractions.

The 2014 Kokkos paper described the core idea: applications and domain libraries need performance portability across manycore architectures, and memory access patterns are as important as parallel execution. Sandia describes the Kokkos ecosystem as released in 2017 to provide a vendor-independent performance-portable programming system for scientific, engineering, and mathematical C++ applications.

The project later became part of the Linux Foundation's High Performance Software Foundation ecosystem. Kokkos documentation describes Core as the programming model, with related projects for math kernels, profiling/debugging tools, Python bindings, remote spaces, and resilience/checkpointing.

### Adoption history

Kokkos adoption tracks the HPC shift from single-architecture tuning toward heterogeneous systems with NVIDIA, AMD, Intel, and CPU backends. Its support for CUDA, HIP, SYCL, HPX, OpenMP, and C++ threads made it a common portability layer for DOE and scientific codes preparing for exascale machines.

Package-manager adoption matters because Kokkos is often both a library dependency and a compiler-wrapper/tooling dependency. Making it available through Homebrew, Linux distribution packages, MacPorts, Nix, and openSUSE helps developers test and build performance-portable code outside facility-specific software stacks.

### How it is used

Users build C++ applications against Kokkos Core to express parallel execution policies and memory spaces without hard-coding one backend. The package's CLI-visible tools support compilation flows, especially CUDA-oriented builds through wrappers such as nvcc_wrapper.

In practice, Kokkos often appears inside larger scientific applications and libraries rather than as an end-user command. Its package entry is still valuable because the build system has to find headers, libraries, compiler wrappers, enabled backends, and compatible C++ compiler settings.

### Why package nerds care

Kokkos is a stress test for package systems because it is C++, HPC, backend-sensitive, and toolchain-sensitive. A good package has to expose enough knobs for OpenMP, CUDA, HIP, SYCL, and compiler integration without making every user rebuild a bespoke supercomputer stack.

It is also a marker of HPC software moving into mainstream package indexes. Homebrew carrying Kokkos means macOS and workstation developers can inspect, compile, and prototype with an exascale-era programming model before moving to clusters.

### Timeline

- 2008-2010: Kokkos history materials describe early node abstractions and sparse-kernel work.
- 2010-2014: Kokkos evolved into a complete programming model with execution and data abstractions.
- 2014: The original Kokkos paper appeared in Journal of Parallel and Distributed Computing.
- 2017: Sandia describes the Kokkos ecosystem as released for vendor-independent performance portability.
- 2020-02-28: GitHub release metadata records Kokkos 3.0.00.
- 2023-03-03: GitHub release metadata records Kokkos 4.0.00.

### Related projects

- The Kokkos ecosystem includes kokkos-kernels, kokkos-tools, pykokkos, kokkos-remote-spaces, and kokkos-resilience. It is used alongside HPC projects and libraries such as Trilinos and LAMMPS, and conceptually relates to RAJA, OpenMP, CUDA, HIP, SYCL, and C++ standardization efforts such as mdspan.

### Sources

- <https://api.github.com/repos/kokkos/kokkos/releases>
- <https://kokkos.org/about/overview/>
- <https://kokkos.org/kokkos-core-wiki/>
- <https://kokkos.org/kokkos-core-wiki/citation.html>
- <https://www.osti.gov/servlets/purl/1765805>
- <https://www.sandia.gov/news/publications/hpc-annual-reports/article/kokkos/>


## Security Notes

No matching local secret-handling manifest was found for kokkos. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Nix - kokkos: normalized package name match | nixpkgs package indexes: pkgs/by-name/ko/kokkos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kokkos - 3.7.01-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: kokkos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- Ubuntu apt - libkokkos-dev - 3.7.01-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libkokkos-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- Ubuntu apt - libkokkos3.7 - 3.7.01-2.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libkokkos3.7 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- dnf - kokkos - 5.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Kokkos C++ Performance Portability Programming | https://github.com/kokkos/kokkos
- dnf - kokkos-devel - 5.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development package for kokkos packages | https://github.com/kokkos/kokkos
- dnf - kokkos-rocm - 5.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos-rocm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | kokkos ROCm package | https://github.com/kokkos/kokkos
- dnf - kokkos-rocm-devel - 5.1.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: kokkos-rocm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | kokkos ROCm development package | https://github.com/kokkos/kokkos
- zypper - kokkos-devel - 5.1.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: kokkos-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development package for kokkos packages | https://github.com/kokkos/kokkos
- zypper - libkokkos-5_1 - 5.1.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libkokkos-5_1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A C++ Performance Portability Programming Library | https://github.com/kokkos/kokkos
- MacPorts - kokkos: normalized package name match | MacPorts ports tree: devel/kokkos/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
