Setup command
sudo containerws setup
# or
containerws setup # re-execs with sudo when needed
containerws setup --no-start
sudo containerws setup --uninstall
What it does
Mirrors the post-binary steps of install/install.sh:
- Create
/config/containerws,/etc/containerws, log dirs - Write
/etc/containerws/environmentif missing - Symlink
cws(andcontainerws) under/usr/local/binand Homebrew prefix when present - Install systemd / launchd / OpenRC / FreeBSD / direct daemon for
cws --start - Start the daemon (unless
--no-start)
Implementation: cmd/setup.go + packages/hostsetup.
When to run
- After Homebrew install/upgrade of the cask
- When you have a binary on PATH but no
cwslink or daemon --uninstallremoves links and service units; keeps/configdata
Local releases
./scripts/release-local.sh publishes GitHub Release binaries and updates the Homebrew tap over SSH. End users still run sudo containerws setup once on the machine.