wsl 中安装
C:\Windows\System32\wsl.exe -d Ubuntu -- "/mnt/c/program files/microsoft visual studio/2022/enterprise/common7/ide/extensions/0c4twv0k.1d3/Scripts/InstallDotNet.sh" aspnetcore 6.0
1,touch ~/.proxy
2,
#!/bin/bash
hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*')
export https_proxy="http://${hostip}:7890"
export http_proxy="http://${hostip}:7890"
export all_proxy="socks5://${hostip}:7890"
3,
source ~/.proxy