Skip to content
masterclass Buddy

Redis · Command

LREM

Removes matching elements from a Redis list. The count value controls how many matches to remove and which end to scan from.

Last updated

Since
1.0.0

Syntax

LREM key count element

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • LRANGE
  • LPUSH
  • RPUSH
  • LSET
  • LTRIM
  • RPOP

Source: LREM. Checked 2026-11-03.