Skip to content

Instantly share code, notes, and snippets.

@kakkun61
Created November 16, 2021 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakkun61/862214bde4bc6caef57335363fc19c81 to your computer and use it in GitHub Desktop.
Save kakkun61/862214bde4bc6caef57335363fc19c81 to your computer and use it in GitHub Desktop.
Windows セットアップ メモ

エクスプローラー

「最近使ったファイルをクイックアクセスに表示する」「よく使うフォルダーをクイックアクセスに表示する」を無効にする。

image

Chocolatey

https://chocolatey.org/

Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install `
    7zip `
    discord `
    fonts-ricty-diminished `
    git `
    googlechrome `
    keepass `
    make `
    msys2 `
    powershell-core `
    powertoys `
    powertoys `
    python `
    slack `
    vscode

Microsoft C++ Build Tools

https://visualstudio.microsoft.com/ja/visual-cpp-build-tools/

「Visual Studio Build Tools 2019」の「MSVC v142 - VS 2019 C++ x64/x86 ビルド ツール」をインストールする。

Python

pip install thefuck

PowerShell

管理者権限で実行する。

Install-Module `
    Posh-Git `
    posh-sshell `
    PSBookmark `
    psake `
    ghcman `
    path-switcher `
    code-page

環境変数

Path

%APPDATA%\Python\Python310\Scripts
%ProgramFiles%\Microsoft VS Code
%LOCALAPPDATA%\Microsoft\WindowsApps
%APPDATA%\ghcman\cabal-3.4.0.0
%APPDATA%\ghcman\ghc-8.10.6\bin
%APPDATA%\cabal\bin
%ProgramFiles%\AdoptOpenJDK\jre-16.0.1.9-hotspot\bin
%APPDATA%\npm
%USERPROFILE%\.dotnet\tools
%LOCALAPPDATA%\GitHubDesktop\bin
%USERPROFILE%\go\bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment