美文网首页读百遍
windows软件包管理器 - Chocolatey

windows软件包管理器 - Chocolatey

作者: ichengzi | 来源:发表于2017-02-23 20:29 被阅读27次

windows下类似于Ubuntu中的apt-get的软件包管理器。

安装Chocolatey:

  1. PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned , 设置powershell允许执行远程签名的脚本
  2. PS> iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex , powershell执行安装脚本

常用命令:

命令 功能
choco install php 安装php包
clist -li 已安装的包,包含本地程序
clist -lo 只有已安装的包

相关文章

网友评论

    本文标题:windows软件包管理器 - Chocolatey

    本文链接:https://www.haomeiwen.com/subject/ejabwttx.html