<div align="center"> <h1 align="center">@upstash/react-cli</h1> <h5>CLI for Upstash Redis</h5> </div>
``sh-session`
$ npm install @upstash/react-cli
`tsx
// /app/components/cli.tsx
"use client"
import { RedisCli } from "@upstash/react-cli";
import "@upstash/react-cli/dist/index.css";
`
If you already have a tailwindcss toolchain, you can omit the css import and add the library to your tailwind config file:
`js
// tailwind.config.js
module.exports = {
content: [
// ...
"./node_modules/@upstash/react-cli/*/.js", // <-- add this line
],
//...
}
``