Skip to content

Getting Started

BitForge is a single, self-contained binary. You install it by downloading a prebuilt release asset with the install script — there is no Python virtualenv, package manager or global toolchain to set up first.

ResourceLink
Releasesgithub.com/DraviaVemal/BitForge/releases
Source & issuesgithub.com/DraviaVemal/BitForge
  • Linux x86_64 (the supported release target)
  • curl and git on your PATH
  • A working Yocto host environment (build-essential, gawk, diffstat, chrpath, etc. — see the Yocto quick start)
  1. Download and install the latest stable binary:

    Terminal window
    curl -fsSL https://raw.githubusercontent.com/DraviaVemal/BitForge/release/install.sh | sh

    The script detects your OS/arch, downloads the matching bitforge-linux-x86_64 asset and installs it to ~/.local/bin/bitforge.

  2. Make sure the install directory is on your PATH:

    Terminal window
    export PATH="$HOME/.local/bin:$PATH"
    bitforge --version
  1. Create a new project. BitForge initializes a git repository, clones OpenEmbedded-core + BitBake, scaffolds a starter layer and writes a BitForge.toml:

    Terminal window
    bitforge --init my-distro
    cd my-distro

    To base the workspace on poky instead of OpenEmbedded-core, pass a poky release:

    Terminal window
    bitforge --init my-distro --poky scarthgap
  2. Start BitForge. It generates the BitBake config, verifies the sources and launches the web UI:

    Terminal window
    bitforge

    The console prints the local URL (for example http://0.0.0.0:PORT). Open it to watch and control builds.

  3. Kick off a build — either from the web UI, or directly from the CLI:

    Terminal window
    bitforge --build core-image-minimal

After --init, your project looks like this:

PathPurpose
BitForge.tomlProject manifest — workspace, layers and dependencies. You edit this (directly or via commands).
BitForge.lockLockfile pinning every dependency layer to an exact commit.
layers/Your own layers. The starter layer is scaffolded here.
conf/Generated local.conf and bblayers.conf.
ForgeSource/Cloned poky/OE-core, BitBake and upstream layers (git-ignored).
build/BitBake build output (git-ignored).