Windows10でパッケージ管理scoopをインストールする方法

環境
Windows 10 Home 64bit
scoop v0.2.2

操作方法
1.Windowsマークを右クリックして「Windows PowerShell(l)」をクリックします。

2.「Windows PowerShell」画面が表示されます。
コマンド「set-executionpolicy remotesigned -scope currentuser」を実行します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
PS C:\Users\arkgame> set-executionpolicy remotesigned -scope currentuser
実行ポリシーの変更
実行ポリシーは、信頼されていないスクリプトからの保護に役立ちます。実行ポリシーを変更すると、about_Execution_Policies
のヘルプ トピック (https://go.microsoft.com/fwlink/?LinkID=135170)
で説明されているセキュリティ上の危険にさらされる可能性があります。実行ポリシーを変更しますか?
[Y] はい(Y) [A] すべて続行(A) [N] いいえ(N) [L] すべて無視(L) [S] 中断(S) [?] ヘルプ (既定値は "N"): y
PS C:\Users\arkgame> set-executionpolicy remotesigned -scope currentuser 実行ポリシーの変更 実行ポリシーは、信頼されていないスクリプトからの保護に役立ちます。実行ポリシーを変更すると、about_Execution_Policies のヘルプ トピック (https://go.microsoft.com/fwlink/?LinkID=135170) で説明されているセキュリティ上の危険にさらされる可能性があります。実行ポリシーを変更しますか? [Y] はい(Y) [A] すべて続行(A) [N] いいえ(N) [L] すべて無視(L) [S] 中断(S) [?] ヘルプ (既定値は "N"): y
PS C:\Users\arkgame> set-executionpolicy remotesigned -scope currentuser

実行ポリシーの変更
実行ポリシーは、信頼されていないスクリプトからの保護に役立ちます。実行ポリシーを変更すると、about_Execution_Policies
のヘルプ トピック (https://go.microsoft.com/fwlink/?LinkID=135170)
で説明されているセキュリティ上の危険にさらされる可能性があります。実行ポリシーを変更しますか?
[Y] はい(Y)  [A] すべて続行(A)  [N] いいえ(N)  [L] すべて無視(L)  [S] 中断(S)  [?] ヘルプ (既定値は "N"): y

3.コマンド「iex (new-object net.webclient).downloadstring('https://get.scoop.sh’)」を実行します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
PS C:\Users\arkgame> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Initializing...
Downloading...
Extracting...
詳細: 対象 "作成先: C:\Users\arkgame\scoop\apps\scoop\current\_tmp" に対して操作 "ディレクトリの作成" を実行しています。
詳細: 対象 "作成先: C:\Users\arkgame\scoop\buckets\main\_tmp" に対して操作 "ディレクトリの作成" を実行しています。
Creating shim...
Adding ~\scoop\shims to your path.
Scoop was installed successfully!
Type 'scoop help' for instructions.
PS C:\Users\arkgame> iex (new-object net.webclient).downloadstring('https://get.scoop.sh') Initializing... Downloading... Extracting... 詳細: 対象 "作成先: C:\Users\arkgame\scoop\apps\scoop\current\_tmp" に対して操作 "ディレクトリの作成" を実行しています。 詳細: 対象 "作成先: C:\Users\arkgame\scoop\buckets\main\_tmp" に対して操作 "ディレクトリの作成" を実行しています。 Creating shim... Adding ~\scoop\shims to your path. Scoop was installed successfully! Type 'scoop help' for instructions.
PS C:\Users\arkgame> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Initializing...
Downloading...
Extracting...
詳細: 対象 "作成先: C:\Users\arkgame\scoop\apps\scoop\current\_tmp" に対して操作 "ディレクトリの作成" を実行しています。
詳細: 対象 "作成先: C:\Users\arkgame\scoop\buckets\main\_tmp" に対して操作 "ディレクトリの作成" を実行しています。
Creating shim...
Adding ~\scoop\shims to your path.
Scoop was installed successfully!
Type 'scoop help' for instructions.

4.ヘルプを確認します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
PS C:\Users\arkgame> scoop help
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
PS C:\Users\arkgame> scoop help 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 略
PS C:\Users\arkgame> scoop help
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
略

5.scoopバージョンを確認します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
PS C:\Users\arkgame> scoop --version
Current Scoop version:
v0.2.2 - Released at 2022-06-21
PS C:\Users\arkgame> scoop --version Current Scoop version: v0.2.2 - Released at 2022-06-21
PS C:\Users\arkgame> scoop --version
Current Scoop version:
v0.2.2 - Released at 2022-06-21

 

Windows10

Posted by arkgame