What happen
Ran the shell install command and it failed:
npm error code EALLOWGIT
npm error Fetching packages of type "git" have been disabled
npm error Refusing to fetch "github:JuliusBrussee/caveman"
npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-07-11T14_01_09_335Z-debug-0.log
Reason
- allow-git and allow-remote now default to "none"; set them to "all" (or "root") to install git or user-supplied tarball-URL dependencies.
Source
Fix
macOS · Linux · WSL · Git Bash
export NPM_CONFIG_ALLOW_GIT=all
curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bash
unset NPM_CONFIG_ALLOW_GIT
Windows · PowerShell 5.1+
$env:NPM_CONFIG_ALLOW_GIT = "all"
irm https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.ps1 | iex
Remove-Item Env:NPM_CONFIG_ALLOW_GIT
Platform
Version / install method
Latest / shell install command
What happen
Ran the shell install command and it failed:
Reason
> npm -v 12.0.0Source
Fix
macOS · Linux · WSL · Git Bash
Windows · PowerShell 5.1+
Platform
~/.agents)Version / install method
Latest / shell install command