Announcing Brioche!Read More →

Brioche

A delicious package manager for building and running your most complex software projects

import * as std from "std";
import { cargoBuild } from "rust";

export default function () {
  // Build a Rust project
  const server = cargoBuild({
    crate: Brioche.glob("src", "Cargo.*"),
  });

  // Put it in a container image
  return std.ociContainerImage({
    recipe: server,
    entrypoint: ["/bin/server"],
  });
}

Get Started

Install in seconds, no root permissions required:

curl --proto '=https' --tlsv1.2 -sSfL 'https://brioche.dev/install.sh' | bash

...or view the docs for more installation options

(Currently x86-64 Linux only, more platforms coming soon)

Try it out by running Hello World:

brioche run -r hello_world

(Will take several minutes on first run to download common files and libraries)

Features