侧边栏壁纸
  • 累计撰写 23 篇文章
  • 累计创建 8 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

windows 包管理和sudo

付心武士
2024-08-04 / 0 评论 / 0 点赞 / 0 阅读 / 745 字

windows上的包管理器
WinGet
Chocolatey
Scoop

windows下使用gsudo实现sudo一样的命令

安装gsudo
winget install gerardog.gsudo
choco install gsudo
scoop install gsudo
直接使用PowerShell安装
PowerShell -Command "Set-ExecutionPolicy RemoteSigned -scope Process; [Net.ServicePointManager]::SecurityProtocol = 'Tls12'; iwr -useb https://raw.githubusercontent.com/gerardog/gsudo/master/installgsudo.ps1 | iex"
可以直接使用gsudo的别名sudo

0

评论区