Upgrade to Pro — share decks privately, control downloads, hide ads and more …

コーディング・エージェントを動かす (macOS Lima 編) / Running Codi...

コーディング・エージェントを動かす (macOS Lima 編) / Running Coding Agent (macOS Lima Edition)

早稲田大学大学院経営管理研究科「プロンプトエンジニアリング ─ 生成 AI の応用」2026春のオンデマンド教材 第4回で使用したスライドです。

Avatar for Kenji Saito

Kenji Saito PRO

April 11, 2026

More Decks by Kenji Saito

Other Decks in Technology

Transcript

  1. Generated by Stable Image Core × Nano Banana 2 —

    AI 2026 4 (macOS Lima ) (WBS : ) 2026 4 (macOS Lima ) — 2026-04 – p.1/21
  2. ( 20 ) 1 • 2 • 3 (Windows WSL

    ) • 4 (macOS Lima ) • 5 (macOS ) 6 7 8 9 RPG 10 “September 12th” 11 12 13 ∼ 14 AGI (Artificial General Intelligence) 7 (4/27 ) / (2 ) OK / 2026 4 (macOS Lima ) — 2026-04 – p.3/21
  3. AI (A ) AI ( ) 2026 4 (macOS Lima

    ) — 2026-04 – p.4/21
  4. macOS Homebrew ( ) lima (Linux ) loglm ( AI

    ) GAMER PAT CLI ( as a ) ( ) npm (Javascript ) Codex / Claude Code / Gemini CLI ( ) TeX Live ( ) ( ) Skim (PDF ) ⇒ AI ChatGPT, Claude, Gemini 2026 4 (macOS Lima ) — 2026-04 – p.5/21
  5. Linux UNIX (OS) ( ) Google OS android chromeOS Linux

    Linux Linux ( ) Ubuntu 24.04 LTS LTS : Long-Term Support ( ) Linux 2026 4 (macOS Lima ) — 2026-04 – p.6/21
  6. macOS Lima macOS Tahoe 26.3.1/26.4 Apple (M1 ) (‘%’ )

    % xcode-select --install 2026 4 (macOS Lima ) — 2026-04 – p.8/21
  7. Homebrew Homebrew (Apple macOS ) UNIX macOS Lima Homebrew brew

    Apple brew ( ) brew https://github.com/Homebrew/brew/releases pkg Path (brew ) “.zshrc” ( ) eval "$(/opt/homebrew/bin/brew shellenv)" 2026 4 (macOS Lima ) — 2026-04 – p.9/21
  8. Lima (Linux Machines) Lima macOS Linux ( ) https://github.com/lima-vm/lima Linux

    machine brew % brew install lima ( ) cd & RETURN/ENTER % cd < > cd change directory 2026 4 (macOS Lima ) — 2026-04 – p.10/21
  9. Ubuntu 24.04 (ARM64) “arm.yaml” mounts: mounts: - location: "~" -

    location: "/tmp/lima" writable: true - location: "< >" writable: true arch: aarch64 % limactl start arm.yaml 2026 4 (macOS Lima ) — 2026-04 – p.11/21
  10. Lima Linux (Ubuntu) aarch64 % limactl list Linux (exit )

    % limactl shell arm Linux limactl list STATUS Stopped limactl start arm “.lima” diffdisk 100GB 2026 4 (macOS Lima ) — 2026-04 – p.12/21
  11. Ubuntu ( ) (‘$’ ) $ cd < > Python

    $ python3 -V Python 3.12.3 ( ) R AI ( ) 2026 4 (macOS Lima ) — 2026-04 – p.13/21
  12. loglm ( AI ) https://github.com/ks91/loglm loglm --new ( ) 2026

    4 (macOS Lima ) — 2026-04 – p.14/21
  13. loglm https://github.com/ks91/loglm ↑ Install $ curl -fsSL https://raw.githubusercontent.com/ks91/loglm/main/install.sh | bash

    ( OS ) $ exec $SHELL -l loglm ChatGPT Codex Claude Claude Code Gemini Gemini CLI AI ( ) 2026 4 (macOS Lima ) — 2026-04 – p.15/21
  14. ChatGPT Codex, Claude Code, Gemini CLI AI lima AI ChatGPT

    ChatGPT ( ) Codex ON 2026 4 (macOS Lima ) — 2026-04 – p.16/21
  15. GAMER PAT CLI ( as a ) AI 2026 4

    (macOS Lima ) — 2026-04 – p.17/21
  16. GAMER PAT CLI ( ) $ mkdir < > #

    make directory $ cd < > # change directory $ loglm agent install ks91/gamer-pat GAMER PAT 1 : codex 2 : claude 3 : gemini y npm y $ exec $SHELL -l 2026 4 (macOS Lima ) — 2026-04 – p.18/21
  17. loglm $ loglm AI URL ( ) 1 GAMER PAT

    ( mkdir ) cd $ loglm $ loglm --agent 2026 4 (macOS Lima ) — 2026-04 – p.19/21
  18. GAMER PAT (‘>’ ) > sudo lima Skim (PDF )

    macOS PAT 2026 4 (macOS Lima ) — 2026-04 – p.20/21
  19. L A TEX PDF L A TEX PDF Skim (macOS

    ) Skim → 2026 4 (macOS Lima ) — 2026-04 – p.21/21