LATEST VERSION: 1.9 - CHANGELOG
Pivotal Cloud Foundry v1.9

Environment Variables Defined by the Node Buildpack

Page last updated:

When you use the Node buildpack, you get three Node-specific environment variables in addition to the regular Cloud Foundry environment variables.

  • BUILD_DIR — The directory into which Node.js is copied each time a Node.js application is run.

  • CACHE_DIR — The directory that 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

Was this helpful?
What can we do to improve?
View the source for this page in GitHub