3 ms·
# Nami A decentralized binary package manager ### Why There are already many package managers, like apt-get, brew, but this is all centralized. Every time th
by txthinking 7y ago
# Nami
A decentralized binary package manager
### Why
There are already many package managers, like apt-get, brew, but this is all centralized.
Every time the author updates the software, they need to write complex configuration files and PRs and wait for merge.
Nami is a decentralized binary package manager,
she allows software authors to publish their software anywhere,
without having to request a merge from a software center for each update.
### Install
$ curl -L git.io/getnami | bash && exec -l $SHELL
### Usage
NAME:
nami - A decentralized binary package manager
USAGE:
nami [global options] command [command options] [arguments...]
COMMANDS:
install Install package. $ nami install github.com/txthinking/nami
upgrade Upgrade package. $ nami upgrade github.com/txthinking/nami
remove Remove package. $ nami remove github.com/txthinking/nami
info Print package information. $ nami info github.com/txthinking/nami
list Print installed packages. $ nami list
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
### Example
$ nami install github.com/txthinking/nami
### What Does Nami Do?
All files are stored in `~/.nami`
## Nami for Software Publisher
- Package name such as `yourdomain.com/package`
- Nami will send GET request to `https://yourdomain.com/package/nami.json` https://yourdomain.com/package/nami.json`, `nami.json`
### Built-in supported domains
* `github.com`: Package name such as `github.com/txthinking/nami`, put binary files in the [github releases](https://github.com/txthinking/nami/releases https://github.com/txthinking/nami/releases)
## License
Licensed under The GPLv3 License