← 返回
开发者工具 中文

Mirror Source Manager

x-mirror is a comprehensive mirror source management tool for various package managers. Use this skill whenever users need to configure, switch, or query pac...
x-mirror 是一款全面的多包管理器镜像源管理工具。当用户需要配置、切换或查询镜像源时,请使用此技能。
lunrenyi
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 519
下载
💾 5
安装
1
版本
#latest

概述

x mirror - Mirror Source Manager

Prerequisites

  1. Load x-cmd before use:

```bash

. ~/.x-cmd.root/X

```

  1. x-cmd not installed? → data/install.md

Core Functions

  • List mirror sources: x mirror ls
  • Set mirror source: x mirror set
  • View current mirror: x mirror current
  • Restore default source: x mirror unset

Supported Package Managers

System Package Managers

CommandDescription
----------------------
aptDebian/Ubuntu
brewHomebrew
pacmanArch Linux
dnfFedora/RHEL
yumCentOS/RHEL
apkAlpine Linux

Language Package Managers

CommandDescription
----------------------
pipPython
npmNode.js
pnpmNode.js
yarnNode.js
goGo modules
cargoRust
gemRuby

Container

CommandDescription
----------------------
dockerDocker registry

Usage Examples

List available mirrors

x mirror npm ls
x mirror pip ls
x mirror brew ls

Set mirror source

x mirror npm set npmmirror    # Set npm to use Alibaba Cloud mirror
x mirror pip set tuna         # Set pip to use Tsinghua mirror
x mirror brew set tuna        # Set brew to use Tsinghua mirror

View current mirror

x mirror npm current
x mirror pip current

Restore default source

x mirror npm unset
x mirror pip unset

Common Scenarios

  • Check available npm mirrors: x mirror npm ls
  • Set pip to Tsinghua mirror: x mirror pip set tuna
  • Check current brew mirror: x mirror brew current
  • Restore npm to official: x mirror npm unset

Get Help

Run x mirror --help or x mirror --help for full documentation.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Value & Environment Validator

lunrenyi
用于Shell脚本的值校验与环境检测工具。可验证输入类型(整数、浮点数、IP),比较文件时间戳,检测运行时环境...
★ 0 📥 316
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,776
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,825