Commands.app

LPUSH

Lists

Prepend values to list

Examples
Common usage examples

Add to beginning of list

LPUSH mylist "world"

Add multiple values

LPUSH mylist "a" "b" "c"
Notes
  • Creates list if doesn't exist
  • RPUSH adds to end instead
Related Commands
You might also find these useful