How to use Infisical to inject environment variables and secrets with PM2 into a Node.js app
Prerequisites:
# navigate to the root of your of your project cd /path/to/project # then initialize infisical infisical init
infisical run -- npm start
pm2 start infisical-run.sh
Was this page helpful?