# CyberM.runtime — client runtime

Runs inside the game process. Reads and presentation are local; anything that changes shared state has to go through the server.

2 functions.

## luaVersion

```lua
CyberM.runtime.luaVersion()
```

`SHARED` — Available without a live game instance.

Embedded Lua version.

Returns the embedded Lua interpreter version used by this resource VM. Use it for diagnostics or compatibility checks, not to infer the CyberM build version.

Returns: `string`

Registered in `ResourceHost.cpp` (line 6546) as `LuaLanguageVersion`.

## version

```lua
CyberM.runtime.version()
```

`SHARED` — Available without a live game instance.

CyberM version.

Returns the CyberM scripting runtime version exposed to resources. This describes the host API and is distinct from both the resource manifest version and game build.

Returns: `string`

Registered in `ResourceHost.cpp` (line 6545) as `LuaRuntimeVersion`.

