install
Ce qu’il fait
Guide l'installation de l'outil de machines virtuelles smolvm et vérifie que l'ordinateur peut l'exécuter. Il s'adresse aux développeurs et administrateurs qui configurent un nouvel ordinateur, un serveur ou un exécuteur CI.
Quand l’utiliser
- ✓Quand vous installez smolvm sur un nouvel ordinateur, un serveur ou un exécuteur CI.
- ✓Quand un premier démarrage de machine virtuelle échoue avec une erreur d'accès ou de disponibilité.
- ✓Quand vous voulez vérifier si un ordinateur répond aux exigences de smolvm.
Lien du skill
https://github.com/smol-machines/smolvm/blob/main/docs/install/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Installe smolvm sur mon ordinateur portable et assure-toi qu'il peut réellement démarrer une machine virtuelle.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Un script de contrôle préalable vérifie d'abord l'ordinateur. Le skill installe ensuite smolvm et lance une machine virtuelle jetable, pour qu'une réussite signifie que la machine démarre réellement et pas seulement qu'un numéro de version s'affiche.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Que fait le contrôle préalable ?
C'est un script en lecture seule qui décrit l'état de l'ordinateur et indique s'il est prêt, non installé ou bloqué.
Modifiera-t-il mon système ?
Le contrôle préalable ne démarre aucune machine virtuelle et n'écrit aucun état de smolvm.
Quels systèmes sont couverts ?
Le skill a été vérifié sur macOS et Linux, et il liste les problèmes courants qui bloquent chacun d'eux.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 6.9k
- Position au classement
- #13720
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
branch-and-checkpoint
6.9kAide votre agent à sauvegarder une machine virtuelle smolvm en points de contrôle, la restaurer, la suspendre et la dupliquer en copies.
coding-agent
6.9kAide votre agent à faire tourner un agent de code comme Claude Code dans une machine virtuelle smolvm sécurisée, avec votre dossier de projet monté.
credentials
6.9kPermet à votre agent d'appeler une API avec votre clé, sans que celle-ci n'entre dans la machine virtuelle, même pour du code non fiable.
dev-env
6.9kApprend à votre agent à conserver une machine de développement smolvm avec ses outils, pour redémarrer vite et garder ses paquets.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.