Environment Variables Defined by the Node Buildpack

Page last updated:

Warning: Pivotal Cloud Foundry (PCF) v2.5 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy. To stay up to date with the latest software and security updates, upgrade to a supported version.

Pivotal Application Service (PAS) provides configuration information to apps through environment variables. This topic describes the additional environment variables provided by the Node buildpack.

For more information about the standard environment variables provided by PAS, see PAS Environment Variables.

Node Buildpack Environment Variables

The following table describes the environment variables provided by the Node buildpack.

Environment Variable Description
BUILD_DIR The directory where Node.js is copied each time a Node.js app runs.
CACHE_DIR The directory Node.js uses for caching.
PATH The system path used by Node.js:PATH=/home/vcap/app/bin:/home/vcap/app/node_modules/.bin:/bin:/usr/bin