差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
windows:scoop [2020/05/14 18:15] – [グローバルインストール [--global] オプション] ともやん | windows:scoop [2020/05/30 22:30] – [Scoop アプリのインストール] ともやん | ||
---|---|---|---|
行 56: | 行 56: | ||
</ | </ | ||
</ | </ | ||
+ | または、別名の短いコマンドは以下の通り\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
+ | $ iwr -useb get.scoop.sh | iex | ||
+ | </ | ||
+ | </ | ||
+ | |||
<WRAP prewrap 100% #result> | <WRAP prewrap 100% #result> | ||
<code powershell> | <code powershell> | ||
行 555: | 行 562: | ||
</ | </ | ||
- | ==== グローバルインストール [--global] オプション ==== | + | ==== グローバルインストール [-g, --global] オプション ==== |
- | **C: | + | デフォルトでは |
パスに **PATH=C: | パスに **PATH=C: | ||
<code powershell> | <code powershell> | ||
- | $ scoop install | + | $ scoop install --global |
</ | </ | ||
<WRAP prewrap 100% #result> | <WRAP prewrap 100% #result> | ||
行 586: | 行 593: | ||
Running post-install script... | Running post-install script... | ||
' | ' | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <code powershell> | ||
+ | $ scoop list | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | <code powershell> | ||
+ | Installed apps: | ||
+ | |||
+ | 7zip 19.00 *global* | ||
+ | git 2.26.2.windows.1 *global* | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | === sudo コマンドをグローバルインストール === | ||
+ | <code powershell> | ||
+ | $ scoop install sudo --global | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | <code powershell> | ||
+ | Updating Scoop... | ||
+ | Updating ' | ||
+ | Checking repo... ok | ||
+ | The main bucket was added successfully. | ||
+ | Scoop was updated successfully! | ||
+ | Installing ' | ||
+ | sudo.ps1 (2.2 KB) [===========================================================================================] 100% | ||
+ | Checking hash of sudo.ps1 ... ok. | ||
+ | Linking C: | ||
+ | Creating shim for ' | ||
+ | ' | ||
+ | PS C: | ||
+ | Installed apps: | ||
+ | |||
+ | 7zip 19.00 *global* | ||
+ | git 2.26.2.windows.1 *global* | ||
+ | sudo 0.2020.01.26 *global* | ||
</ | </ | ||
</ | </ | ||
行 599: | 行 644: | ||
7zip 19.00 *global* | 7zip 19.00 *global* | ||
git 2.26.2.windows.1 *global* | git 2.26.2.windows.1 *global* | ||
+ | sudo 0.2020.01.26 *global* | ||
</ | </ | ||
</ | </ | ||
- | 管理者として実行されていない場合は...\\ | + | === 管理者として実行されていない場合... |
<code powershell> | <code powershell> | ||
$ scoop install git --global | $ scoop install git --global | ||
行 722: | 行 768: | ||
[[windows: | [[windows: | ||
[[windows: | [[windows: | ||
+ | [[python: | ||
==== scoop gui ==== | ==== scoop gui ==== | ||
行 1045: | 行 1092: | ||
Checking repo... ok | Checking repo... ok | ||
The extras bucket was added successfully. | The extras bucket was added successfully. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Scoop のアンインストール ===== | ||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
+ | $ scoop uninstall scoop | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | <code powershell> | ||
+ | WARN This will uninstall Scoop and all the programs that have been installed with Scoop! | ||
+ | Are you sure? (yN): y | ||
+ | Removing ~\scoop\shims from your path. | ||
+ | Scoop has been uninstalled. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
+ | $ del ~\scoop -Force | ||
</ | </ | ||
</ | </ |