Windows 初期設定
Microsoft アカウント
login
Neovim のインストール
code:sh
winget install Neovim.Neovim
WSLのインストール
code:sh
wsl --install
再起動して設定反映 + Ubuntu のインストールが走る
(必要あれば) メモリ管理の調整 (powershellで実行)
code:~/.wslconfig
wsl2
memory=xGB
swap=xGB
processors=x
setup GitHub ssh (powershell で実行)
code:sh
Start-Process powershell -Verb RunAs
# 管理者権限の PowerShell で実行
Get-Service ssh-agent | Set-Service -StartupType Automatic
Start-Service ssh-agent
Get-Service ssh-agent # Running になればOK
mkdir .ssh
ssh-keygen -t ed25519
notepad .ssh/config でエディタが開く
code:.ssh/config
Host github.com
HostName github.com
User git
IdentityFile <file>
ssh-add <file>
GitHub にSSH鍵を登録
ssh -vT github.com
WSLで実行
eval "$(ssh-agent -s)"
一時的に起動
mkdir .ssh 以降の手順を再度行う
dotfiles の init を実行
code:sh
bash <(curl -fsSL -H 'Accept: application/vnd.github.raw' https://api.github.com/repos/ebkn/dotfiles/contents/bin/init/bootstrap-wsl.sh)
各種アプリのインストール
code:sh
powershell.exe -ExecutionPolicy Bypass -File ~/dotfiles/bin/init/windows.ps1
GitHub gpg signing 設定
Google Driveに置いているフォントのインストール