> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List commands

> Commands for storing and manipulating ordered collections.

> [card] [BLMOVE](https://upstash.com/docs/redis/commands/list/blmove)
>
> Blocking list move

> [card] [BLMPOP](https://upstash.com/docs/redis/commands/list/blmpop)
>
> Blocking pop from multiple lists

> [card] [BLPOP](https://upstash.com/docs/redis/commands/list/blpop)
>
> Blocking left pop

> [card] [BRPOP](https://upstash.com/docs/redis/commands/list/brpop)
>
> Blocking right pop

> [card] [BRPOPLPUSH](https://upstash.com/docs/redis/commands/list/brpoplpush)
>
> Blocking pop and push

> [card] [LINDEX](https://upstash.com/docs/redis/commands/list/lindex)
>
> Get element by index

> [card] [LINSERT](https://upstash.com/docs/redis/commands/list/linsert)
>
> Insert before or after pivot

> [card] [LLEN](https://upstash.com/docs/redis/commands/list/llen)
>
> Get list length

> [card] [LMOVE](https://upstash.com/docs/redis/commands/list/lmove)
>
> Move element between lists

> [card] [LMPOP](https://upstash.com/docs/redis/commands/list/lmpop)
>
> Pop from the first non-empty list

> [card] [LPOP](https://upstash.com/docs/redis/commands/list/lpop)
>
> Pop from list head

> [card] [LPOS](https://upstash.com/docs/redis/commands/list/lpos)
>
> Find the position of an element

> [card] [LPUSH](https://upstash.com/docs/redis/commands/list/lpush)
>
> Push to list head

> [card] [LPUSHX](https://upstash.com/docs/redis/commands/list/lpushx)
>
> Push to head if list exists

> [card] [LRANGE](https://upstash.com/docs/redis/commands/list/lrange)
>
> Get range of elements

> [card] [LREM](https://upstash.com/docs/redis/commands/list/lrem)
>
> Remove elements by value

> [card] [LSET](https://upstash.com/docs/redis/commands/list/lset)
>
> Set element at index

> [card] [LTRIM](https://upstash.com/docs/redis/commands/list/ltrim)
>
> Trim list to range

> [card] [RPOP](https://upstash.com/docs/redis/commands/list/rpop)
>
> Pop from list tail

> [card] [RPOPLPUSH](https://upstash.com/docs/redis/commands/list/rpoplpush)
>
> Pop from tail and push to head

> [card] [RPUSH](https://upstash.com/docs/redis/commands/list/rpush)
>
> Push to list tail

> [card] [RPUSHX](https://upstash.com/docs/redis/commands/list/rpushx)
>
> Push to tail if list exists


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.