4 ms·
You can use a custom npm prefix to avoid the mess you're describing. So basically: See current prefix: > npm config get prefix Set prefix to something you c
by victor9000 5y ago
You can use a custom npm prefix to avoid the mess you're describing. So basically:
See current prefix:
> npm config get prefix
Set prefix to something you can write to without sudo:
> npm config set prefix /some/custom/path