# validate_deploy_commands

> **Function** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/deploy/validate_deploy_commands)

Validate optional deploy commands for disallowed content.

## Signature

```python
validate_deploy_commands(
    install_command: str | None,
    build_command: str | None,
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/eae916719fe78de2900bb7cd45c212fffd64f88b/libs/cli/langgraph_cli/deploy.py#L131)