This is the official Homebrew tap for KECS (Kubernetes-based ECS Compatible Service).
# Add the tap
brew tap nandemo-ya/kecs
# Install stable KECS
brew install kecs# Install development version (when available)
brew install kecs-dev# Install latest development build from main branch
brew install kecs --HEAD# Install without adding the tap
brew install nandemo-ya/kecs/kecs
# Install dev version without adding the tap
brew install nandemo-ya/kecs/kecs-devAfter installation, you can start using KECS:
# Start KECS with a new k3d cluster
kecs start
# Check status
kecs status
# Open interactive TUI
kecs tui
# Configure AWS CLI to use KECS
export AWS_ENDPOINT_URL=http://localhost:5373
export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test
export AWS_REGION=us-east-1
# Use AWS CLI with KECS
aws ecs list-clusters
aws ecs create-cluster --cluster-name my-clusterKECS requires the following to be installed:
- Docker
- k3d (installed automatically as a dependency)
To update KECS to the latest version:
brew update
brew upgrade kecsTo uninstall KECS:
brew uninstall kecsTo remove the tap:
brew untap nandemo-ya/kecsThe Homebrew formula:
- Installs the KECS binary to
/usr/local/bin/kecs(Intel Mac) or/opt/homebrew/bin/kecs(Apple Silicon) - Creates a data directory at
/usr/local/var/kecsor/opt/homebrew/var/kecs - Optionally installs shell completions for bash, zsh, and fish
- Provides a service that can be managed with
brew services
You can run KECS as a background service:
# Start KECS service
brew services start kecs
# Stop KECS service
brew services stop kecs
# Restart KECS service
brew services restart kecs
# Check service status
brew services list- macOS (Intel and Apple Silicon)
- Linux (x86_64 and ARM64)
If you encounter issues:
-
Check Docker is running:
docker ps
-
Check k3d is installed:
k3d version
-
View KECS logs:
kecs logs -f
-
Check service logs (if using brew services):
tail -f /usr/local/var/log/kecs.log # Intel Mac tail -f /opt/homebrew/var/log/kecs.log # Apple Silicon
This tap is automatically updated when new KECS releases are published. The formula is maintained at: https://github.com/nandemo-ya/homebrew-kecs
KECS is licensed under the Apache License 2.0. See the LICENSE file for details.
- Stable releases:
v0.1.0,v1.0.0, etc. - Pre-releases:
v0.0.1-alpha,v0.1.0-beta.1,v1.0.0-rc.1 - Development builds: Use
--HEADoption for latest main branch
# Install specific version
brew install kecs # Latest stable
brew install kecs-dev # Latest development/alpha
brew install kecs --HEAD # Build from main branch
# Switch between installed versions
brew unlink kecs && brew link kecs-dev # Switch to dev version
brew unlink kecs-dev && brew link kecs # Switch back to stableFor issues with KECS itself:
For issues with the Homebrew formula: