zoukankan      html  css  js  c++  java
  • chocolatey

    https://chocolatey.org
    
    ## Install Chocolatey
    CMD (Recommand):
    @"%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"
    POWERSHELL:
    Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    
    ## Install Software
    set http_proxy=http://10.192.124.220:80
    set https_proxy=http://10.192.124.220:80
    set no_proxy=127.0.0.1,::1,localhost
    
    choco install -y notepad2-mod 7zip GoogleChrome git gpg4win pandoc putty typora wkhtmltopdf vscode
    choco install -y sqlite sqlitebrowser cmder firefox nodejs sourcetree heidisql
    choco install -y axel jq telnet caffeine sudo
    choco install -y keepass Everything listary IrfanView irfanviewplugins mpv youtube-dl foobar2000 sumatrapdf 
    choco install -y cpu-z hashmyfiles procexp autohotkey
    choco install -y --ignore-checksums autoruns
    choco install -y google-pinyin ilspy intellijidea-community slack
    choco pin add -n=intellijidea-community
    (choco pin add -n=git --version 1.2.3)
    
    choco install -y golang
    choco pin add -n=golang
    (choco pin remove --name golang)
    
    (--force argument to force reinstall, don't use it on choco upgrade command)
    choco install -y --force notepad2-mod
    
    ## Need Update Software List
    choco outdated
    
    ## Update Software
    choco upgrade all
    choco upgrade chocolatey
    
    No Update Some Software When Upgrade:
    choco pin notepad2-mod
    
    ## List Installed Software
    choco list --local-only
    
    List Installed Software (Include Non-Chocolatey-Install) 
    choco list -li
    choco list -lai
    
    ## Uninstall Software
    choco uninstall sourcetree
    
    ## Search Software
    choco search docker-desktop
    choco search > 1.txt
    
    ## View Software Information
    choco info desktop-desktop
    
    ## Temp Path
    %temp%chocolatey
  • 相关阅读:
    【python】变量定义及全局局部变量
    【python】重要的内置函数
    【python】迭代器iterator
    Java序列化与反序列化
    java中的IO操作总结
    Java中List Set Map 是否有序等总结
    java.lang.Class.getDeclaredMethod()方法详解
    一个servlet处理多个请求(使用Method的反射机制)
    java类的访问权限
    java中的基本数据类型存放位置
  • 原文地址:https://www.cnblogs.com/Bob-wei/p/10372310.html
Copyright © 2011-2022 走看看