1
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?

Gemini CLI を使おう!

Last updated at Posted at 2025-07-03

はじめに

先日(2025年6月25日)に発表されたGemini CLIとやらを利用してみたので、布教も兼ねてインストール方法を以下に記します。(2025/07/03記)
Windows、Linuxで動作確認済み (Mac OSでも恐らく動きます)

筆者の環境

Windows11
node v18.7.0
npm 8.15.0
Linux (wsl)
node v22.16.0
npm 10.9.2

<前提条件>

node v18以上が入っていること

確認方法はターミナルで

$ node -v

と入力して以下のように18以上のバージョンが帰ってくればOK

v22.16.0

もし入ってなかったら、OSにあわせて以下の記事等を参考にインストールしてください

Windows

Mac

Linux

Gemini CLIのインストール

以下のコマンドを叩いてください(少し時間がかかります)

$ npm install -g @google/gemini-cli

以降は、以下のコマンドでいつでもGeminiを呼び出せます

$ gemini

以下のような画面が表示されれば成功です。お疲れ様でした。
image.png

おわりに

今回はGemini CLIのインストール方法を簡易的に記しました。
詳細な仕様や、機能などは調べてみてください
おすすめの記事を2つほど貼っておきます

いいGeminiライフを

1
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
1
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?