• 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

  • 相关阅读:
    ubuntu后台运行命令
    jquery获取焦点位于的元素
    thymeleaf 处理模板为字符串
    以字符串形式获取excel单元格中的内容
    ajax 上传文件
    springboot logback
    javaService
    Assistant For Chess Cards
    E生活
    易兼职-找工作兼职平台
  • 原文地址:https://www.cnblogs.com/coxiseed/p/10491121.html
Copyright © 2020-2023  润新知