What is Chocolatey?

Chocolatey is a software management solution unlike anything else you've ever experienced on Windows. It focuses on simplicity, security, and scalability. You write a software deployment in PowerShell once for any software (not just installers), then you can deploy it everywhere you have Windows with any solution that can manage systems (configuration management, endpoint management, etc) and track and manage updates of that software over time. Manage software on-premise, in the "Cloud", or in Docker containers with Chocolatey.

Whew, that was a mouthful! For a bit more detail into what all of that means and more, see What is Chocolatey?

通过Powershell安装Chocolatey

Write-Output"Install Chocolatey"
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
Write-Output"Globally Auto confirm every action"
choco feature enable -n allowGlobalConfirmation

通过Chocolatey安装其它软件

Write-Output"Installing Packages"
choco install notepadplusplus
choco install awscli --version 1.16.88
choco install putty
choco install jdk8
choco install jre8
choco install python3
choco install tomcat
choco install GoogleChrome
choco install sourcetree
choco install jenkins
choco install visualstudio2017-installer
choco install webdeploy
choco install mysql
choco install mysql-connector
choco install mysql.workbench

Command Reference

This is a listing of all of the different things you can pass to choco.

Commands

  • list - lists remote or local packages
  • search - searches remote or local packages (alias for list)
  • info - retrieves package information. Shorthand for choco search pkgname --exact --verbose
  • install - installs packages from various sources
  • pin - suppress upgrades for a package
  • outdated - retrieves packages that are outdated. Similar to upgrade all --noop
  • upgrade - upgrades packages from various sources
  • uninstall - uninstalls a package
  • pack - packages up a nuspec to a compiled nupkg
  • push - pushes a compiled nupkg
  • new - generates files necessary for a chocolatey package from a template
  • sources - view and configure default sources (alias for source)
  • source - view and configure default sources
  • config - Retrieve and configure config file settings
  • feature - view and configure choco features
  • features - view and configure choco features (alias for feature)
  • setapikey - retrieves or saves an apikey for a particular source (alias for apikey)
  • apikey - retrieves or saves an apikey for a particular source
  • unpackself - have chocolatey set itself up
  • version - [DEPRECATED] will be removed in v1 - use choco outdated or cup <pkg|all> -whatif instead
  • update - [DEPRECATED] RESERVED for future use (you are looking for upgrade, these are not the droids you are looking for)
  • support - provides support information
  • download - downloads packages - optionally internalizing all remote resources
  • synchronize - synchronizes against system installed software - generates missing packages
  • sync - synchronizes against system installed software - generates missing packages
  • optimize - optimizes installation, reducing space usage

Please run chocolatey with choco command -help for specific help on
each command.

参考

https://chocolatey.org/

Chocolatey - Windows Software Management Automation的更多相关文章

  1. Azure Management API 之 利用 Windows Azure Management Libraries 来控制Azure platform

    在此之前,我曾经发过一篇文章讲叙了如何利用Azure power shell team 提供的class library. 而就在这篇文章发布之后不久,我又发现微软发布了一个preview 版本的Wi ...

  2. Fedora 15 KDE中如何打开software management及如何应用

    Fedora 15 KDE中如何打开software management级如何应用 software management中有转载和卸载软件(Get and remove software)的功能 ...

  3. 快速找出System.Management.Automation.dll,c#调用powershell

    public static void InvokeSystemPS(string cmd) { List<string> ps = new List<string>(); ps ...

  4. 远程管理服务 Windows Remote Management (WS-Management)

    Windows Remote Management (WS-Management) Windows 远程管理(WinRM)服务执行 WS-Management 协议来实现远程管理.WS-Managem ...

  5. 开源自己用python封装的一个Windows GUI(UI Automation)自动化工具,支持MFC,Windows Forms,WPF,Metro,Qt

    首先,大家可以看下这个链接 Windows GUI自动化测试技术的比较和展望 . 这篇文章介绍了Windows中GUI自动化的三种技术:Windows API, MSAA - Microsoft Ac ...

  6. [Windows Azure] Management REST API Reference

    Management REST API Reference 27 out of 42 rated this helpful - Rate this topic The SQL Database Man ...

  7. Chocolatey——windows下的包管理器

    前言 windows 包管理器 | https://chocolatey.org/ 命令 文档 | https://chocolatey.org/docs 根据使用会补充命令

  8. Windows Automation API 3.0 Overview

    https://www.codemag.com/article/0810042 While general accessibility requirements (such as font color ...

  9. [Windows Azure] Walkthrough to Configure System Center Management Pack for Windows Azure Fabric Preview for SCOM 2012 SP1 (with a MetricsHub Bonus)

    The wait is finally over. This is a huge update to the Azure Management Pack over the one that was r ...

随机推荐

  1. Material Safety Data Sheet,MSDS - 化学品安全说明书

    化学品安全说明书(Material Safety Data Sheet)MSDS,国际上称作化学品安全信息卡,是化学品生产商和经销商按法律要求必须提供的化学品理化特性(如PH值,闪点,易燃度,反应活性 ...

  2. hbase 修复 hbck

    hbase 修复使用hbck 新版本的 hbck 可以修复各种错误,修复选项是: (1)-fix,向下兼容用,被-fixAssignments替代 (2)-fixAssignments,用于修复reg ...

  3. 福大软工1816:Beta(4/7)

    Beta 冲刺 (1/7) 队名:第三视角 组长博客链接 本次作业链接 团队部分 团队燃尽图 工作情况汇报 张扬(组长) 过去两天完成了哪些任务 文字/口头描述 准备四六级 展示GitHub当日代码/ ...

  4. Java微笔记(9)

    使用 Date 和 SimpleDateFormat 类表示时间 处理日期和时间的相关数据,可以使用 java.util 包中的 Date 类 使用 Date 类的默认无参构造方法创建出的对象就代表当 ...

  5. iOS- 关于AVAudioSession的使用——后台播放音乐

    1.前言 •AVAudioSession是一个单例,无需实例化即可直接使用.AVAudioSession在各种音频环境中起着非常重要的作用 •针对不同的音频应用场景,需要设置不同的音频会话分类   1 ...

  6. 解决CentOS安装redis局域网内无法访问的问题

    redis4.0版本安装教程晚上非常多,随便贴出来一个:http://www.cnblogs.com/web424/p/6796993.html 安装完成后,在局域网内发现无法访问到redis.cen ...

  7. MySQL的并发访问控制(锁)

    前言:任何的数据集只要支持并发访问模型就必须基于锁机制进行访问控制 锁种类 读锁:共享锁,允许给其他人读,不允许他人写写锁:独占锁, 不允许其他人读和写 锁类型 显示锁:用户手动请求读锁或写锁隐式锁: ...

  8. 【BioCode】将多个蛋白质序列分成单个的txt文档

    代码说明: fasta格式的蛋白质序列,一个txt里面有很多蛋白质序列,计算ss.pssm或disorder score时候都需要单条计算,需要分开. 分割前: 分割后: show you the c ...

  9. CodeForces Round #527 (Div3) D2. Great Vova Wall (Version 2)

    http://codeforces.com/contest/1092/problem/D2 Vova's family is building the Great Vova Wall (named b ...

  10. script 执行的三种方式

    <script>: 脚本的获取和执行是同步的.此过程中页面被阻塞,停止解析. <script defer = "defer">:脚本的获取是异步的,执行是同 ...