0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Scoopを使ってGowをインストールする

Last updated at Posted at 2025-05-11

はじめに

WindowsのPowerShellでUnix系のコマンドを使用する必要があったため、ScoopでGowをインストールしました。

Scoopとは

Windows用のコマンドラインパッケージマネージャーです。コマンドでソフトウェアをインストール、アンインストール、アップデート、依存関係を整えるができるツールです。
従来はソフトウェアを使う際にサイトからダウンロード、インストーラーの実行など手間がありましたが、それが解消されます。

Scoopのインストール方法

PowerShellを開き以下を実行します。※管理者権限では実行できません。

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex

※カスタムしたい場合は- ScoopInstaller github README を参考にしてください。

Gowのインストール方法

Gow(GNU on Windows)はUnix系のコマンドをWindowsで使えるようにするツールセットです。先程インストールしたScoopを使ってインストールします。
PowerShellで以下を実行します。

# Gowのバージョンを確認
scoop search gow
# Gowをインストール
scoop install gow

これでUnix系のコマンドをインストールすることができました!

参考

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?