目录 wsl优化 (Windows Subsystem for Linux) Linux子系统优化 1. 永久修改wsl终端字体 2. 修改Linux终端配色 3. 添加WSL到右键菜单 wsl优化 (Windows Subsystem for Linux) Linux子系统优化 1. 永久修改wsl终端字体 a. 临时 打开wsl后点击左上角的图标,选择"属性",在弹出的窗口中选择字体进行修改. b. 永久 win+r输入regedit打开注册表,找到计算机\HKEY_CURRENT…
一开始我是只将 VSCode 集成的终端改成 WSL 的 Bash,结果发现内置的 GIt 用的还是 Windows 的 Git,Git Hooks 用的 Windows 的环境,上网搜了一下发现有很复杂的方式,继续翻了翻发现管饭居然有超好用的方式 Developing in the Windows Subsystem for Linux with Visual Studio Code (虽然有大神指出这种方式还有有难用的地方..) 总之安装 Remote Development - Visua…
1.安装linux子系统 很简单直接在启动或关闭windows功能 中选择“适用于linux的windows子系统”,确定安装后重启即可,安装还是比较快的只用了几分钟. 也可以直接使用shell命令行安装 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 二者效果相同 2.安装ubantu系统 最新版win10是直接从应用商店安装即可,这个稍微慢一点 3.安装后直接打开ubun…
一.开启开发者模式 步骤: -> 系统设置 -> 更新和安全 -> 针对开发人员 -> 选择开发者模式 点击后会自动安装环境 二.启用WSL 步骤: -> 系统设置 -> 应用 -> 右侧的程序和功能 -> 启动或关闭windows功能 -> 勾选适用于 Linux 的 Windows 子系统 确定后,重启电脑,系统更新配置 三.安装 Linux 子系统 打开 Windows 商店,输入  Ubuntu 搜索,选择你自己想要的系统版本,我选择的是 Ub…
什么是WSL Windows Subsystem for Linux 简称WLS,适用于Linux的Windows子系统,可以直接在Windows上运行Linux环境(包括大部分命令行工具) Linux containers与Windows Subsystem for Linux(WSL)区别 此处以docker与wsl进行一些比较,主要为个人的理解之处. docker与wsl同样运行在本机环境中运行,不依赖其他管理程序与虚拟化. docker与wsl同样为应用容器. 安装WSL 在Window…
WSL(Windows Subsystem for Linux )的环境变量是包含Linux子系统和Windows系统的,测试如下: wy@WY-PC:/mnt/c/Windows/System32$ python -V Python wy@WY-PC:/mnt/c/Windows/System32$ python.exe -V Python wy@WY-PC:/mnt/c/Windows/System32$ python3 -V Python wy@WY-PC:/mnt/c/Windows/S…
1. WSL是什么 2. WSL新特性 3. WSL管理配置 4. WSL交互 5. 解决方案  * 5.1 使用别名  * 5.2 多复制一份  * 5.3 重定向  * 5.4 symlink 6. 其他  * 6.1 闲聊  * 6.2 参考 1. WSL是什么 ​ WSL 是Windows Subsystem for Linux 的简称,主要是为了在Windows 10上原生运行Linux二进制可执行文件(ELF格式),而提供的兼容层. 通俗来讲是在Windows10 嵌入了个Linux…
windows 10中的ubuntu子系统安装桌面环境的方法 (How to install Ubuntu-desktop in windows 10 Subsystem for Linux) 转载 https://blog.csdn.net/u011138447/article/details/78262369 需求: * 如何在windows 10中的ubuntu子系统安装桌面环境 * - How to install Ubuntu-desktop in windows 10 Subsyst…
什么是WSL Windows Subsystem for Linux(简称WSL)是一个为在Windows 10上能够原生运行Linux二进制可执行文件(ELF格式)的兼容层.它是由微软与Canonical公司合作开发,目标是使纯正的Ubuntu 14.04 "Trusty Tahr"映像能下载和解压到用户的本地计算机,并且映像内的工具和实用工具能在此子系统上原生运行. 以上来自维基百科,简单的说WSL就是可以运行在Win10上的一个Linux子系统,有点类似于cygwin的那种.说白…
WSL (Windows Subsystem for Linux) :适用于 Linux 的 Windows 子系统. References Install WSL with a single command now available in Windows 10 version 2004 and higher | Windows Command Line (microsoft.com) Install WSL | Microsoft Docs Best practices for settin…