diff --git a/libs/langchain-scripts/src/cli/docs/templates/chat.ipynb b/libs/langchain-scripts/src/cli/docs/templates/chat.ipynb
index d3ac93a309fb..57019e3eb0d6 100644
--- a/libs/langchain-scripts/src/cli/docs/templates/chat.ipynb
+++ b/libs/langchain-scripts/src/cli/docs/templates/chat.ipynb
@@ -61,10 +61,14 @@
"The LangChain __ModuleName__ integration lives in the `__package_name_pretty__` package:\n",
"\n",
"```{=mdx}\n",
+ "import IntegrationInstallTooltip from \"@mdx_components/integration_install_tooltip.mdx\";\n",
+ "import Npm2Yarn from \"@theme/Npm2Yarn\";\n",
"\n",
- "```bash npm2yarn\n",
- "npm i __package_name_pretty__\n",
- "```\n",
+ "\n",
+ "\n",
+ "\n",
+ " __package_name_pretty__\n",
+ "\n",
"\n",
"```"
]