From 9864ed20b80af5bd3d6e942e0aa2be35c21d17d0 Mon Sep 17 00:00:00 2001 From: dnkmmr <104856296+dnkmmr69420@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:17:32 -0500 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 77bdd95..ddd99b1 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,26 @@ Simply put this in your .bashrc file ```bash export PATH="$HOME/.local/share/clinuxbrew/exports/bin:$PATH" ``` + +# Commands + +## In Container + +- init-brew: runs bind mounts and runs 'reload-init' if it hasn't been ran. +- reload-init Installs homebrew if not installed and does some other things as well. +- brew-export: Like `distrobox-export` but makes it easy to export brew bins on the host. -s flag uses brews sbin instead of bin and -r flag makes the exported bin ran as root in the container. +- brew-link: symlinks something in the bin dir to exports/bin. Only works good with certain programs + +## On host + +- cbrew: runs brew in container +- cbrewsh: shorter version of `distrobox enter brew-container` +- regen-cbres: Deletes and recreats the container. Note: Brew and its installed programs will be safe since it is stored at `~/.local/share/clinuxbrew` + +# Dependencies + +These need be be on the host in order for this program to work + +- Bash (should be preinstalled on nearly every single linux distro) +- [Distrobox](https://github.com/89luca89/distrobox) +- A container mamagement tool either [Docker](https://www.docker.com), [Podman](https://podman.io/), or [lilipod](https://github.com/89luca89/lilipod).