Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(docs): update PM2 integration example to use 'sm' command prefix

Victor Hugo dos Santosb9b7ad416bb3
diff --git a/docs/integrations/platforms/pm2.mdx b/docs/integrations/platforms/pm2.mdx
index 0fcbfd119c..99aa9d8a81 100644
--- a/docs/integrations/platforms/pm2.mdx
+++ b/docs/integrations/platforms/pm2.mdx
@@ -29,7 +29,7 @@ infisical sm run -- npm start
```js infisical-run.js
const spawn = require("child_process").spawn;
-const infisical = spawn("infisical", ["run", "--", "npm", "start"]);
+const infisical = spawn("infisical", ["sm", "run", "--", "npm", "start"]);
infisical.stdout.on("data", (data) => console.log(`${data}`));
infisical.stderr.on("data", (data) => console.error(`${data}`));