zoukankan      html  css  js  c++  java
  • choco winget-cli

    https://github.com/microsoft/winget-cli

    Chocolatey Install:

    First, ensure that you are using an administrative shell -
    you can also install as a non-admin, check out Non-Administrative Installation.

    Install with powershell.exe

    NOTE: Please inspect https://chocolatey.org/install.ps1 prior to running any of
    these scripts to ensure safety. We already know it's safe, but you should verify
    the security and contents of any script from the internet you are not familiar with.
    All of these scripts download a remote PowerShell script and execute it on your machine.
    We take security very seriously. Learn more about our security protocols.

    With PowerShell, you must ensure Get-ExecutionPolicy is not Restricted.
    We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security.
    Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or
    Set-ExecutionPolicy Bypass -Scope Process.

    Now run the following command:

    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    

    Paste the copied text into your shell and press Enter.
    Wait a few seconds for the command to complete.
    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.

    https://chocolatey.org/install

    choco search <keyword>
    choco list <keyword>
    choco install <package1 package2 package3...> 
    choco install <package>  -version ***
    choco  uninstall name
    choco version <package>
    choco  upgrade <package>
    choco list -localonly  
    choco list -lo
    
    choco install python
    choco install nodejs
    choco install lua
    choco install mingw
    choco install vim
    choco install fzf
    choco install jdk8
    
  • 相关阅读:
    [2020多校联考]甲虫
    .eww
    MinGW安装c-c++
    .竖梁上的两个孔最小距离可以是多少呢?PS15D
    .dwg(sw)-exb
    开始学emacs-1
    看jpg和png图片
    .系列化参数关系
    2015计划
    大蚂蚁在64位系统下,右键没有快发的解决方案
  • 原文地址:https://www.cnblogs.com/Searchor/p/13600923.html
Copyright © 2011-2022 走看看