Show HN: LNB – Cross-platform command manager for binaries and aliases

2 muthuishere 0 8/30/2025, 12:30:36 PM
You build tools. Shell scripts. Docker commands. Things you want to run from anywhere.

But every OS has different rules:

Mac/Linux: edit .bashrc, .zshrc, mess with PATH, source it Windows: create .bat, set up %PATH%, hope PowerShell respects it

You waste time managing commands instead of building things.

LNB solves that in one line:

npm install -g lnb

Then:

lnb alias build "docker run -v $(pwd):/workspace node:18 npm run build" build

Or:

lnb ./my-tool my-tool --help

Use cases:

Make any binary globally accessible

Wrap long dev commands into short aliases

Share consistent workflows across your team

Example:

lnb alias deploy "docker-compose -f prod.yml up -d" lnb alias logs "kubectl logs -f deployment/app" lnb alias test "npm test -- --coverage"

Cross-platform:

On macOS/Linux → symlinks or shell scripts in /usr/local/bin

On Windows → .cmd wrappers in %USERPROFILE%\bin

Works in Bash, Zsh, CMD, PowerShell, Windows Start menu search

Built for:

Developers who build CLIs or run local scripts

Teams who want consistent dev commands across machines

Anyone tired of tweaking PATH manually

Links: GitHub: https://github.com/muthuishere/lnb

NPM: https://www.npmjs.com/package/lnb

Comments (0)

No comments yet