소스 정보
- 저장소
- richlander/dotnet-install
- 최근 소스 활동
- 2026년 8월 7일 18:16
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/richlander/dotnet-install --skill dotnet-install명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | dotnet-install |
| description | Build, install, list, and remove .NET tools using dotnet-install. |
Install .NET single-file executables to PATH — like cargo install
and go install. Build from source, install from NuGet,
or clone from GitHub.
Only single-file native executables (Native AOT or self-contained
single-file, i.e. CLI tools v2) are supported. For managed or multi-file
tools, use dotnet tool install with the .NET SDK.
You point at a source, you get a command on PATH. Every source —
--package, --repo, --github, --project, and bare positional
paths — installs to ~/.dotnet/bin (override with -o <dir>). With no
arguments, the current directory is the source (like dotnet publish).
A path (or no argument) looks for a project and never reads the
repo manifest. --repo builds what the repo advertises. That is
the whole difference between them.
When several projects match, naming a path opts into the interactive
picker. The bare dotnet-install never prompts — it lists the
candidates and exits non-zero, so it is safe in scripts.
# Whatever is here — a project dir, or a repo root (scans subdirectories)
dotnet-install
dotnet-install . # same, but enables the picker
dotnet-install src/my-tool
dotnet-install app.cs # file-based app
# Explicit project → global (like dotnet run --project)
dotnet-install --project src/my-tool
dotnet-install --project app.cs # file-based app
# NuGet package (no SDK required)
dotnet-install --package dotnet-inspect
dotnet-install --package dotnet-inspect@0.16.0 # pinned version
# GitHub repository (must advertise a manifest, or name --project)
dotnet-install --github owner/repo # tracks default branch, updatable
dotnet-install --github owner/repo --branch main # tracks branch, updatable
dotnet-install --github owner/repo --tag v2.0 # pinned, no updates
dotnet-install --github owner/repo --rev abc123 # pinned, no updates
dotnet-install --github owner/repo@v2.0 # shorthand, pinned
dotnet-install --github owner/repo --ssh # clone via SSH
# Any repo — git URL or local path; builds the advertised toolset
dotnet-install --repo https://example.com/repo.git
dotnet-install --repo https://example.com/repo.git --tag v1.0
dotnet-install --repo ../some/local/repo
dotnet-install --repo . # this repo's advertised tools
Use -o <dir> for a custom output location, or --local-bin for
~/.local/bin.
--path is an alias for --project. When combined with
--github or --repo, --project specifies a sub-path
within the repository. --git is a deprecated alias for --repo.
A repo advertises its toolset in .dotnet-install/.dotnet-install.json.
Each entry in tools names exactly one source: a repo-relative
project (.csproj or .cs app), a NuGet package (with optional
version), or another repository (owner/repo, with optional
ref). They can be mixed, so a manifest can describe a whole
environment rather than just this repo's output.
Every entry is validated before anything installs. Each tool records
its own source, so update pulls it from where it came from.
| Flag | Pinned | Example |
|---|---|---|
| (none) | no | default branch, tracks upstream |
--branch | no | named branch, tracks upstream |
--tag | yes | fixed tag, no updates |
--rev | yes | fixed commit SHA, no updates |
@ref | yes | shorthand in --github spec |
Pinned installs are skipped by dotnet-install update.
To change versions, uninstall and reinstall.
dotnet-install ls # list installed tools
dotnet-install rm <tool> # remove a tool
dotnet-install update [tool] # update one or all tools
dotnet-install search <query> # search NuGet
dotnet-install info <tool> # show tool details
dotnet-install outdated # check for newer versions
dotnet-install doctor # diagnose PATH and config
dotnet-install env # print environment info
dotnet-install completion <sh> # shell completion setup
Tools are installed to ~/.dotnet/bin/ by default.
Override with DOTNET_TOOL_BIN env var, -o <dir>,
or --local-bin (uses ~/.local/bin/).
dotnet-install uses a dedicated env file (~/.dotnet/bin/env)
that is sourced from the shell's rc file. Run
dotnet-install doctor --fix to configure PATH automatically.
To activate in the current shell without restarting:
. "$HOME/.dotnet/bin/env" # sh/bash/zsh
source "$HOME/.dotnet/bin/env.fish" # fish
--tag, --rev, @ref) are
immutable. update skips them and reports the
pinned ref. Changing versions requires an explicit
uninstall and reinstall.--package works without the SDK.dotnet tool install.--require-sourcelink enforces SourceLink metadata
in installed assemblies.