```bash
. ~/.x-cmd.root/X
```
x mirror ls x mirror set x mirror current x mirror unset | Command | Description |
|---|---|
| --------- | ------------- |
| apt | Debian/Ubuntu |
| brew | Homebrew |
| pacman | Arch Linux |
| dnf | Fedora/RHEL |
| yum | CentOS/RHEL |
| apk | Alpine Linux |
| Command | Description |
|---|---|
| --------- | ------------- |
| pip | Python |
| npm | Node.js |
| pnpm | Node.js |
| yarn | Node.js |
| go | Go modules |
| cargo | Rust |
| gem | Ruby |
| Command | Description |
|---|---|
| --------- | ------------- |
| docker | Docker registry |
x mirror npm ls
x mirror pip ls
x mirror brew ls
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
x mirror npm current
x mirror pip current
x mirror npm unset
x mirror pip unset
x mirror npm lsx mirror pip set tunax mirror brew currentx mirror npm unsetRun x mirror --help or x mirror for full documentation.
共 1 个版本