多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > 服務器 > Windows上的巧克力味Chocolatey詳解

Windows上的巧克力味Chocolatey詳解

來源:程序員人生   發布時間:2016-07-04 08:45:11 閱讀次數:5173次

Windows上的巧克力味Chocolatey詳解

作者:chszs,未經博主允許不得轉載。經許可的轉載需注明作者和博客主頁:http://blog.csdn.net/chszs

Chocolatey是甚么?很簡單,Chocolatey就是Windows系統的yum或apt-get。

1、Chocolatey介紹

Chocolatey是1款專為Windows系統開發的、基于NuGet的包管理器工具,類似于Node.js的npm,MacOS的brew,Ubuntu的apt-get,它簡稱為choco。Chocolatey的設計目標是成為1個去中心化的框架,便于開發者按需快速安裝利用程序和工具。

Chocolatey的官網: https://chocolatey.org/

Chcocolatey當前最新版本為0.9.10.3版。

2、Chocolatey安裝

要安裝Chocolatey很容易,必須以管理員權限打開cmd.exe命令行提示,履行以下內容:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

還有1種安裝方法,使用PowerShell,一樣必須以管理員權限打開PowerShell,履行以下命令:

iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

3、Chocolatey用法

1、命令

  • search - 搜索包 choco search something
  • list - 列出包 choco list -lo
  • install - 安裝 choco install baretail
  • pin - 固定包的版本,避免包被升級 choco pin windirstat
  • upgrade - 安裝包的升級 choco upgrade baretail
  • uninstall - 安裝包的卸載 choco uninstall baretail
  • 安裝Ruby Gem - choco install compass -source ruby
  • 安裝Python Egg - choco install sphynx -source python
  • 安裝IIS服務器特性 - choco install IIS -source windowsfeatures
  • 安裝Webpi特性 - choco install IIS7.5Express -source webpi

2、經常使用的1些命令

1)列出本地已安裝的包

choco list --local-only

2)列出Windows系統已安裝的軟件

choco list -li

或使用

choco list -lai

3)升級所有已安裝的包

choco upgrade all -y

4、Chocolatey的文件

tools\chocolateyInstall.ps1
tools\chocolateyInstall\choco.exe
tools\chocolateyInstall\choco.exe.ignore
tools\chocolateyInstall\helpers\chocolateyInstaller.psm1
tools\chocolateyInstall\helpers\chocolateyScriptRunner.ps1
tools\chocolateyInstall\helpers\functions\Get-BinRoot.ps1
tools\chocolateyInstall\helpers\functions\Get-CheckSumValid.ps1
tools\chocolateyInstall\helpers\functions\Get-ChocolateyUnzip.ps1
tools\chocolateyInstall\helpers\functions\Get-ChocolateyWebFile.ps1
tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariable.ps1
tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariableNames.ps1
tools\chocolateyInstall\helpers\functions\Get-FtpFile.ps1
tools\chocolateyInstall\helpers\functions\Get-ProcessorBits.ps1
tools\chocolateyInstall\helpers\functions\Get-UACEnabled.ps1
tools\chocolateyInstall\helpers\functions\Get-VirusCheckValid.ps1
tools\chocolateyInstall\helpers\functions\Get-WebFile.ps1
tools\chocolateyInstall\helpers\functions\Get-WebHeaders.ps1
tools\chocolateyInstall\helpers\functions\Install-BinFile.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyDesktopLink.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyEnvironmentVariable.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyExplorerMenuItem.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyFileAssociation.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyInstallPackage.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyPackage.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyPath.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyPowershellCommand.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyShortcut.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyVsixPackage.ps1
tools\chocolateyInstall\helpers\functions\Install-ChocolateyZipPackage.ps1
tools\chocolateyInstall\helpers\functions\Set-EnvironmentVariable.ps1
tools\chocolateyInstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1
tools\chocolateyInstall\helpers\functions\Test-ProcessAdminRights.ps1
tools\chocolateyInstall\helpers\functions\Uninstall-BinFile.ps1
tools\chocolateyInstall\helpers\functions\Uninstall-ChocolateyPackage.ps1
tools\chocolateyInstall\helpers\functions\UnInstall-ChocolateyZipPackage.ps1
tools\chocolateyInstall\helpers\functions\Update-SessionEnvironment.ps1
tools\chocolateyInstall\helpers\functions\Write-ChocolateyFailure.ps1
tools\chocolateyInstall\helpers\functions\Write-ChocolateySuccess.ps1
tools\chocolateyInstall\helpers\functions\Write-FileUpdateLog.ps1
tools\chocolateyInstall\LICENSE.txt
tools\chocolateyInstall\redirects\choco.exe
tools\chocolateyInstall\redirects\choco.exe.ignore
tools\chocolateyInstall\redirects\chocolatey.exe
tools\chocolateyInstall\redirects\chocolatey.exe.ignore
tools\chocolateyInstall\redirects\cinst.exe
tools\chocolateyInstall\redirects\cinst.exe.ignore
tools\chocolateyInstall\redirects\clist.exe
tools\chocolateyInstall\redirects\clist.exe.ignore
tools\chocolateyInstall\redirects\cpack.exe
tools\chocolateyInstall\redirects\cpack.exe.ignore
tools\chocolateyInstall\redirects\cpush.exe
tools\chocolateyInstall\redirects\cpush.exe.ignore
tools\chocolateyInstall\redirects\cuninst.exe
tools\chocolateyInstall\redirects\cuninst.exe.ignore
tools\chocolateyInstall\redirects\cup.exe
tools\chocolateyInstall\redirects\cup.exe.ignore
tools\chocolateyInstall\redirects\cver.exe
tools\chocolateyInstall\redirects\cver.exe.ignore
tools\chocolateyInstall\redirects\RefreshEnv.cmd
tools\chocolateyInstall\tools\7za.exe
tools\chocolateyInstall\tools\7za.exe.ignore
tools\chocolateyInstall\tools\7za.exe.manifest
tools\chocolateyInstall\tools\7zip.license.txt
tools\chocolateyInstall\tools\checksum.exe
tools\chocolateyInstall\tools\checksum.exe.ignore
tools\chocolateyInstall\tools\checksum.license.txt
tools\chocolateyInstall\tools\shimgen.exe
tools\chocolateyInstall\tools\shimgen.exe.ignore
tools\chocolateyInstall\tools\shimgen.license.txt
tools\chocolateysetup.psm1
tools\init.ps1

5、最近升級

最近我從Chocolatey 0.9.9.11版升級到0.9.10.3版,發現360安全衛士報了1個木馬。自動清除木馬,依然升級成功。不影響使用。還未深究其緣由。
這里寫圖片描述
?

寫在最后

我新建了1個微信個人公眾號,博客的信息也會在公眾號同步更新。關注隨便。
這里寫圖片描述

生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 拍拍拍在线观看视频免费 | 国产在线综合网 | 亚洲www网站 | 亚洲一区二区三区麻豆 | 欧美激情一区二区三区视频高清 | 亚洲黄网址| 五月婷婷视频在线 | 麻豆精品国产自产在线 | 国产精品亚洲综合一区 | 亚洲天堂中文网 | 一本之道免费视频 | 日本特级全黄一级毛片 | www视频免费观看 | 伊人高清 | 精品一区二区乱码久久乱码 | 日本亚洲高清 | 日本欧美一区二区三区乱码 | 日韩欧美视频一区 | 国产在线观看福利片 | 女人天堂网在线观看2019 | 黄色网址免费大全 | 无人区乱码1区2区3区mv | 一区二区三区亚洲 | 午夜宅男在线视频 | 日本一区二区免费看 | 成人手机看片 | 亚洲福利视频一区二区 | 国产亚洲精品久久久久久午夜 | 欧美性猛交黑人xxxx | xh98hx国产免费 | 亚洲综合免费 | 俺也射| 亚洲欧美色综合一区二区在线 | 欧美国产综合视频在线观看 | 欧美特级午夜一区二区三区 | 欧美最猛黑人xxxx黑人猛交69 | 性欧美高清videosex | 亚洲最新在线视频 | 日本叼嘿视频 | 欧美中文小说在线观看 | 国产精品欧美韩国日本久久 |