Skip to content

Releases: txthinking/nami

v20240408

08 Apr 13:58
Compare
Choose a tag to compare
v20240408

v20231101

01 Nov 03:19
Compare
Choose a tag to compare

A clean and tidy decentralized package manager

  • Nami only downloads software from official channels provided by software authors.
  • Nami does not perform compilation, allowing users to focus on being users instead of dealing with compilation errors and dependency issues that only authors can understand.
  • Nami prefers independent, static executable files without dependencies. During installation, only the standalone binary files are kept, while other miscellaneous files are discarded, such as 7z.
  • Nami also supports software packaged in archives. For example, some software may require the retention of certain library files, such as go.
  • The package maintenance script only needs to be written once, and it does not need to be updated when the software author releases an upgrade.
  • Writing package maintenance scripts is simple and flexible. Knowledge of Linux commands is all you need to write scripts. tengo and jb make script writing more convenient.

v20231101: Support Archive Package

  • $HOME/.nami: All files of nami
  • $HOME/.nami/bin: When installing nami, this path is already added to your $PATH
  • $HOME/.nami/cache: This directory will be emptied before installing package
    • If the package can be standalone executable files:

      After the installation process is finished, nami will copy these files to the $HOME/.nami/bin directory

    • If the package is a directory:
      • The script should save the directory into here. Such as go.tengo or node.js
      • And write the relative paths of executable files to links file, one path per line. Such as go.tengo or node.js

      After the installation process is finished, nami will copy the directory to the $HOME/.nami/dir/ directory and will create symbolic links to the $HOME/.nami/bin based on links

    • Write version to version file
  • $HOME/.nami/copied: This is usually used if the command to be installed is running, such as brook.tengo, you may:
    1. get the processes
    2. stop the processes
    3. copy(not move) the commands from $HOME/.nami/cache to $HOME/.nami/bin
    4. copy the commands from $HOME/.nami/cache to $HOME/.nami/copied, this prompts nami not to perform duplicate operations
    5. run the previously stopped processes again

v20230606

05 Jun 10:02
Compare
Choose a tag to compare

Support write package with jb script

v20220606

07 Jun 10:00
Compare
Choose a tag to compare

v20220601 has a bug
If you can't upgrade nami by nami install nami
Please upgrade by bash <(curl https://bash.ooo/nami.sh)

v20220601 有个bug
如果你无法用 nami install nami 升级nami
请使用bash <(curl https://bash.ooo/nami.sh)来升级

v20220601

27 May 03:11
Compare
Choose a tag to compare

remove deno

v20220404

28 Feb 07:54
1357159
Compare
Choose a tag to compare
Create brook.dev.js

v20220401

21 Feb 13:09
bb5aec3
Compare
Choose a tag to compare
Update nami.js

v20220219

19 Feb 12:27
Compare
Choose a tag to compare
nami do not copy again if command in copied dir

v20220128

28 Jan 03:47
Compare
Choose a tag to compare
denodir

v20211227

23 Dec 11:04
Compare
Choose a tag to compare
20211227