Nami
A decentralized binary package manager. Nami only uses deno scripts to download commands, neither compiling nor downloading additional build chain tools, and you can specify the place of the script through nami config. All files are stored in $HOME/.nami.
Install
mkdir -p $HOME/.nami/bin && curl -L https://github.com/txthinking/nami/releases/latest/download/nami_$(uname -s | cut -d_ -f1)$(uname -m) -o $HOME/.nami/bin/nami && chmod +x $HOME/.nami/bin/nami && echo 'export PATH=$HOME/.nami/bin:$PATH' >> $HOME/.bashrc && echo 'export PATH=$HOME/.nami/bin:$PATH' >> $HOME/.bash_profile && echo 'export PATH=$HOME/.nami/bin:$PATH' >> $HOME/.zshenv && exec -l $SHELL
Windows user should run in Git Bash
Example
nami install nami
nami install joker brook ipio nico jinbe testsocks5
Usage
NAME:
nami - A decentralized binary package manager
USAGE:
nami [global options] command [command options] [arguments...]
COMMANDS:
install Install package. $ nami install nami
upgrade Upgrade package. $ nami upgrade nami. Or upgrade all installed packages $ nami upgrade
remove Remove package. $ nami remove brook
list Print installed packages. $ nami list
config Configure key and value. $ nami config <key> <value>. See all keys, $ nami config
release Create or update a version with binaries directory on your github project, such as $ nami release github.com/txthinking/nami v1.1.1 ./binaries/
help, h Shows a list of commands or help for one command
With HTTPS_PROXY environment
$ export HTTPS_PROXY=http://127.0.0.1:8888
$ nami install nami
Keep PATH with sudo
$ sudo visudo
Defaults !env_reset
# Defaults secure_path=...
How to add package
Why
There are already many package managers, more are centralized and often provide outdated softwares. Nami is a decentralized binary package manager, she allows software authors to publish their software anywhere. No longer have to worry about users downloading outdated software. Only install packages you trust.
License
Licensed under The GPLv3 License
