WSL Ubuntu18.04个人环境配置
我的ubuntu环境
前言
随着开发工具增多,windows的响应速度相比linux要低不少,因此使用wsl折衷方案,但是wsl的备份相对虚拟机就麻烦许多,所以开这篇文章更新我需要用到的常用依赖和工具。
##0x01
1. C/C++环境配置
- 依赖安装
1 | sudo apt install build-essential gdb |
- VSCode配置
直接抄就可以用->VSCode调试配置
2. nodejs环境配置
- 基础环境配置
1 | sudo apt install npm |
- 另外可以顺便安装yarn代替npm
1 | npm install -g yarn --registry=https://registry.npm.taobao.org |
- 如果想换国内源
1 | yarn config set registry https://registry.npm.taobao.org -g |
WSL Ubuntu18.04个人环境配置
https://blog.timzhong.top/2020/07/01/my-ubuntu-env/