MODULE LOAD
Syntax
MODULE LOAD path [arg [arg ...]]
- Available since:
- Redis Open Source 4.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@admin,@slow,@dangerous, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
Loads a module from a dynamic library at runtime.
This command loads and initializes the Redis module from the dynamic library
specified by the path argument. The path should be the absolute path of the
library, including the full filename. Any additional arguments are passed
unmodified to the module.
Note: modules can also be loaded at server startup with loadmodule
configuration directive in redis.conf.
Note:
As of Redis 8 in Redis Open Source, loading a module using the Redis CLI with configuration parameters is deprecated.Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ❌ Standard |
❌ Standard |
Return information
Simple string reply:
OK if the module was loaded.