ue/book/pwsh/README.md
2025-03-22 07:14:23 +09:00

1.6 KiB

powershell

pwshことpowershellを使った開発の紹介します。cmdを使ってもいいですが、基本的にはterminal(ターミナル)でcommand(コマンド)を実行します。

まず、Win+Rでpwshを起動します。

winget

package managerのwingetを入れてください。

commandはwinget install xxxです。 .previewを外すと古いverがinstallされます。

$ winget install git.git
title url command(id)
terminal https://github.com/microsoft/terminal microsoft.windowsterminal.preview
pwsh https://github.com/powershell/powershell microsoft.powershell.preview
openssh https://github.com/powershell/win32-openssh microsoft.openssh.preview
wsl https://github.com/microsoft/wsl microsoft.wsl
vscode https://github.com/microsoft/vscode microsoft.visualstudiocode
vim https://github.com/vim/vim-win32-installer vim.vim
git https://github.com/git/git git.git
lazygit https://github.com/jesseduffield/lazygit jesseduffield.lazygit

その他

title command(id)
cuda nvidia.cuda
epicgames launcher epicgames.epicgameslauncher
blender blenderfoundation.blender
discord discord.discord
unity unity.unity
unity hub unity.unityhub
godot godot.godot

update

$ winget source update
$ winget upgrade
---
$ winget upgrade --all

choco, scoop

昔はwingetよりもchocoscoopを使っていました。