0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows用コマンドラインインストーラのScoopを使う

Last updated at Posted at 2019-11-13

scoopは、homebrewとかapt的な位置づけ、Windows用のパッケージマネージャです。公式にはcommand line installerと書いてあります。

scoopのインストール

powershellで以下コマンドを打つだけ。

iwr -useb get.scoop.sh | iex

Scoop was installed successfully!

と表示されたらOKです。

もしエラーが出た場合は、以下を実行してからリトライになるそうです。

Set-ExecutionPolicy RemoteSigned -scope CurrentUser

なお、インストールにはPowershell必須ですが、インストールが済めばcmdでもscoopが使えます。

scoopの簡単な使い方

  • scoop list
    • インストール済のパッケージ一覧を表示
  • scoop install hoge
    • パッケージhogeをインストール
  • scoop uninstall hoge
    • パッケージhogeをアンインストール
  • scoop cleanup
    • インストール済のパッケージの古いバージョンを削除
  • scoop update
    • scoop自体のアップデート
  • scoop update hoge
    • パッケージhogeのアップデート

参考

0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?