Install Node.js applications

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

NOTE: To avoid a conflict between two or more Node.js applications attempting to use the same port, modify the application settings as needed to use a different port for each application.

To install a Node.js application, first ensure that all dependences are satisfied. Many applications will require Node.js and MongoDB, but others may require Redis or MySQL.

To check available services, run this command:

$ sudo installdir/ status

To install missing services, use your system’s package manager, or download and install required applications manually.

To install an application in the example/ directory, follow these steps:

  • Create the directory:

    $ sudo mkdir installdir/apps/example
  • Move the application files to that directory and follow the official installation steps for the application.

Last modification April 8, 2020