Skip to content

Instantly share code, notes, and snippets.

@nightscape
Created May 21, 2024 15:15
Show Gist options
  • Select an option

  • Save nightscape/2ff2dd7059b894ba3ee4058ffc7fd6e3 to your computer and use it in GitHub Desktop.

Select an option

Save nightscape/2ff2dd7059b894ba3ee4058ffc7fd6e3 to your computer and use it in GitHub Desktop.

Revisions

  1. nightscape created this gist May 21, 2024.
    41 changes: 41 additions & 0 deletions windows-setup.pwsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    # Start Windows PowerShell
    # Install the Open Source package manager Scoop (https://scoop.sh/):
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

    # Set up company proxy (if required)
    scoop config proxy proxy.mycompany.com:8080

    # Install base requisites
    scoop install git
    scoop bucket add extras
    scoop bucket add versions
    scoop bucket add java

    # Install Ditto Clipboard Manager, which puts all your copied stuff into a searchable list
    scoop install ditto
    # After installation
    # 1. Launch Ditto from the Windows menu
    # 2. Click on "...", then "Options"
    # 3. set "Maximum Number of Saved Copies" to 10000
    # 4. Enable "Start Ditto on System Startup"
    # 5. Go to the tab "Keyboard Shortcuts" and memorize the shortcut
    # 6. Copy a few things into the clipboard
    # 7. Press the shortcut
    # 8. Type some letters of one of the copied lines and see the search filter down the results
    # 9. Selecting an item and pressing enter puts the item into the "normal" clipboard and presses "Ctrl+V" which should usually insert the item

    # Install sudo command which allows you to run a single command from the command-line as admin
    scoop install sudo

    # Install VS Code, currently the best allround editor
    scoop install vscode

    # Install WinDirStat, a program to analyze your disk usage
    scoop install windirstat

    # Install Process-Hacker, a better Task Manager, that can e.g. also find out which process is locking a file
    scoop install processhacker

    # Install GPTScript, which allows writing scripts in plain english and have GPT transform them into bash/powershell/...
    scoop install gptscript