wingetãWindows Server 2022ã«ã¤ã³ã¹ãã¼ã«ãããã¨ãããããã¾ããããªãã
Â
shigeo-t.hatenablog.com
åç
§ãããã¡ãã®Windows Terminalããã£ã¦ã¿ãã
dev.classmethod.jp
ãã¯ãã¨ã©ã¼ã«ãªããä½ããéãã®ãããããªãã
Â
ããã§ã²ã¨ã¾ãwingetã¯ç½®ãã¨ãã¦scoopã使ã£ã¦ã¿ããã¨ã«ã
qiita.com
Â
PS C:\Users\Administrator> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
PS C:\Users\Administrator> iwr -useb get.scoop.sh | iex
Initializing...
Running the installer as administrator is disabled by default, see https://github.com/ScoopInstaller/Install#for-admin for details.
Â
ã¨ã©ã¼ã«ãªãããhttps://github.com/ScoopInstaller/Install#for-admin for details.ãã¨è¨ã£ã¦ããã®ã§è¦ã¦ã¿ãã
github.com
For Admin
Installation under the administrator console has been disabled by default for security considerations. If you know what you are doing and want to install Scoop as administrator. Please download the installer and manually execute it with the -RunAsAdmin parameter in an elevated console. Here is the example:
Â
管çè
PowerShellã§ã¯ã³ãã³ããéããããããiex "& {$(irm get.scoop.sh)} -RunAsAdmin"ãã«ãã¦ã¿ãã
PS C:\Users\Administrator> iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
Initializing...
Downloading...
Extracting...
詳細: 対象 "ä½æå
: C:\Users\Administrator\scoop\apps\scoop\current\_tmp" ã«å¯¾ãã¦æä½ "ãã£ã¬ã¯ããªã®ä½æ"
ãå®è¡ãã¦ãã¾ãã
詳細: 対象 "ä½æå
: C:\Users\Administrator\scoop\buckets\main\_tmp" ã«å¯¾ãã¦æä½ "ãã£ã¬ã¯ããªã®ä½æ"
ãå®è¡ãã¦ãã¾ãã
Creating shim...
Adding ~\scoop\shims to your path.
Scoop was installed successfully!
Type 'scoop help' for instructions.
ä»åº¦ã¯ãã¾ããã£ãã
Â
使ã£ã¦ã¿ãã
PS C:\Users\Administrator> scoop
Usage: scoop <command> [<args>]
Some useful commands are:
alias Manage scoop aliases
bucket Manage Scoop buckets
cache Show or clear the download cache
cat Show content of specified manifest. If available, `bat` will be used to pretty-print the JSON.
checkup Check for potential problems
cleanup Cleanup apps by removing old versions
config Get or set configuration values
create Create a custom app manifest
depends List dependencies for an app
download Download apps in the cache folder and verify hashes
export Exports (an importable) list of installed apps
help Show help for a command
hold Hold an app to disable updates
home Opens the app homepage
info Display information about an app
install Install apps
list List installed apps
prefix Returns the path to the specified app
reset Reset an app to resolve conflicts
search Search available apps
shim Manipulate Scoop shims
status Show status and check for new app versions
unhold Unhold an app to enable updates
uninstall Uninstall an app
update Update apps, or Scoop itself
virustotal Look for app's hash on virustotal.com
which Locate a shim/executable (similar to 'which' on Linux)
Type 'scoop help <command>' to get help for a specific command.
åããã
Â
gitãå
¥ãã¦ã¿ãã
PS C:\Users\Administrator> scoop install git
Installing '7zip' (21.07) [64bit]
7z2107-x64.msi (1.8 MB) [=====================================================================================] 100%
Checking hash of 7z2107-x64.msi ... ok.
Extracting 7z2107-x64.msi ... done.
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\21.07
Creating shim for '7z'.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
Running post-install script...
'7zip' (21.07) was installed successfully!
Notes
-----
Add 7-Zip as a context menu option by running: "C:\Users\Administrator\scoop\apps\7zip\current\install-context.reg"
Installing 'git' (2.36.1.windows.1) [64bit]
PortableGit-2.36.1-64-bit.7z.exe (43.5 MB) [==================================================================] 100%
Checking hash of PortableGit-2.36.1-64-bit.7z.exe ... ok.
Extracting dl.7z ... done.
Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.36.1.windows.1
Creating shim for 'git'.
Creating shim for 'gitk'.
Creating shim for 'git-gui'.
Creating shim for 'tig'.
Creating shim for 'git-bash'.
Creating shortcut for Git Bash (git-bash.exe)
Creating shortcut for Git GUI (git-gui.exe)
'git' (2.36.1.windows.1) was installed successfully!
Notes
-----
Set Git Credential Manager Core by running: "git config --global credential.helper manager-core"
åé¡ç¡ãããã
Â
ã¨ãããã¨ã§æ¬¡ã¯Windows Terminalãscoopã§ã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã