安装windows terminal: 可直接在 microsoft store 中搜索安装。这里不赘述。 直达链接:https://www.microsoft.com/store/productId/9N0DX20HK701 安装powershell@latest 官网:https://docs.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2 你的系统中,powersh...
Terminal-Icons是一个 PowerShell 模块,它会添加在 Windows 终端中显示文件或文件夹时可能缺少的文件和文件夹图标,并基于名称或扩展名查找相应的图标。 它尝试将图标用于已知文件/文件夹,但如果找不到内容,则会回滚到通用文件或文件夹图标。 若要使用PowerShell安装Terminal-Icons,请使用以下命令: Install-Module-Name...
Windows Terminal下同时需要选定安装的字体,在侧边栏选中Windows PoweShell,在外观中选择字体,在下拉列表中选中安装的字体,最后点击保存即可 图3 字体设置 4 oh-my-posh安装 这里是直接安装oh-my-posh3了,按照官方文档这应该是最简便的安装方式了,一键式安装oh-my-posh.exe和最新的themes. winget install oh-my-p...
1. 安装powershell 我相信大家都有,除非你自己卸载了,这个可以去微软应用商店去下 2.安装oh-my-posh winget install JanDeDobbeleer.OhMyPosh -s winget 【此处踩坑】winget比较慢,一般是没有换源导致的 一般而言,先查看winget源 winget source list winget源 一般而言,有两个,一个是微软的cdn的cache(这里...
执行安装命令:winget install JanDeDobbeleer.OhMyPosh -s winget 使用系统管理员重新打开 Windows Terminal,使得 oh-my-posh 命令生效 安装必要字体(否则某些 icron 会乱码),执行命令oh-my-posh font install,此时会出现字体的候选列表,官方推荐安装Meslo: ...
先安装Windows terminal 用Microsoft.WindowsTerminal_1.17.11461.0_8wekyb3d8bbwe.msixbundle安装 安装oh-my-posh Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1')) ...
Install-Module oh-my-posh -Scope CurrentUser -Verbose 然后观察输出发现,有安装地址,类似这种的https://www.powershellgallery.com/api/v2/package/oh-my-posh/2.0.468,但是一直安装不上,还有一个信息,就是安装位置,忘了截图了,如果是所有用户:C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\5.17....
1. 微软应用商店搜索安装 Windows Terminal 2. 进行相关设置: 打开JSON设置,定位到Defaults里添加: 使用亚克力效果: "useAcrylic": true, "acrylicOpacity": 0.2 设置背景: "backgroundImage": "URL", "backgroundImageOpacity": 0.4 修改字体: "fontFace":"JetBrainsMono Nerd Font Mono", ...
或者直接Windows Terminal直接输入命令安装: winget install JanDeDobbeleer.OhMyPosh -s winget 1. 2.2、离线安装 Github下载地址:Releases · microsoft/terminal · GitHub 下载后解压,双击主程序即可打开。 2.3、配置 找到Windows Terminal配置文件: 我的路径是:C:\Users\79304\Documents\WindowsPowerShell\Microsoft...
winget install JanDeDobbeleer.OhMyPosh-s winget 2.2、离线安装 Github下载地址:Releases · microsoft/terminal · GitHub 下载后解压,双击主程序即可打开。 2.3、配置 找到Windows Terminal配置文件: 我的路径是:C:\Users\79304\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1。