<div align="center">
<img width="120" height="120" hspace="10" alt="ZDS Logo" src="https://gitlab.com/Zillowe/Zillwen/Zusty/ZDS/-/raw/main/img/zds.png"/>
<h1>Zoi</h1>
<p><strong>Universal Package Manager & Environment Setup Tool</strong></p>
</div>
<br/>
<div align="center">
<a href="https://gitlab.com/Zillowe/Zillwen/Zusty/Zoi/-/releases">
<img alt="GitLab Latest Release" src="https://img.shields.io/gitlab/v/release/Zillowe%2FZillwen%2FZusty%2FZoi?sort=date&display_name=release&style=flat&logo=gitlab&logoColor=%23fff&label=Release&labelColor=%235452f1&color=%23282696"/>
</a>
<a href="https://gitlab.com/Zillowe/Zillwen/Zusty/Zoi/-/pipelines">
<img alt="GitLab Pipeline Status" src="https://img.shields.io/gitlab/pipeline-status/Zillowe%2FZillwen%2FZusty%2FZoi?style=flat&logo=gitlab&logoColor=%23fff&label=Pipeline&labelColor=%235452f1"/>
</a>
<br/>
<a href="https://aur.archlinux.org/packages/zoi-bin">
<img alt="AUR Version" src="https://img.shields.io/aur/version/zoi-bin?style=flat&logo=archlinux&logoColor=%23ffff&label=AUR&labelColor=5452f1&color=282696"/>
</a>
<a href="https://github.com/Zillowe/homebrew-tap">
<img alt="Homebrew Version" src="https://img.shields.io/badge/dynamic/regex?url=https%3A%2F%2Fgitlab.com%2FZillowe%2FZillwen%2FZusty%2FZoi%2F-%2Fraw%2Fmain%2Fpackages%2Fbrew%2Fzoi.rb&search=version%5Cs%2B%22(%5B%5E%22%5D%2B)%22&replace=%241&style=flat&logo=homebrew&logoColor=%23ffff&label=Homebrew&labelColor=%235452f1&color=%23282696">
</a>
<a href="https://github.com/Zillowe/scoop">
<img alt="Scoop Version" src="https://img.shields.io/scoop/v/zoi?bucket=https%3A%2F%2Fgithub.com%2FZillowe%2Fscoop&style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIFRyYW5zZm9ybWVkIGJ5OiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZmZmZmZmIj4KDTxnIGlkPSJTVkdSZXBvX2JnQ2FycmllciIgc3Ryb2tlLXdpZHRoPSIwIi8%2BCg08ZyBpZD0iU1ZHUmVwb190cmFjZXJDYXJyaWVyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KDTxnIGlkPSJTVkdSZXBvX2ljb25DYXJyaWVyIj4gPHRpdGxlPm1pY3Jvc29mdDwvdGl0bGU%2BIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIvPiA8cGF0aCBkPSJNMiwzaDl2OUgyVjNtOSwxOUgyVjEzaDl2OU0yMSwzdjlIMTJWM2g5bTAsMTlIMTJWMTNoOVoiLz4gPC9nPgoNPC9zdmc%2B&logoColor=%23ffff&label=Scoop&labelColor=%235452f1&color=%23282696"/>
</a>
<br/>
<a href="https://crates.io/crates/zoi-cli">
<img alt="Crates.io Version" src="https://img.shields.io/crates/v/zoi-cli?style=flat&logo=rust&logoColor=%23ffff&label=Crates.io&labelColor=%235452f1&color=%23282696">
</a>
</div>
<br/>
<div align="center">
<a href="https://zillowe.rf.gd/docs/zds/zoi"><strong>Docs</strong></a> •
<a href="https://discord.gg/P4R7yaA3hf"><strong>Discord</strong></a> •
<a href="./SECURITY.md"><strong>Security</strong></a> •
<a href="./CODE_OF_CONDUCT.md"><strong>Code of Conduct</strong></a> •
<a href="https://gitlab.com/Zillowe/Zillwen/Zusty/Zoi/-/issues"><strong>Report an Issue</strong></a>
</div>
<hr/>
<div align="center">
<a href="https://www.producthunt.com/products/zoi-7?embed=true&utm_source=badge-featured&utm_medium=badge&utm_source=badge-zoi-7" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1001167&theme=dark&t=1754316232566" alt="Zoi - Universal Package Manager & Environment Setup Tool | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
</div>
<details>
<summary>Table of Contents</summary>
- [Features](#-features)
- [Getting Started](#-getting-started)
- [Installation](#-installation)
- [Package Managers](#package-managers)
- [Arch Linux (AUR)](#arch-linux-aur)
- [macOS (Homebrew)](#macos-homebrew)
- [Windows (Scoop)](#windows-scoop)
- [From Crates.io](#from-cratesio)
- [From NPM](#from-npm)
- [Scripts](#-scripts)
- [Build from Source](#%EF%B8%8F-build-from-source)
- [Platforms](#-platforms)
- [Dependencies Support](#-dependencies-support)
- [Usage](#-usage)
- [Packaging Status](#-packaging-status)
- [Mirrors](#-mirrors)
- [Contributing](#-contributing)
- [License](#-license)
</details>
Zoi is a universal package manager and environment setup tool, designed to simplify package management and environment configuration across multiple operating systems.
## ✨ Features
- **Cross-Platform:** Works seamlessly on Linux, macOS, and Windows.
- **Universal Package Support:** Install packages from various sources: binaries, compressed archives, build from source, or installer scripts.
- **Extensive Dependency Management:** Integrates with over 30+ package managers (`apt`, `brew`, `cargo`, `npm`, `pip`, `scoop`, etc.) to handle dependencies.
- **Optional Dependencies:** Packages can define optional dependencies for extra features, which users can select during installation.
- **Project Environments:** Easily define and manage project-specific environments and commands using `zoi.yaml`.
- **Repository-Based:** Manage packages from official or community repositories. Easily add your own.
- **Intuitive CLI:** A simple and powerful command-line interface with helpful aliases for a better developer experience.
- **Package Types:** Supports standard packages, meta-packages (collections), background services, and configuration file management.
- **Secure Package Distribution:** Support for checksums and GPG signatures to verify package integrity and authenticity.
## 🚀 Getting Started
Getting started with Zoi is simple. Just follow these three steps:
1. **Install Zoi:**
Choose one of the [installation methods](#-installation) below.
2. **Sync Repositories:**
Before you can install packages, you need to sync the package repositories.
```sh
zoi sync
```
3. **Install a Package:**
Now you can install any package you want. For example, to install `hello`:
```sh
zoi install hello
```
## 📦 Installation
You can install Zoi using a package manager, an installer script, or by building it from source.
### Package Managers
#### Arch Linux (AUR)
Install [`zoi-bin`](https://aur.archlinux.org/packages/zoi-bin) (Pre-compiled binary) or [`zoi`](https://aur.archlinux.org/packages/zoi) (built from source) from the AUR using your favorite helper (e.g. `yay`, `paru`):
```sh
yay -S zoi-bin
```
Or manually without any helpers:
```sh
git clone https://aur.archlinux.org/zoi-bin.git
cd zoi-bin
makepkg -si
```
#### macOS (Homebrew)
Install Zoi using Homebrew:
```sh
brew install Zillowe/tap/zoi
```
#### Windows (Scoop)
Install Zoi using Scoop:
```powershell
scoop bucket add zillowe https://github.com/Zillowe/scoop.git
scoop install zoi
```
#### From Crates.io
You can install `zoi-cli` directly from [crates.io](https://crates.io/crates/zoi-cli) using `cargo`:
```sh
cargo install zoi-cli
```
#### From NPM
You can install `@zillowe/zoi` from `npm` also.
```sh
npx @zillowe/zoi
bunx @zillowe/zoi
pnpm dlx @zillowe/zoi
yarn dlx @zillowe/zoi
```
### 📜 Scripts
You can also use our installer scripts for a quick setup.
**Linux / macOS :**
```sh
curl -fsSL https://gitlab.com/Zillowe/Zillwen/Zusty/Zoi/-/raw/main/app/install.sh | bash
```
**Windows:**
```powershell
powershell -c "irm gitlab.com/Zillowe/Zillwen/Zusty/Zoi/-/raw/main/app/install.ps1|iex"
```
### 🛠️ Build from Source
If you prefer, you can build Zoi from source. You'll need [Rust](https://www.rust-lang.org) installed.
**Build the release binary:**
```sh
# For Linux/macOS
./build/build-release.sh
# For Windows
./build/build-release.ps1
```
**Install it locally:**
```sh
./configure
make
sudo make install
# Install CLI completions (bash, zsh, fist, elvish, powershell)
make install-completion
```
## 💻 Platforms
What platforms we currently support.
| OS | Arch | Zoi Binary | Packages Support |
| ------- | ----- | ---------- | ---------------- |
| Linux | amd64 | ✔️ | ✔️ |
| Linux | arm64 | ✔️ | ✔️ |
| macOS | arm64 | ✔️ | ✔️ |
| macOS | amd64 | ✔️ | ✔️ |
| Windows | amd64 | ✔️ | ✔️ |
| Windows | arm64 | ❌ | ✔️ |
| FreeBSD | amd64 | ❌ | ✔️ |
| FreeBSD | arm64 | ❌ | ✔️ |
| OpenBSD | amd64 | ❌ | ✔️ |
| OpenBSD | arm64 | ❌ | ✔️ |
We're planning to add support for more platforms.
## 🔗 Dependencies Support
What dependency installation we support.
| Manager | Ecosystem / OS | Example |
| ---------------- | ------------------------------- | ----------------------------------------- |
| `zoi` | Zoi | `zoi:my-other-package` |
| `native` | System's native package manager | `native:openssl` |
| `apt`, `apt-get` | Debian, Ubuntu, etc. | `apt:libssl-dev` |
| `pacman` | Arch Linux | `pacman:base-devel` |
| `yay`, `paru` | Arch Linux (AUR) | `yay:google-chrome` |
| `aur` | Arch Linux (AUR) | `aur:visual-studio-code-bin` |
| `dnf`, `yum` | Fedora, CentOS, RHEL | `dnf:openssl-devel` |
| `zypper` | openSUSE | `zypper:libopenssl-devel` |
| `apk` | Alpine Linux | `apk:git` |
| `portage` | Gentoo | `portage:dev-libs/openssl` |
| `brew` | macOS (Homebrew) | `brew:node` |
| `macports` | macOS (MacPorts) | `macports:git` |
| `scoop` | Windows | `scoop:git` |
| `choco` | Windows (Chocolatey) | `choco:git` |
| `winget` | Windows | `winget:Git.Git` |
| `snap` | Linux (Snapcraft) | `snap:node` |
| `flatpak` | Linux (Flathub) | `flatpak:org.gimp.GIMP` |
| `pkg` | FreeBSD | `pkg:git` |
| `pkg_add` | OpenBSD | `pkg_add:git` |
| `cargo` | Rust | `cargo:ripgrep` |
| `cargo-binstall` | Rust (pre-compiled binaries) | `cargo-binstall:ripgrep` |
| `go` | Go | `go:golang.org/x/tools/cmd/goimports` |
| `npm` | Node.js | `npm:typescript` |
| `yarn` | Node.js | `yarn:react` |
| `pnpm` | Node.js | `pnpm:vite` |
| `bun` | Bun | `bun:elysia` |
| `deno` | Deno | `deno:npm:chalk` or `deno:jsr:@std/bytes` |
| `jsr` | JavaScript Registry | `jsr:@std/http` |
| `pip` | Python | `pip:requests` |
| `pipx` | Python | `pipx:black` |
| `conda` | Conda | `conda:numpy` |
| `gem` | Ruby | `gem:rails` |
| `composer` | PHP | `composer:laravel/installer` |
| `dotnet` | .NET | `dotnet:csharp-ls` |
| `nix` | NixOS / Nix | `nix:nixpkgs.hello` |
Some of the package manager are OS specific, so when a dependency is in that package manager it only installs it for that OS.
But some other package managers like `npm`, it installs the dependency if the package manager is available.
## 💡 Usage
Here are some common commands to get you started.
- **Install a package:**
```sh
zoi install <package_name>
```
- **Uninstall a package:**
```sh
zoi uninstall <package_name>
```
- **Install from a specific repository:**
```sh
zoi install @<repo_name>/<package_name>
```
- **List all available packages from active repos:**
```sh
zoi list --all
```
- **List packages from a specific repo:**
```sh
zoi list --all --repo <repo_name>
```
- **Search for a package:**
```sh
zoi search <term>
```
- **Search for a package from a specific repo:**
```sh
zoi search <term> @<repo_name>
```
- **Add a new repository:**
```sh
# Interactively
zoi repo add
# By name
zoi repo add <repo_name>
# From a git repo
zoi repo add https://github.com/<user_name>/<repo_name>.git
```
- **Update Zoi to the latest version:**
```sh
zoi upgrade
```
For more detailed information, please refer to the [Docs](https://zillowe.rf.gd/docs/zds/zoi).
## 📦 Packaging Status
[](https://repology.org/project/zoi/versions)
## 🤝 Contributing
We welcome contributions from the community! If you'd like to contribute, please read our [Contributing Guidelines](./CONTRIBUTING.md) for more information.
New features, enhancements and bug reports are welcome.
## 🪞 Mirrors
Zoi host it's main repo [this] and packages database repo on:
Main Repo:
- [GitLab](https://gitlab.com/Zillowe/Zillwen/Zusty/Zoi) Main
- [GitHub](https://github.com/Zillowe/Zoi) Mirror
- [Codeberg](https://codeberg.org/Zillowe/Zoi) Mirror
Packages Repo:
- [GitLab](https://gitlab.com/Zillowe/Zillwen/Zusty/Zoi-Pkgs) Main
- [GitHub](https://github.com/Zillowe/Zoi-Pkgs) Mirror
- [Codeberg](https://codeberg.org/Zillowe/Zoi-Pkgs) Mirror
## 📜 License
Zoi is licensed under the [Apache-2.0 License](./LICENSE).
<hr/>
<div align="center">
<p>Zoi is developed by Zusty < Zillowe Foundation<br/>Part of the <a href="https://gitlab.com/Zillowe/Zillwen/Zusty/ZDS">Zillowe Development Suite (ZDS)</a></p>
</div>