-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
186 additions
and
59 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# npm安装pnpm | ||
|
||
## 参考官网 | ||
|
||
https://pnpm.io/installation#using-npm | ||
|
||
版本兼容性 | ||
|
||
pnpm7 >= node14 | ||
|
||
pnpm8 >= node16 | ||
|
||
pnpm9 >= node18 | ||
|
||
## 安装pnpm | ||
|
||
```bash | ||
pnpm install -g pnpm@8 | ||
which pnpm | ||
``` | ||
|
||
## 查看和设置镜像 | ||
|
||
查询下载源 | ||
```bash | ||
pnpm get registry | ||
``` | ||
设置为国内镜像 | ||
```bash | ||
pnpm config set registry https://registry.npmmirror.com | ||
``` | ||
设置为官方镜像 | ||
```bash | ||
pnpm config set registry https://registry.npmjs.org/ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# npm安装yarn | ||
|
||
## 参考官网 | ||
|
||
https://classic.yarnpkg.com/en/docs/install#debian-stable | ||
|
||
|
||
## 安装pnpm | ||
|
||
```bash | ||
npm install -g yarn | ||
which yarn | ||
``` | ||
|
||
## 查看和设置镜像 | ||
|
||
查询下载源 | ||
```bash | ||
yarn config get registry | ||
``` | ||
设置为国内镜像 | ||
```bash | ||
yarn config set registry https://registry.npmmirror.com | ||
``` | ||
设置为官方镜像 | ||
```bash | ||
yarn config set registry https://registry.yarnpkg.com | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# npm设置查看镜像 | ||
|
||
## 查询下载源 | ||
```shell | ||
npm get registry | ||
``` | ||
## 设置为国内镜像 | ||
```shell | ||
npm config set registry https://registry.npmmirror.com | ||
``` | ||
## 设置为官方镜像 | ||
```shell | ||
npm config set registry https://registry.npmjs.org/ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# nrm前端镜像管理 | ||
|
||
使用nrm自由切换镜像 | ||
```shell | ||
npm install -g nrm | ||
``` | ||
## 镜像列表 | ||
|
||
```shell | ||
nrm ls | ||
``` | ||
|
||
## 切换镜像 | ||
|
||
```shell | ||
nrm use taobao | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# yrm前端镜像管理 | ||
|
||
使用yrm自由切换镜像 | ||
```shell | ||
npm install -g yrm | ||
``` | ||
## 镜像列表 | ||
|
||
```shell | ||
yrm ls | ||
``` | ||
|
||
## 切换镜像 | ||
|
||
```shell | ||
yrm use taobao | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# 开发工具技巧 | ||
- [常用中国镜像站点](./常用中国镜像站点.md) | ||
- [IDEA关闭jdk下载和jdk更新检查](./IDEA关闭jdk下载和jdk更新检查.md) | ||
- [IDEA如何管理前后端并注册为方便启停服务](./IDEA如何管理前后端并注册为方便启停服务.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
# China-mirror 中国镜像 | ||
|
||
## AliYun mirror | ||
|
||
https://developer.aliyun.com/mirror/ | ||
|
||
## NetEase | ||
|
||
https://mirrors.163.com/ | ||
|
||
## tencent | ||
|
||
https://mirrors.tencent.com/ | ||
|
||
## bytedance | ||
|
||
https://mirrorvolc.volces.com/ | ||
|
||
|
||
## huawei cloud | ||
|
||
https://mirrors.huaweicloud.com/home | ||
|
||
|
||
## tsinghua | ||
https://mirrors.tuna.tsinghua.edu.cn/ | ||
|
||
## ustc | ||
http://mirrors.ustc.edu.cn/ | ||
|
||
## bjtu | ||
https://mirror.bjtu.edu.cn/ | ||
|
||
## zju | ||
http://mirrors.zju.edu.cn/ | ||
|
||
## neusoft | ||
http://mirrors.neusoft.edu.cn/ | ||
# 常用中国镜像站点 | ||
|
||
## AliYun mirror | ||
|
||
https://developer.aliyun.com/mirror/ | ||
|
||
## NetEase | ||
|
||
https://mirrors.163.com/ | ||
|
||
## tencent | ||
|
||
https://mirrors.tencent.com/ | ||
|
||
## bytedance | ||
|
||
https://mirrorvolc.volces.com/ | ||
|
||
|
||
## huawei cloud | ||
|
||
https://mirrors.huaweicloud.com/home | ||
|
||
|
||
## tsinghua | ||
https://mirrors.tuna.tsinghua.edu.cn/ | ||
|
||
## ustc | ||
http://mirrors.ustc.edu.cn/ | ||
|
||
## bjtu | ||
https://mirror.bjtu.edu.cn/ | ||
|
||
## zju | ||
http://mirrors.zju.edu.cn/ | ||
|
||
## neusoft | ||
http://mirrors.neusoft.edu.cn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.