一是wsl2的安装以及Ubuntu系统安装及配置 二是使用vscode连接Linux子系统 一、wsl2的安装以及Ubuntu系统安装及配置 1、wsl2安装 开启子系统设置 安装wsl2之前,首先要配置系统设置,在“控制面板”>“程序”>“程序和功能”>“启用或关闭Windows功能”,勾选“适用于Linux的Windows子系统”。选择完毕后, 1. 下载并...
3. 安装Ubuntu 在微软应用商店安装Ubuntu,当前Ubuntu版本为20.04 LTS 安装完成以后,配置Ubuntu默认为wsl2 # 查看wsl --list --verbose# 设置wsl --set-version Ubuntu 2 4. 安装ruby 在Linux下安装ruby有多种方法,比较主流的方法是RVM,不过为了简单起见,我直接通过ubuntu的apt工具进行了安装。 关于RVM的安装可参...
gitclonehttps://github.com/gaoshang212/electron-vite-react-typescript 安装vscode 插件Remote - WSL 为了方便在 vscode 中直接修改操作 wsl 中的文件。 我使用Remote - WSL 这个插件,可以直接在vscode 修改代码,执行命令行。 插件地址:https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.re...
我试图在我的Windows机器上使用WSL 2来设置Ubuntu20.04LTS,以便能够在Linux和Windows的某个版本上运行性能实验,作为其中的一部分,我打算安装perf工具。install the following packages for this specific kernel: linux-tools-5.4.72-microsoft-standard-WSL2linux-cloud-to 浏览0提问于2021-02-06得票数 7 1回答 如...
"ms-vscode.vscode-typescript-next" ] } }, // Configure tool-specific properties. // "customizations": {}, "mounts": [ "source=${localEnv:HOME}${localEnv:USERPROFILE}/Downloads,target=/home/vscode/Downloads,type=bind,consistency=cached" ...
展,vscode下ruby的开发体验已经⾮常不错。现在基本上使⽤win 10 wsl2 + vscode + windows terminal的体验已经不逊于mac + vim (sublime) + item 2的体验了 总体步骤 使⽤win10专业版配置ruby开发环境⼤致分为以下⼏步:开启win10 wsl功能 升级wsl2 安装ubuntu 安装ruby(rvm)安装vscode 安装vscode ...
一台计算机运行Windows 10,另一台运行Windows 11,但对于这两台计算机,我的开发环境都是WSL2 Ubuntu,我正在使用VScode。我在一些项目上的经验略有不同。我对类型记录编译器或sass编译器也没有问题,这意味着当我在目录中运行tsc *.ts --watch时,当我修改这些文件时,它总是将typescript代码编译成JS,而且在处理....
Version Windows 10.0.19044.2364 WSL version: 1.0.3.0 WSL Version WSL 2 WSL 1 Kernel Version 5.15.79.1 Distro Version Ubuntu 20.04 Other Software Docker Desktop Version 4.10.1 VSCode: 1.74.1 Remote WSL 0.72.0 Repro Steps I am running our ...
Ubuntu Base Package (git, virt-manager, firefox, dbus-x11, x11-apps, make, unzip) (scripts/install/installBasePackages.sh) OpenVSCode Server (scripts/install/installOpenVSCodeServer.sh). It is started automatically when you start and log into the WSL on port 3000. ...
WSL2 with Ubuntu 20.04 node: v16.13.2 (also tried with v17.4.0) npm: v8.4.0 app/root.tsx ... import tailwindStylesUrl from "./tailwind.css"; export const links: LinksFunction = () => { return [ { rel: "stylesheet", href: tailwindStylesUrl, ...