install
यह क्या करती है
यह smolvm वर्चुअल मशीन टूल इंस्टॉल करने और जाँचने के चरण बताती है कि कंप्यूटर उसे चला सकता है। यह नए कंप्यूटर, सर्वर या CI runner सेट करने वाले डेवलपर्स और एडमिन के लिए है।
कब इस्तेमाल करें
- ✓जब आप smolvm को नए कंप्यूटर, सर्वर या CI runner पर सेट कर रहे हों।
- ✓जब पहली वर्चुअल मशीन शुरू करने में एक्सेस या तैयारी की त्रुटि आए।
- ✓जब आप जानना चाहते हों कि कंप्यूटर smolvm की ज़रूरतें पूरी करता है या नहीं।
Skill का लिंक
https://github.com/smol-machines/smolvm/blob/main/docs/install/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे लैपटॉप पर smolvm इंस्टॉल कीजिए और पक्का कीजिए कि वह सच में वर्चुअल मशीन शुरू कर सकता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एक preflight स्क्रिप्ट पहले कंप्यूटर की जाँच करती है। फिर स्किल 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
अक्सर पूछे जाने वाले सवाल
preflight जाँच क्या करती है?
यह एक केवल-पढ़ने वाली स्क्रिप्ट है, जो कंप्यूटर की स्थिति बताती है और कहती है कि वह तैयार है, इंस्टॉल नहीं है, या अवरुद्ध है।
क्या यह मेरे सिस्टम को बदलेगा?
preflight जाँच कोई वर्चुअल मशीन शुरू नहीं करती और 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
branch-and-checkpoint
6.9kयह आपके एजेंट को चल रही smolvm वर्चुअल मशीन को चेकपॉइंट के रूप में सहेजने, बाद में वापस लाने, रोकने और फिर चालू करने, और उसे कॉपी में बाँटने में मदद करती है।
coding-agent
6.9kयह आपके एजेंट को smolvm की सुरक्षित वर्चुअल मशीन के अंदर Claude Code जैसे कोडिंग एजेंट चलाने में मदद करती है, जिसमें आपका प्रोजेक्ट फ़ोल्डर माउंट होता है।
credentials
6.9kयह आपके एजेंट को आपकी key से API कॉल करने देती है, जबकि key कभी उसकी वर्चुअल मशीन के अंदर नहीं जाती, ताकि भरोसे के बाहर का कोड उसे न पढ़ सके।
dev-env
6.9kयह आपके एजेंट को smolvm की डेव मशीन में इंस्टॉल किए टूल बनाए रखना सिखाती है, ताकि वह जल्दी रीस्टार्ट हो और सत्रों के बीच पैकेज बने रहें।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।