Install Momento cache
loujaybee opened this issue · 2 comments
loujaybee commented
Install Momento cache
loujaybee commented
yaya2devops commented
#!/bin/bash
wget https://github.com/momentohq/momento-cli/releases/download/v0.22.8/momento-cli-0.22.8.linux_x86_64.tar.gz
tar -xvf momento-cli-0.22.8.linux_x86_64.tar.gz --strip-components 3
sudo mv momento /usr/local/bin
rm momento-cli-0.22.8.linux_x86_64.tar.gz
# Test if momento is installed
if command -v momento > /dev/null; then
echo "momento is installed and working!"
else
echo "momento is not installed or not working."
fi
tasks:
- name: Install momento CLI
source: install_momento.sh