Skip to content
masterclass Buddy

Redis · Command

EVALSHA

EVALSHA runs a cached Lua script by its SHA1 digest. Load the script with SCRIPT LOAD first, then pass the key count, keys, and other arguments.

Last updated

Since
2.6.0

Syntax

EVALSHA sha1 numkeys [key [key ...]] [arg [arg ...]]

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

Subscribe
  • EVAL
  • EVAL_RO
  • EVALSHA_RO
  • SCRIPT LOAD
  • SCRIPT EXISTS
  • SCRIPT FLUSH

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