uvのインストール
このドキュメントは、uv を使った環境構築〜Streamlit 実行〜提出物の作成までをまとめたものです。
Windows / macOS / Linux で動作します。必要なところだけコピペで OK。
0. 事前準備(共通)
Section titled “0. 事前準備(共通)”- 安定したネットワーク
- Git(任意・推奨)
- VS Code などのエディタ(推奨)
1. uv のインストール
Section titled “1. uv のインストール”macOS / Linux
Section titled “macOS / Linux”インストールコマンド:
curl -LsSf https://astral.sh/uv/install.sh | shWindows (PowerShell)
Section titled “Windows (PowerShell)”PowerShell を 管理者として 開きます。 インストールコマンド:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"インストール確認:
uv --versionの実行結果が表示されれば OK。
インストール直後に上記コマンドの実行結果が何も表示されない場合、TerminalやVSCode, PowerShellの再起動を行えば表示されるはず。