Node.js comes with a package manager called npm, which allows you to install and manage external packages for your project. To install a package, use the "npm install " command in your project directory. You can then import the package into your code using the "require" function.