Skip to main content

Install the CLI

Install using npm

npm install -g statemeshcli

Ubuntu/Debian package

Use the one-line install command:

curl http://smcli.s3-website.eu-central-1.amazonaws.com/install.sh | sh

or manually configure StateMesh apt repository and GPG key and install:

# add StateMesh CLI repository to apt
echo "deb [signed-by=/usr/share/keyrings/smcli.gpg] http://smcli.s3-website.eu-central-1.amazonaws.com/release-1/ squeeze main" > /etc/apt/sources.list.d/smcli.list

# install StateMesh CLI's release key for package verification
curl http://smcli.s3-website.eu-central-1.amazonaws.com/release.key | gpg --dearmor -o /usr/share/keyrings/smcli.gpg

sudo apt update
sudo apt install -y smcli

Windows installer

Standalone tarballs