Skip to content
المشاريع

حول

The easy declarative package manager for Linux and macOS: list the apps you want in one file, and nami installs them on any distro.

أدوات التطوير

كيف تُقاس هذه الأرقام

23 نجمة0 التفرعات +2 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+٢
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

波 nami  noun  A wave: the water rising, moving on, and coming back.

nami: the declarative package manager for Linux and macOS. One plain file lists your apps; nami installs them on the distro you have or on your Mac, and every change can be undone.

CI MIT licence

Install · Docs · Search packages · What's new

nami is a declarative package manager for Linux and macOS. You list the apps you want in one plain file, your user.nami, and nami makes your computer match it. A .nami file is YAML: there's no new language to learn. It works on the distribution you already have (Ubuntu, Fedora, Debian, Mint, Arch and the others), next to apt or dnf, and on a Mac, and you can undo every change.

The packages are nixpkgs': over 140,000, in the version you ask for, ready-built and signed. You don't install or learn Nix. On a Mac, nami also installs Mac apps from Homebrew's casks, like cask:rectangle, into your Applications folder, without Homebrew.

A terminal on Ubuntu 24.04. nami search firefox lists firefox 160.0 and similar apps instantly. nami install firefox ripgrep downloads them and prints: Installed firefox 160.0 and ripgrep 15.2.0, in your user.nami. cat ~/user.nami shows the two lines nami wrote.

Install

curl -fsSL https://namios.dev/install | sh

For Linux on x86_64 or ARM, and for Macs with Apple silicon or Intel and macOS 14 (Sonoma) or newer. It takes a minute or two, checks the download against its signed checksums, and you can read the script first. nami is in alpha: if something isn't working, nami report tells us.

Tested on Ubuntu, Debian, Fedora, Arch, openSUSE, Alpine and Void, runs on NixOS, and on macOS.

On a Linux desktop or a Mac it also adds the nami app. Don't want the app? Add -s -- --no-app after sh. To remove the app later: sudo nami remove nami-gui on Linux, or drag nami from Applications to the Trash on a Mac.

Try it

Open a new terminal after installing. Install an app, see what you have, and take it back:

nami search ripgrep     # find a package (works offline)
nami install ripgrep    # install it; it's added to your user.nami
nami list               # what you have
nami undo               # take that back

What nami does, and the tools it does it instead of:

One tool, instead of many. Install apps: apt, dnf, pacman, Flatpak, Homebrew, or nami install. Pick a version: PPAs, building it yourself, or firefox: 150. Give a project its tools: nvm, pyenv, rbenv, asdf, mise, devbox, direnv, or project.nami. Run a project's database: Docker Compose, or nami up. Try a tool once: npx, pipx run, nix-shell -p, or nami try. Keep your dotfiles: chezmoi, GNU Stow, yadm, or ~/.gitconfig:. Keep secrets in git: sops, agenix, or !secret. Set up every computer alike: setup scripts, Ansible, or nami sync. Ship your app to every distro: AppImage, Snap, a package per distro, or nami bundle. All in the same few YAML files, and every change can be undone.

Your setup is one file

Write what you want, and nami apply makes this computer match: it installs what's listed and removes what isn't. Each apply is a change you can go back to.

Your file, ~/.config/nami/user.nami, lists firefox, nodejs 22 and ripgrep. nami apply installs them on your computer, in /nix, next to apt or dnf. History shows three changes; nami undo goes from the newest back to the one before.
# ~/.config/nami/user.nami
packages:
  - ripgrep
  - nodejs: 22                 # the newest 22.x
  - git:
      ~/.gitconfig:            # git's settings, kept with git
        user:
          name: Ada
aliases:
  ll: eza -l --git
env:
  EDITOR: hx

Add a line, apply, and it's there. Here Ada adds nodejs: 22 in nano:

nano edits ~/user.nami: under firefox and ripgrep, Ada types - nodejs: 22 and saves. nami apply downloads 10 packages and prints: Applied ~/user.nami in 2.3 s, change 2. node --version prints v22.23.5.

nami apply              # make this computer match your user.nami
nami history            # every change, to go back to

Undo any change

Every install, removal, upgrade and apply is a change you can take back, instantly and with nothing to download. Your file goes back too, so the computer and your user.nami always agree.

nami undo removes nodejs 22.23.5 and prints: Back at change 1, ~/user.nami and its nami.lock are as they were then; go forward again with nami undo 2. cat ~/user.nami shows firefox and ripgrep again.

nami undo               # back one change
nami undo 2             # to any change you still have, forward or back

Three files

They take the same keys. Which file you write in decides whose apps and settings they are.

Three files. ~/.config/nami/user.nami, for you: packages firefox and ripgrep, an alias ll; nami apply. /etc/nami/system.nami, for everyone on this computer: packages htop and steam, the service cups.socket; sudo nami apply. project.nami, for a project: nodejs 22, tasks dev and test; nami shell.
File For Used by
~/.config/nami/user.nami You: your apps, dotfiles, shell and services nami install, nami apply (without sudo, or --user)
/etc/nami/system.nami Everyone on this computer: apps, services, files in /etc sudo nami apply (or --system)
project.nami A project's tools, tasks and services, pinned by its nami.lock nami shell, nami run, nami up, inside the project

Which file to use says more.

Give each project its own tools

A project.nami in a project's folder lists the tools, tasks and services it needs. Everyone who clones it gets the same versions, pinned in nami.lock, and none of it is installed for the whole computer.

In ~/hello, cat project.nami shows nodejs 22 under packages and a task, test: node test.mjs. nami run test downloads the project's Node.js, writes nami.lock and runs the tests: 2 tests passed. nami shell opens a shell with nodejs 22.23.5, and node --version prints v22.23.5.

# project.nami
packages:
  - nodejs: 22
tasks:
  dev: npm run dev
  test: npm test
services:
  - ./services/postgres.nami   # a database, run by nami: no containers or root
nami shell              # a shell with the project's tools
nami run test           # run a task
nami up                 # start its services

Projects says more.

Prefer clicking? Use the app

The nami app finds apps, keeps your setup, runs projects and goes back to an earlier change, without a terminal. It edits the same files as the nami command. The installer adds it when your computer has a desktop.

The nami app: Discover shows today's app and popular apps. A search for krita finds Krita; Get installs it. History lists Installed Krita and the change before it, and Undo Last Change takes it back.

Discover, and the apps you have:

The nami app on Discover: a search for over 140,000 apps and tools, categories, today's app and popular apps. The nami app on Installed: three updates waiting at the top, with Update All, and every installed app below.

Coming soon: namiOS

namiOS, coming soon: the whole computer from one file. A declarative Linux distribution, built on nami: the desktop, apps and settings, ready from the first start. Join the namiOS Alpha. Beside it, the namiOS desktop: Now Playing, the quick settings, and the Dock.

The same files, one step further: on namiOS, system.nami holds the whole computer, its people, desktop and look as well as its apps. Change a line, or a setting in Settings, and it can be undone like any other change. See namiOS, or join the namiOS alpha to try it first.

Ship your app as one file

nami bundle . turns your Rust, Go, C/C++, Python, Node, Electron, Zig, Flutter or .NET project into one file that runs on other distributions, old and new, with nothing to install first. It updates itself, taking only updates signed with your key.

Your project, in Rust, Go, C/C++, Python, Node, Electron, Zig, Flutter or .NET; nami bundle . makes one file, myapp-x86_64, 25 MB, glibc and all; --test starts it on Ubuntu 20.04 and 24.04, Debian 12, Fedora, Arch, openSUSE Tumbleweed and Linux Mint. It updates itself, signed. People just run the file: no nami, Nix or root needed.
nami bundle .           # one file, with everything it needs
nami bundle . --test    # start it on seven distributions, each in a clean container

Ship your app says how, and how to publish it.

Not there yet

nami is alpha: most things work, some won't yet, and things change between releases.

  • On a Mac, packages come ready-built only, services:, desktop settings:, Flathub apps and bundles are Linux's, and the nami app isn't notarized yet. Install on a Mac has the list.
  • nami doesn't run on Windows.
  • Services in your files need systemd. On Alpine or Void, apps and files work.
  • Bundles run on glibc distributions, not musl ones like Alpine. ARM bundles are for command-line programs from the catalog, and don't update themselves yet.

Docs

Contributing

./build.sh              # the static binary, target/release/nami, built in a container
cargo test --release    # the unit tests, as yourself

Never run a nami you built with sudo on your own computer: try it in a container.

Why nami

  • Any app, in any version. Over 140,000 packages from nixpkgs, each with its own libraries, so nothing clashes with your distro. Ask for nodejs: 22 or [email protected] and get the newest of that line.
  • Your distro stays as it was. Apps go in /nix and nami's own files in /nami, not /usr, so apt, dnf and your distribution's updates carry on as before.
  • The same setup on every computer. Put your user.nami in git, or turn on nami sync, and add an app on your laptop to have it on your desktop too.
  • Search is instant, and works offline. The whole catalog is on your computer.

How nami differs from Nix

nami is its own package manager, written in Rust. It uses nixpkgs' packages and their ready-built, signed downloads from cache.nixos.org, and works next to Nix and on NixOS. What's different:

Nix nami
Your setup Written in the Nix language One plain file, your user.nami, in YAML
Installing it Nix, then often home-manager and flakes One program; nothing else to install or learn
Finding a package Evaluates nixpkgs on your computer A signed catalog, already evaluated: search is instant and works offline
Picking a version Pin a nixpkgs revision, or an overlay nodejs: 22: the newest of that line
Dotfiles, settings, services home-manager, NixOS modules In the same file: ~/.gitconfig:, settings:, services:
Going back Generations of a whole profile nami undo: each change, named, and what it changed
Software that isn't packaged Write a derivation nami recipe from-url writes the recipe from a project's link

Performance

nami against Nix: search all packages 11 ms against 1.3 s; a new computer with three tools 4.3 s against 8.4 s; start a project's tools again 8 ms against 0.07 s; what you install 33 MB against 114 MB.

Measured November 19, 2026: nami 0.18.7 and Nix 2.35.6, the same nixpkgs from cache.nixos.org, the middle of three runs, each in a new container. tests/bench/nami-vs-nix.sh runs the same comparison on your computer.

Already use Nix? nami works next to it and on NixOS, sharing /nix/store, and nami import turns a home-manager configuration, a shell.nix or a flake into nami files (Bring your Nix setup).

Questions

Is nami just Nix with a YAML wrapper?

No. nami is its own program, in Rust, and doesn't run Nix to install anything. nixpkgs is evaluated once per release, ahead of time, into a signed catalog, so nami install ripgrep is a lookup. nami then downloads the ready-built packages from cache.nixos.org itself and checks the cache's signatures. What it shares with Nix is nixpkgs, cache.nixos.org and /nix/store. What it leaves out is the Nix language: anything a file can't say is a recipe, and nami recipe from-url writes one from a project's link.

Will it get in the way of apt or dnf?

No. Apps go in /nix/store and nami's own files in /nami, not /usr. What nami puts in /usr is links: the nami command, menu entries and tab completion. Your distribution's packages and updates carry on as before. Files on disk lists every path.

Is curl | sh safe?

You can read the script first. It downloads the release, checks it against its SHA256SUMS and their signature, and asks for your password once. nami self-update only takes a release signed by a key your computer already trusts.

Why not Flatpak, or Homebrew on Linux?

nami installs Flathub apps too (nami install flathub:org.gnome.Calculator) and keeps them in the same file. It goes further: command-line tools, libraries, any version, dotfiles, settings, services and each project's tools, all in your files, and every change can be undone.

What does nami send home?

No usage data and no ID for your computer. Once a day it asks namios.dev for the newest release and catalog (updates: manual turns that off), and it downloads packages from cache.nixos.org. nami report sends only when you run it, after showing you everything it would send. The privacy page has the details.

How do I remove it?

In the nami app, click Uninstall nami… at the bottom of Installed (on a Mac, it's in the nami menu too). In a terminal, run sudo nami self-uninstall, or curl -fsSL https://namios.dev/uninstall | sh if the nami command doesn't work any more. Either way it removes nami, every app installed with it and its store, and says so before it asks. Your nami files and your home folder stay. Uninstall nami has the rest.

Is it free?

Yes. nami is MIT-licensed, with nothing to pay for and no account.


By Shio Labs · MIT licence (LICENSE); packages keep their own licences.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…