Getting Started with b
Get up and running with b in just a few minutes. b helps you manage command-line tools and binaries for your development projects with automatic PATH management and version control.
Installation
Quick Install (Recommended)
Manual Installation
- Download the latest release for your platform from GitHub Releases
- Extract the binary to a directory in your PATH
- Make it executable:
chmod +x b
Verify Installation
Quick Start
1. Initialize a Project
This creates a b.yaml
file in your project root.
2. Install Tools
3. Use Your Tools
Tools are automatically available in your PATH:
Common Workflows
Team Collaboration
Share tool requirements with your team:
CI/CD Integration
Use b in your CI/CD pipelines:
# .github/workflows/ci.yml
steps:
- uses: actions/checkout@v4
- name: Install b
# todo: wrong url; create install script
run: curl -sSL https://github.com/fentas/b/releases/latest/download/install.sh | bash
- name: Install project tools
run: b install
- name: Run tests
run: |
kubectl version --client
jq --version
Version Management
Configuration
The .bin/b.yaml
file defines your project's tool requirements:
Next Steps
- CLI Reference - Complete command reference
Was this section helpful?