zoukankan      html  css  js  c++  java
  • Install chocolatey

    Requirements

    • Windows 7+ / Windows Server 2003+
    • PowerShell v2+
    • .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have it installed)

    That's it! All you need is choco.exe (that you get from the installation scripts) and you are good to go! No Visual Studio required.

    Installing Chocolatey

    Chocolatey installs in seconds. You are just a few steps from running choco right now!

    1. First, ensure that you are using an administrative shell - you can also install as a non-admin, check out Non-Administrative Installation.
    2. Copy the text specific to your command shell - cmd.exe or powershell.exe.
    3. Paste the copied text into your shell and press Enter.
    4. Wait a few seconds for the command to complete.
    5. If you don't see any errors, you are ready to use Chocolatey! Type choco or choco -? now, or see Getting Started for usage instructions.

    Install with cmd.exe

    @"%SystemRoot%System32WindowsPowerShellv1.0powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%chocolateyin"

    Install with PowerShell.exe

    Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

    https://chocolatey.org/install#install-with-cmdexe

  • 相关阅读:
    结对
    汉堡 结对2.0
    《构建之法》第四章读后感
    复利计算单元测试
    实验一 命令解释程序的编写
    《构建之法》读后感
    复利计算 2.0
    了解和熟悉操作系统
    学习进度条
    perl的贪婪和非贪婪模式
  • 原文地址:https://www.cnblogs.com/coxiseed/p/10491121.html
Copyright © 2011-2022 走看看