{"id":91542,"date":"2024-03-23T23:00:11","date_gmt":"2024-03-23T15:00:11","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=91542"},"modified":"2024-03-23T23:00:11","modified_gmt":"2024-03-23T15:00:11","slug":"windows-chocolatey","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/windows-chocolatey.html","title":{"rendered":"\u798f\u5229\uff1aWindows \u8f6f\u4ef6\u5305\u7ba1\u7406\u7cfb\u7edf Chocolatey"},"content":{"rendered":"
Chocolatey \u662f windows \u4e0b\u4e00\u6b3e\u547d\u4ee4\u884c\u5305\u7ba1\u7406\u8f6f\u4ef6 \uff0c\u7b80\u5355\u8bf4\u8fd9\u5c31\u662f Windows \u7684 apt-get\u3002\u4e60\u60ef Linux \u64cd\u4f5c\u65b9\u5f0f\u5e76\u975e\u5e38\u60f3\u7528\u5b83\u64cd\u7eb5 Windows \u7684\u656c\u8bf7\u6298\u817e\u3002Chocolatey \u8fd9\u5957\u5305\u7ba1\u7406\u7cfb\u7edf\u76ee\u524d\u5df2\u7ecf\u5305\u542b\u4e86\u8fd1 500 \u591a\u6b3e\u5e38\u7528\u8f6f\u4ef6\u3002<\/p>\n
\u5b89\u88c5\u5f88\u7b80\u5355\uff0c\u6253\u5f00\u547d\u4ee4\u884c\u754c\u9762\uff0c\u8d34\u5165\u4e0b\u9762\u4e00\u884c\u56de\u8f66\uff1a<\/p>\n
\r\n@powershell -NoProfile -ExecutionPolicy unrestricted -Command \"iex ((new-object net.webclient).DownloadString('http:\/\/bit.ly\/psChocInstall'))\" && SET PATH=%PATH%;%systemdrive%\\chocolatey\\bin\r\n<\/pre>\n\u7528\u6cd5\u4e5f\u7b80\u5355\uff1a<\/p>\n
\u67e5\u8be2\u7a0b\u5e8f\u662f\u5426\u5728\u6570\u636e\u5e93\u4e2d\uff1aclist < \u7a0b\u5e8f\u540d><\/p>\n
\u5b89\u88c5\u7a0b\u5e8f\uff1acinst < \u7a0b\u5e8f\u540d>
\n<\/p>\n\n\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.oschina.net\/p\/chocolatey<\/a><\/p>\n