Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@yadex205
Last active October 17, 2020 03:25
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 yadex205/4393b11cdecbbce90a74aabf13d55f13 to your computer and use it in GitHub Desktop.
Save yadex205/4393b11cdecbbce90a74aabf13d55f13 to your computer and use it in GitHub Desktop.
Windows 10 環境構築メモ

Configure Environment Variables

  • Add HOME

Setup Windows Terminal

  1. Get Windows Terminal from https://aka.ms/terminal and install it.
  2. Get Powershell Core 7 from https://docs.microsoft.com/ja-jp/powershell/scripting/install/installing-powershell-core-on-windows and install it.
  3. Get FiraCode fonts from https://github.com/tonsky/FiraCode and install it.
  4. Configure Windows Terminal to...
    • Use Powershell Core 7 as default shell
    • Use FiraCode fonts
  5. Install PSReadLine by Install-Module -Name PSReadLine -AllowPrerelease -Force
  6. Run notepad $PROFILE and paste below
    if ($host.Name -eq 'ConsoleHost') {
      Import-Module PSReadLine
      
      Set-PSReadlineOption -EditMode Emacs
    }
    

Setup Chocolatey

  1. Run Windows Terminal as Administrator
  2. Follow official guide https://chocolatey.org/install and install Chocolatey.

Install Softwares via Chocolatey

Git

choco install git.install --params "/GitOnlyOnPath /WindowsTerminal /NoShellIntegration /NoGuiHereIntegration /NoShellHereIntegration /noGitLfs /SChannel /NoAutoCrlf"

Emacs

  1. Install emacs by choco install emacs
  2. Clone emacs.d from https://github.com/yadex205/proximacs.git

jq

choco install jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment