본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)6.9k · #13720

install

하는 일

smolvm 가상 머신 도구를 설치하고, 컴퓨터가 그것을 실행할 수 있는지 확인하는 과정을 안내합니다. 새 컴퓨터, 서버, CI 러너를 준비하는 개발자와 관리자를 위한 스킬입니다.

사용하는 경우

  • ✓새 컴퓨터, 서버, CI 러너에 smolvm을 설치하고 있을 때.
  • ✓처음 가상 머신을 시작했을 때 권한이나 준비 상태에 관한 오류가 날 때.
  • ✓컴퓨터가 smolvm의 요구 사항을 충족하는지 확인하고 싶을 때.

스킬 링크

https://github.com/smol-machines/smolvm/blob/main/docs/install/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/smol-machines/smolvm/blob/main/docs/install/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“노트북에 smolvm을 설치하고, 실제로 가상 머신을 시작할 수 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

사전 점검 스크립트가 먼저 컴퓨터를 확인합니다. 그다음 스킬은 smolvm을 설치하고 일회용 가상 머신을 실행합니다. 그래서 성공은 버전 번호만 출력되는 것이 아니라, 머신이 실제로 부팅된다는 뜻입니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Installing smolvm and proving it works

Verified on smolvm v1.29.0 on macOS arm64, 2026-10-15, and on v1.18.2 on Linux aarch64, 2026-09-24. Done means smolvm --version prints the release version and a throwaway VM has run one command and exited. A version number alone proves nothing: on every platform here there is at least one way for the install to succeed and every VM start to fail. The Linux runs used the scripts of their date; this version's preflight and cleanup scripts ran on Linux aarch64 on v1.22.2 on 2026-10-03.

scripts/preflight.sh reports the host as key=value lines and ends with result=ready, result=not_installed or result=blocked. Run it first, and run it again after the install if the first boot fails.

Procedure

1. Preflight. Read-only. It starts no VM and writes no smolvm state.

scripts/preflight.sh

result=not_installed on a fresh host means the host is fit and smolvm is simply missing: go on to step 2 and run this again afterwards. With another smolvm first on PATH, it describes that one instead and can end result=ready: read smolvm_path= and the note= before trusting it. Stop on result=blocked and read the note= lines. The two that block a fresh host are accel_access=denied on Linux (your user cannot open /dev/kvm) and socket_path_status=too_long on macOS (the install path is too deep for a VM's Unix socket). Both have a fix in references/traps.md, and neither announces itself later: the installer warns about KVM and continues, and before v1.28.0 the path limit surfaces as an error about disks.

2. Install from the published release.

curl -sSL https://smolmachines.com/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
smolvm --version

The installer writes under $HOME only: ~/.smolvm, the launcher in ~/.local/bin, and the agent rootfs in ~/Library/Application Support/smolvm on macOS or ~/.local/share/smolvm on Linux. When ~/.local/bin is not already on PATH it appends a # smolvm export PATH=... line to your shell profile (~/.zshrc for zsh); --no-modify-path skips that.

Install the newest release. The installer with no --version takes the latest published release, and a later release is expected to work with this packet. The version in the banner above is what the packet was last verified on, not what you should install. Pin only to reproduce a recorded run:

curl -sSL https://smolmachines.com/install.sh | bash -s -- --version 1.23.0   # a recorded run

On macOS two warning: lines about notarization appear on every install and are not a problem. On Linux info: KVM access verified appears only when your user can already open /dev/kvm.

To install without touching an existing one, point HOME at a scratch directory: every path smolvm uses moves with it on macOS, and on Linux once XDG_DATA_HOME and XDG_CACHE_HOME are unset, since both outrank HOME there. Keep that directory shallow on macOS. This does not work on Windows, where state cannot be relocated at all. See references/layout.md.

Windows does not use this installer. See references/windows.md.

3. Prove it boots. This is the step that decides whether smolvm works here.

scripts/verify-boot.sh

It runs one ephemeral alpine VM and asserts two values: a marker the guest printed, and that the guest kernel is not the host's. --image <ref> boots another image; when Docker Hub answers TOOMANYREQUESTS, its anonymous pull limit, name the same image from a mirror, scripts/verify-boot.sh --image mirror.gcr.io/library/alpine or public.ecr.aws/docker/library/alpine, and the step tells you so when it sees that error. On failure it prints the three misreadings that cost the most time, before you clean up and lose the evidence.

It boots a 2048 MiB guest, and a machine you create without --mem asks for 8192. A host can pass this step and still fail every default-size machine with agent did not become ready within 30 seconds; if your work uses the default, boot one at that size too. references/traps.md has the measurement. From v1.22.0 the first run of each registry image also starts a seed helper at 8192 MiB whatever --mem says. When that helper cannot start the run prints WARN no image seed; pulling in the guest and goes on: after the helper's 30 s timeout on a host that cannot boot 8192 MiB, or at once when the helper's own pull is refused, as it is under the rate limit.

**4. C

자주 묻는 질문

사전 점검은 무엇을 하나요?

컴퓨터의 상태를 읽기만 하고 준비됨, 미설치, 차단됨 중 무엇인지 알려 주는 스크립트입니다.

제 시스템을 바꾸나요?

사전 점검은 가상 머신을 시작하지 않고 smolvm 상태도 기록하지 않습니다.

어떤 시스템을 다루나요?

스킬은 macOS와 Linux에서 점검되었으며, 각 시스템을 막는 흔한 문제를 나열합니다.

상세 정보

작성자의 원본 설명

Installs smolvm from a published release and proves the host can actually boot a microVM before any other work starts. Use when setting smolvm up on a new machine, a CI runner or an agent's own environment; when a first boot fails with krun_start_enter -22, KVM_DENIED or "agent did not become ready"; when checking whether a host meets smolvm's requirements at all; or when an install has to be isolated from an existing one and then removed. Do not use it to remove an existing install (see the teardown packet) or for anything after the first boot has succeeded.

repo: smol-machines/smolvm

인기도

GitHub 스타
6.9k
순위
#13720
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬