Skip to content
masterclass Buddy

Redis · Command

EVAL

EVAL executes a server-side Lua 5.1 script. It separates explicit key names from regular arguments and makes them available through KEYS and ARGV.

Last updated

Since
2.6.0

Syntax

EVAL script numkeys [key [key ...]] [arg [arg ...]]

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

Subscribe
  • EVAL_RO
  • EVALSHA
  • EVALSHA_RO
  • SCRIPT LOAD
  • SCRIPT EXISTS
  • FCALL
  • FCALL_RO

Source: EVAL | Docs. Checked 2026-11-03.