/ home / Documentation / v3 / mediasoup / Installation

mediasoup v3 Installation

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

$ npm install mediasoup@3 --save


In order to build the mediasoup C/C++ components 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".


Within your Node.js application:

const mediasoup = require("mediasoup");