Skip to content
Nacho Aldama edited this page Sep 10, 2022 · 1 revision

You can use custom configuration for SNPM.

Edit global config

To edit the global config you can do it with commands.

snpm set registry https://snpm-edge.snpm.workers.dev/package/
snpm set cache /home/user/.custom-cache

Custom workspace config

You can create a config file inside your project.

.snpmrc

{
  "registry": "https://registry.npmjs.org/",
  "cache": "/home/user/.snpm-cache"
}
Clone this wiki locally