Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr69420 authored Apr 16, 2024
1 parent 05f29cd commit 9864ed2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 9864ed2

Please sign in to comment.