Skip to content
NPM submodules installer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

submodules-install - NPM Submodules Installer

This module provides a system for calling npm i on a list of locations, ultimately providing automatic submodule installation.

From the provided submodule globs, it will only match directories that contain "package.json".


Install via npm:

npm i submodules-install --save

Add an array of strings using glob syntax to your package.json:

"submodules": [

Then run:

npx submodules-install

Alternatively, you may also use preinstall, postinstall, or otherwise:

"scripts": {
  "preinstall": "submodules-install"
You can’t perform that action at this time.