npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Have `npm install -g filesystem/path` run the same prepare / etc. pathway that `npm install -g git+...` does

For full context, see npm install -g git+... vs `git clone ... && cd ... && npm install -g .`

The tl;dr acceptance criteria would be to make this:

git clone
cd cspell
npm install -g .
cspell /dev/null

produce identical results as

npm install -g git+
cspell /dev/null