【文件属性】:
文件名称:wsl-dotfiles:WSL 2 Ubuntu + Windows Terminal + Docker + VS代码
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-17 23:55:59
dotfiles docker wsl wsl-ubuntu wsl2
我的Windows子系统,用于Linux安装程序和Dotfiles
安装
在Windows上
1.启用WSL2
以管理员身份(已提升权限)在PowerShell中运行:
Enable-WindowsOptionalFeature - Online - FeatureName Microsoft - Windows - Subsystem - Linux
Enable-WindowsOptionalFeature - Online - FeatureName VirtualMachinePlatform
wsl -- set-default - version 2
在WSL 2上
2.安装依赖项
# Use apt over HTTPS
sudo apt update && sudo apt install -y \
apt-transport-https \
ca-ce
【文件预览】:
wsl-dotfiles-main
----.zshrc(4KB)
----terminal-settings.json(8KB)
----.aliases.zsh(1KB)
----etc()
--------resolv.conf(19B)
--------wsl.conf(37B)
----LICENSE(1KB)
----.wslconfig(24B)
----README.md(4KB)
----vscode-settings.json(257B)
----.gitignore_global(468B)