每天 Shaarli

一天内的所有链接,汇聚在一个页面上。

April 7, 2026

Note: Volta更改NodeJS镜像源为为科大源

https://unicom.mirrors.ustc.edu.cn/help/node.html

创建或编辑 ~/.volta/hooks.json(Linux/macOS),或 %LOCALAPPDATA%\Volta\hooks.json(Windows),将内容替换如下即可。

{
    "node": {
        "index": {
            "template": "https://mirrors.ustc.edu.cn/node/index.json"
        },
        "distro": {
            "template": "https://mirrors.ustc.edu.cn/node/v{{version}}/{{filename}}"
        }
    }
}

配置npm镜像源为淘宝源:
npm config set registry https://registry.npmmirror.com/
npm config list