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.0...
git clonehttps://github.com/JanDeDobbeleer/oh-my-posh 将里面的theme文件夹保留即可。 测试 oh-my-poshinitpwsh|Invoke-Expression 如果终端变成了下图就说明安装成功: 这是oh-my-posh3的默认主题 2. 配置整体运行文件 notepad$profile 将以下文本写入其中: oh-my-poshinitpwsh--config<主题路径(json文件)>|...
1.直接在微软商店搜索oh my posh下载(同时若没有Windows Terminal的可以安装一下Windows Terminal) Microsoft Store上的oh-my-posh Microsoft Store上的Windows Terminal 2.下载作者推荐MesloLGM NF字体,点此下载 下载完成后解压,全选右键点击安装即可自动安装 3.安装完成后打开Windows Terminal然后按"Ctrl+Shift+,(逗...
1. 安装powershell 我相信大家都有,除非你自己卸载了,这个可以去微软应用商店去下 2.安装oh-my-posh winget install JanDeDobbeleer.OhMyPosh -s winget 【此处踩坑】winget比较慢,一般是没有换源导致的 一般而言,先查看winget源 winget source list winget源 一般而言,有两个,一个是微软的cdn的cache(这里...
今天偶然下载了 powershell7.2.1 https://mydown.yesky.com/pcsoft/468254.html 这想着 vscode也支持了,得装一个 ohmyposh的主题啊 安装准备先装scoop 看默认可以装个winget,win10环境,可是装半天没装上 // pow
一、安装必要工具 Windows + X 然后打开powershell Oh My Posh # 使用 winget 安装 winget install JanDeDobbeleer.OhMyPosh-swinget # 安装字体 oh-my-poshfont install # 选择并安装 FiraCode Nerd Font 二、配置 Oh My Posh 创建PowerShell 配置文件 ...
安装准备先装scoop 看默认可以装个winget,win10环境,可是装半天没装上 // powershell7.2.1 set-executionpolicy remotesigned -s cu iex (new-object net.webclient).downloadstring('https://get.scoop.sh') 1. 2. 3. 安装ohmyposh https://ohmyposh.dev/docs/installation/windows ...
官网地址:Home | Oh My Posh 2.1、在线安装 打开Microsoft Store,搜索oh my posh,直接安装即可。 或者直接Windows Terminal直接输入命令安装: 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 winget install JanDeDobbeleer.OhMyPosh-s winget ...
1 oh my posh简介 这个是个啥工具呢?终端命令提示符美化工具,简单讲就是让你工作的终端,不在只有黑白,拥有更多可自定义的展示。 效果是啥呢?搬砖的时候可能会更愉悦一些,这款工具经过迭代,已经支持多系统,包括不限于powwershell、bash、zsh等。 2 如何安装呢?
根据Windows Terminal 中powerline的教程发现 oh-my-posh 还可以安装到ubuntu系统下,于是尝试了一下 安装 Windows Terminal中ubuntu安装oh-my-posh教程:https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup oh-my-posh 官网:https://ohmyposh.dev/docs/ ...