- MacOS or Linux
- Homebrew
brew tap momentohq/tap
brew install momento-cli
momento account signup --region <TYPE_DESIRED_REGION> --email <TYPE_YOUR_EMAIL_HERE>
This generates an access token and sends it to the email provided. This token uniquely identifies cache interactions. The token should be treated like a sensitive password and all essential care must be taken to ensure its secrecy. We recommend that you store this token in a secret vault like AWS Secrets Manager.
momento configure
This will prompt you for your Momento Auth Token, and save it to be reused.
momento cache create --name example-cache
momento cache set --key key --value value --ttl 100 --name example-cache
momento cache get --key key --name example-cache
Check out our SDKs to integrate Momento into your project!
If you would like to contribute to the Momento Cli, please read out Contributing Guide