zoukankan      html  css  js  c++  java
  • Chocolatey

    Chocolatey is kind of like apt-get, but for Windows (with Windows comes limitations). It is a machine level package manager that is built on top of nuget command line and the nuget infrastructure.
    More behind the name

    "Okay, machine package manager, that's nice. What does that mean though?" It means you can simply install software with a few keystrokes and go get coffee while your co-workers are downloading and running an install manually (and I do mean something like an MSI).

    How about updates? Wouldn't it be nice to update nearly everything on your machine with a few simple keystrokes? We think so, too. Chocolatey does that. choco upgrade all -y

    代理设置

    https://github.com/chocolatey/choco/wiki/proxy-settings-for-chocolatey 

    升级后的提示:

    C:UsersAdministrator>choco upgrade all -y
    Chocolatey v0.10.0
    Upgrading the following packages:
    all
    By upgrading you accept licenses for the packages.

    You have chocolatey v0.10.0 installed. Version 0.10.3 is available based on your
    source(s).

    chocolatey v0.10.3 [Approved]
    Creating ChocolateyInstall as an environment variable (targeting 'Machine')
    Setting ChocolateyInstall to 'C:ProgramDatachocolatey'
    WARNING: It's very likely you will need to close and reopen your shell
    before you can use choco.
    Restricting write permissions to Administrators
    We are setting up the Chocolatey package repository.
    The packages themselves go to 'C:ProgramDatachocolateylib'
    (i.e. C:ProgramDatachocolateylibyourPackageName).
    A shim file for the command line goes to 'C:ProgramDatachocolateyin'
    and points to an executable in 'C:ProgramDatachocolateylibyourPackageName'
    .

    Creating Chocolatey folders if they do not already exist.

    WARNING: You can safely ignore errors related to missing log files when
    upgrading from a version of Chocolatey less than 0.9.9.
    'Batch file could not be found' is also safe to ignore.
    'The system cannot find the file specified' - also safe.
    WARNING: Not setting tab completion: Profile file does not exist at 'D:用户目录
    DocumentsWindowsPowerShellMicrosoft.PowerShell_profile.ps1'.
    Chocolatey (choco.exe) is now ready.
    You can call choco from anywhere, command line or powershell by typing choco.
    Run choco /? for a list of functions.
    You may need to shut down and restart powershell and/or consoles
    first prior to using choco.
    Environment Vars (like PATH) have changed. Close/reopen your shell to
    see the changes (or in powershell/cmd.exe just type `refreshenv`).
    The upgrade of chocolatey was successful.
    Software install location not explicitly set, could be in package or
    default install location if installer.
    NuGet.CommandLine v3.4.4-rtm-final is newer than the most recent.
    You must be smarter than the average bear...

    Chocolatey upgraded 1/2 packages. 0 packages failed.
    See the log for details (C:ProgramDatachocolateylogschocolatey.log).

    Check out Pro / Business for more features! https://chocolatey.org/compare

  • 相关阅读:
    Python模块进阶、标准库、扩展库
    python垃圾回收机制
    VMWare workstation 安装 CentOS 8后自适应调整分辨率(如1920x1080)
    使用 Zeal 打造属于自己的文档
    Erlang 开发者的福音:IntelliJ IDEA 的 Erlang 插件
    Intellij IDEA 14的注册码
    在Intellij IDEA或者PhpStorm下用X-debug调试PHP
    PHPCMS 核心代码与 www 分离部署
    PHPCMS如何实现后台访问限制?
    推荐:PHPCMS v9 安全防范教程!
  • 原文地址:https://www.cnblogs.com/chucklu/p/6515992.html
Copyright © 2011-2022 走看看