/ home / Documentation / v2 / mediasoup / Installation


Install the mediasoup Node.js module via NPM within your Node.js application:

$ npm install mediasoup@2


In order to build the C/C++ component the following packages and libraries must be available in the target host:

  • In Debian and Ubuntu install the build-essential DEB package. It includes both make and gcc/g++.
  • In YUM based Linux (Red Hat, CentOS) use yum groupinstall "Development Tools".
  • The installation path MUST NOT contain whitespaces.