winget
安装,国内的软件安装速度都不错,如果是托管在Github上的就速度感人,其他的就看情况了。
激活 winget
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
winget uninstall Gaoding.Gaoding
winget uninstall Huawei.appgallery
winget uninstall Huawei.HuaweiBrowser
winget uninstall Microsoft.BingWeather_8wekyb3d8bbwe
winget uninstall Microsoft.BingNews_8wekyb3d8bbwe
winget uninstall Microsoft.People_8wekyb3d8bbwe
winget uninstall Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
winget uninstall Microsoft.MinecraftEducationEdition_8wekyb3d8bbwe
winget uninstall KuGou.KGMusic
winget uninstall "{CB19F542-B0A3-11EC-8462-000C2942EC39}"
winget uninstall "{037BAB81-3DF7-4381-A72C-A26B57C03548}_is1"
winget uninstall "{B90063D2-500B-4097-96ED-74E349F8A6E5}_is1"
winget uninstall MobileAppEngine
winget install Google.Chrome
# Docker Desktop
winget install Docker.DockerDesktop
# PowerShell 7
winget install Microsoft.PowerShell # GITHUB
winget install Git.Git # GITHUB
# NVM Nodejs管理
winget install CoreyButler.NVMforWindows # GITHUB
# Redis管理
winget install "Another Redis Desktop Manager" # GITHUB
# Code
winget install Microsoft.VisualStudioCode
# 数据库管理UI 试用版
winget install PremiumSoft.NavicatPremium
# 代码版本管理器(UI)
winget install sourcetree
# API调试
winget install apifox
# 微信开发(可选)
winget install Tencent.WeixinDevTools
# 微信
winget install Tencent.WeChat
# 迅雷下载
winget install Thunder.Thunder
# 百度网盘
winget install Baidu.BaiduNetdisk
# Microsoft PowerToys:用于自定义 Windows 的实用工具
# https://learn.microsoft.com/zh-cn/windows/powertoys
winget install Microsoft.PowerToys # GITHUB
# 动态桌面
winget install rocksdanister.LivelyWallpaper # GITHUB
# 看图
winget install xnviewmp
# 视频播放器
winget install Daum.PotPlayer
# 网易云音乐
winget install NetEase.CloudMusic
# Visual Studio
# 参数“-i”表示人工安装,否则会自动安装到C盘
winget install Microsoft.VisualStudio.2022.Community -i
管理员模式下
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install sudo
# 配置代理(大概能快点,注意端口号)
git config --global http.https://github.com.proxy http://127.0.0.1:53996
# 移除
git config --global --unset http.proxy && git config --global --unset https.proxy
winget install JanDeDobbeleer.OhMyPosh -s winget
# 安装字体(可选)可以使用本地备份的
oh-my-posh font install
# 还原之前的安装
wsl --unregister docker-desktop-data
wsl --import docker-desktop-data D:\Data\wsl\docker\data D:\Data\wsl\docker\data\----ext4.vhdx --vhd
# 可选
wsl.exe --import docker-desktop C:\Users\user\AppData\Local\Docker\wsl\distro "C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar" --version 2
# 安装稳定版本
nvm install 18.15.0
nvm use 18.15.0
# 安装常用的包管理器
npm install -g pnpm yarn tyarn
# 更新pip
python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
# 配置镜像
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 配置安装源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo vim /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
# 中文包
sudo apt install language-pack-zh-hans -y
sudo dpkg-reconfigure locales
# 选择这些:en_US.UTF-8和zh_CN.UTF-8, 选择zh_CN.UTF-8为默认语言
# 字体管理
sudo apt install fontconfig -y
# 刷新字体缓存
fc-cache -f -v
# 时区
sudo dpkg-reconfigure tzdata
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse