Show HN: LNB – Cross-platform command manager for binaries and aliases
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
No comments yet