Nimby is an unofficial package manager and installer for the Nim programming language.
HEALTH ? 90 / Healthy
Nimby is an unofficial package manager and installer for the Nim programming language.
// readme
nimble install nimby
Nimby is the fastest and simplest way to install Nim packages. It keeps things honest, transparent, and lightning fast.
curl -L -o nimby https://github.com/treeform/nimby/releases/download/0.2.4/nimby-Linux-X64
chmod +x nimby
./nimby use 2.4.0
./nimby create
./nimby install libraryA libraryB libraryC
./nimby lock library > library/nimby.lock
./nimby sync library/nimby.lock
When I added Nim to our company CI, our builds suddenly became very slow. Nimble installs took almost two minutes for Fidget2. That felt wrong, so I started digging.
I tried replacing Nimble with a few simple shell scripts that just cloned the repos with git. It built fine, and was way, way faster! So then I wrote Nimby as a tool to clone everything in parallel:
At its core, Nimby runs git clone and updates nim.cfg in the workspace folder.
After that, Nimby grew from a few basic ideas:
#HEAD.