https://github.com/brioche-dev/brioche
A delicious package manager
https://github.com/brioche-dev/brioche
package-manager
Last synced: 5 months ago
JSON representation
A delicious package manager
- Host: GitHub
- URL: https://github.com/brioche-dev/brioche
- Owner: brioche-dev
- License: mit
- Created: 2023-12-22T10:23:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-10T08:07:56.000Z (5 months ago)
- Last Synced: 2026-01-11T02:32:43.997Z (5 months ago)
- Topics: package-manager
- Language: Rust
- Homepage: https://brioche.dev
- Size: 8.99 MB
- Stars: 482
- Watchers: 7
- Forks: 8
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Brioche
Brioche is a package manager and build tool for building and running your most complex software projects.
```ts
import * as std from "std";
import { cargoBuild } from "rust";
export default () => {
// 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"],
});
}
```
## Features
- **Caching** - All build artifacts are saved and re-used between builds, saving you time when only a part of your project changes. You can even share the cache between machines using an S3-compatible storage provider
- **Lockfiles** - All of your dependencies are automatically saved in a lockfile, making your builds super reliable for everyone on your team
- **TypeScript** - Build scripts are written in TypeScript, giving you the flexibility of a familiar full programming language (with great type checking and editor completions!)
- **Cross-ecosystem** - Build your project regardless of language, and easily mix different languages and ecosystems in one project
- **Cross-compilation** (work in progress) - Easily build your project from any platform, to any platform
- **Dev environments** (work in progress) - Set up a suite of tools to help onboard new team members quickly
## Installation
Run this in your terminal for quick installation:
```sh
curl --proto '=https' --tlsv1.2 -sSfL 'https://brioche.dev/install.sh' | sh
```
...or check out the official docs on [Installation](https://brioche.dev/docs/installation) for more installation options.
To install from source, simply check out this repo and run `cargo install --locked --path crates/brioche`. This will install Brioche into `~/.cargo/bin`. You can also run it as a normal Rust project using `cargo run`.
## Packages
See the [brioche-packages](https://github.com/brioche-dev/brioche-packages) repo for Brioche packages