Closed6

Windows 11 を手に入れたらやること

OpenJNYOpenJNY

Windows Update

App Installer

winget を使うのに必要っぽいので、Microsoft Store からインストールあるいは更新を実行

OpenJNYOpenJNY

winget

winget install Microsoft.PowerToys
winget install Microsoft.WindowsTerminal
winget install Microsoft.VisualStudioCode
winget install Microsoft.PowerShell
winget install Google.Chrome
winget install Docker.DockerDesktop
winget install Postman.Postman
winget install Python.Python.3
winget install Audacity.Audacity
winget install LINE.LINE

scoop

Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iwr -useb get.scoop.sh | iex
scoop install 7zip git
git config --global core.autocrlf input
git config --global user.name "openjny"
git config --global user.email "openjny@gmail.com"
scoop bucket add extras
OpenJNYOpenJNY

GitHub

scoop install gh
gh auth login

# ? What account do you want to log into? GitHub.com
# ? What is your preferred protocol for Git operations? SSH
# ? Generate a new SSH key to add to your GitHub account? Yes
# ? Enter a passphrase for your new SSH key (Optional) <Phrase>
# ? Title for your SSH key: GitHub CLI <Title>
# ? How would you like to authenticate GitHub CLI? Login with a web browser
#
# ✓ Authentication complete.
# - gh config set -h github.com git_protocol ssh
# ✓ Configured git protocol
# ✓ Uploaded the SSH key to your GitHub account: C:\Users\USER\.ssh\id_ed25519.pub
# ✓ Logged in as OpenJNY

@"
Host github.com
    HostName github.com
    IdentityFile $HOME\.ssh\id_ed25519
    User git
"@ | Out-File "$HOME\.ssh\config" -Encoding utf8
OpenJNYOpenJNY

wsl

wsl --install
winget install Canonical.Ubuntu.2204
winget install Docker.DockerDesktop

# run Ubuntu 22.04 from windows menu

wsl -s Ubuntu-22.04
OpenJNYOpenJNY

PowerShell

# profile
cd $HOME\Documents
git clone git@github.com:OpenJNY/powershell-profile.git PowerShell
sudo .\PowerShell\setup.ps1

# fonts
scoop bucket add nerd-fonts
scoop install sudo
sudo scoop install Cascadia-Code CascadiaCode-NF-Mono CascadiaCode-NF FiraCode FiraCode-NF FiraCode-NF-Mono FiraCode-Script Ubuntu-NF-Mono Ubuntu-NF UbuntuMono-NF-Mono UbuntuMono-NF
このスクラップは2022/08/30にクローズされました