Skip to content

Instantly share code, notes, and snippets.

@831jsh
Forked from lesstif/winget-package-install.ps1
Created November 3, 2023 02:32
Show Gist options
  • Save 831jsh/b6cc30bd68aed6cec0fd6bc581a7ed4e to your computer and use it in GitHub Desktop.
Save 831jsh/b6cc30bd68aed6cec0fd6bc581a7ed4e to your computer and use it in GitHub Desktop.

Revisions

  1. @lesstif lesstif revised this gist Apr 6, 2021. 1 changed file with 13 additions and 2 deletions.
    15 changes: 13 additions & 2 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -32,7 +32,7 @@ Write-Host "install devel tools"

    $devs="JetBrains.Toolbox", "JetBrains.WebStorm", "JetBrains.PHPStorm", "JetBrains.IntelliJIDEA.Ultimate","JetBrains.IntelliJIDEA.Community", "JetBrains.DataGrip"
    $devs = $devs + "vim.vim", "Microsoft.VisualStudioCode-User-x64", "Notepad++.Notepad++"
    $devs = $devs + "heidisql", "Notion"
    $devs = $devs + "Notion"

    foreach($item in $devs)
    {
    @@ -47,4 +47,15 @@ $devs="slack", "TelegramDesktop"
    foreach($item in $devs)
    {
    winget install $item
    }
    }

    ## DB
    Write-Host "install dbms & tools"

    $devs="MariaDB.Server", "heidisql"

    foreach($item in $devs)
    {
    winget install $item
    }

  2. @lesstif lesstif revised this gist Mar 26, 2021. 1 changed file with 17 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,21 @@
    ## copy from https://gist.github.com/cdekkerpossibilit/d023602c29fdf039c7eabadf64f708e9
    function Confirm-Choice {
    param (
    [string]$Message
    )
    $yes = new-Object System.Management.Automation.Host.ChoiceDescription "&Yes","Yes";
    $no = new-Object System.Management.Automation.Host.ChoiceDescription "&No","No";
    $choices = [System.Management.Automation.Host.ChoiceDescription[]]($yes, $no);
    $answer = $host.ui.PromptForChoice("", $message, $choices, 1)

    switch ($answer){
    0 {return $true; break}
    1 {return $false; break}
    }
    }

    ## utility
    if (Confirm-Choice -Message "Install connectivity tools (Edge Chromium, 7-Zip, Windows Terminal)>") {
    Write-Host "install utilities"

    $tools="putty", "snaketail", "GnuWin32.Zip", "GnuWin32.Wget", "GnuWin32.Grep"
    @@ -9,6 +25,7 @@ foreach($item in $tools)
    {
    winget install $item
    }
    }

    ## dev tools
    Write-Host "install devel tools"
  3. @lesstif lesstif revised this gist Mar 19, 2021. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -26,8 +26,6 @@ foreach($item in $devs)
    Write-Host "install messanger tools"

    $devs="slack", "TelegramDesktop"
    $devs = $devs + "vim.vim", "Microsoft.VisualStudioCode-User-x64", "Notepad++.Notepad++"
    $devs = $devs + "heidisql"

    foreach($item in $devs)
    {
  4. @lesstif lesstif revised this gist Mar 19, 2021. 1 changed file with 13 additions and 1 deletion.
    14 changes: 13 additions & 1 deletion winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -15,9 +15,21 @@ Write-Host "install devel tools"

    $devs="JetBrains.Toolbox", "JetBrains.WebStorm", "JetBrains.PHPStorm", "JetBrains.IntelliJIDEA.Ultimate","JetBrains.IntelliJIDEA.Community", "JetBrains.DataGrip"
    $devs = $devs + "vim.vim", "Microsoft.VisualStudioCode-User-x64", "Notepad++.Notepad++"
    $devs = $devs + "heidisql"
    $devs = $devs + "heidisql", "Notion"

    foreach($item in $devs)
    {
    winget install $item
    }

    ## Messanger
    Write-Host "install messanger tools"

    $devs="slack", "TelegramDesktop"
    $devs = $devs + "vim.vim", "Microsoft.VisualStudioCode-User-x64", "Notepad++.Notepad++"
    $devs = $devs + "heidisql"

    foreach($item in $devs)
    {
    winget install $item
    }
  5. @lesstif lesstif revised this gist Mar 17, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ Write-Host "install devel tools"

    $devs="JetBrains.Toolbox", "JetBrains.WebStorm", "JetBrains.PHPStorm", "JetBrains.IntelliJIDEA.Ultimate","JetBrains.IntelliJIDEA.Community", "JetBrains.DataGrip"
    $devs = $devs + "vim.vim", "Microsoft.VisualStudioCode-User-x64", "Notepad++.Notepad++"
    $devs = $devs + "heidisql"

    foreach($item in $devs)
    {
  6. @lesstif lesstif revised this gist Mar 9, 2021. 1 changed file with 21 additions and 4 deletions.
    25 changes: 21 additions & 4 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,22 @@
    #
    winget install putty
    winget install snaketail

    GnuWin32.Zip GnuWin32.Wget GnuWin32.Grep
    ## utility
    Write-Host "install utilities"

    $tools="putty", "snaketail", "GnuWin32.Zip", "GnuWin32.Wget", "GnuWin32.Grep"
    $tools = $tools + "OpenSSL Light"

    foreach($item in $tools)
    {
    winget install $item
    }

    ## dev tools
    Write-Host "install devel tools"

    $devs="JetBrains.Toolbox", "JetBrains.WebStorm", "JetBrains.PHPStorm", "JetBrains.IntelliJIDEA.Ultimate","JetBrains.IntelliJIDEA.Community", "JetBrains.DataGrip"
    $devs = $devs + "vim.vim", "Microsoft.VisualStudioCode-User-x64", "Notepad++.Notepad++"

    foreach($item in $devs)
    {
    winget install $item
    }
  7. @lesstif lesstif revised this gist Mar 8, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    #
    winget install putty
    winget install snaketail
    winget install snaketail

    GnuWin32.Zip GnuWin32.Wget GnuWin32.Grep
  8. @lesstif lesstif revised this gist Mar 8, 2021. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@

    winget install putty
    #
    winget install putty
    winget install snaketail
  9. @lesstif lesstif created this gist Mar 7, 2021.
    2 changes: 2 additions & 0 deletions winget-package-install.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@

    winget install putty