Run Shelly CLI in a container without local installation:
1
2
3
4
5
6
7
8
9
10
# Pull the imagedocker pull ghcr.io/tj-smith47/shelly-cli:latest
# Run a commanddocker run --rm --network host ghcr.io/tj-smith47/shelly-cli:latest device list
# With config mount (persistent configuration)docker run --rm --network host \
-v ~/.config/shelly:/home/shelly/.config/shelly \
ghcr.io/tj-smith47/shelly-cli:latest status kitchen
Important: Use --network host to allow device discovery and communication on your local network.
# Download (replace VERSION with actual version, e.g., 1.0.0)curl -LO https://github.com/tj-smith47/shelly-cli/releases/download/v${VERSION}/shelly_${VERSION}_linux_amd64.tar.gz
# Extracttar -xzf shelly_${VERSION}_linux_amd64.tar.gz
# Move to PATHsudo mv shelly /usr/local/bin/
# Verifyshelly version