> ## Documentation Index
> Fetch the complete documentation index at: https://docs.akua.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# akua pkg lock

> Regenerate akua.lock from akua.toml

```sh
akua pkg lock [flags]
```

| Flag | Type | Description |
| - | - | - |
| `--workspace` | string | Workspace root |
| `--check` | boolean | Exit 1 if akua.lock or .akua/crds/ would change; don't write |

Every command also accepts the [universal flags](https://docs.akua.dev/akua/cli#universal-flags).

## Related topics

> [card] [akua pkg commands](https://docs.akua.dev/akua/cli.md)
>
> Every command, the universal flags and the exit codes.

> [card] [Error codes](https://docs.akua.dev/akua/errors.md)
>
> What each structured error means and how to resolve it.
