shipnode env
npx shipnode envnpx shipnode env --file .env.productionThe file lands at <deployPath>/shared/.env and is symlinked into each release. PM2 picks up changes on the next shipnode restart or shipnode deploy (both use --update-env).
Options
Section titled “Options”| Flag | Purpose |
|---|---|
--file <path> | Local file to upload. Defaults to the .env referenced by shipnode.config.ts. |
--config <path> | Use a non-default config file. |