You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Made intro more concrete and actionable (VMs that feel like dev environments)
- Added safety reassurance for install script
- Broke up dense sections with subheadings and context
- Added auto-wakeup callout earlier to highlight key feature
- Made success message more actionable with concrete next steps
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Think of a Sprite as your personal computer in the cloud—but better. Unlike containers that start from scratch each time, **Sprites are persistent VMs that wake up on demand**. Install dependencies once, clone repos, create files—everything stays exactly where you left it. When you're not using it, your Sprite goes to sleep. When you send a command or HTTP request, it wakes up instantly.
9
+
Sprites are cloud VMs that feel like persistent dev environments. You can run commands, install packages, create files—and everything stays exactly how you left it. Unlike containers that reset each time, Sprites remember your entire filesystem between sessions.
10
+
11
+
The magic: when you're not using your Sprite, it goes to sleep. Send a command or HTTP request, and it wakes up instantly. No setup, no rebuilding—just pick up where you left off.
10
12
11
13
This guide will walk you through creating your first Sprite. In just a few minutes, you'll have a persistent development environment that responds to HTTP traffic and remembers everything between runs.
12
14
@@ -18,7 +20,7 @@ Install with our install script (macOS/Linux):
18
20
curl -fsSL https://sprites.dev/install.sh | sh
19
21
```
20
22
21
-
This auto-detects your platform, downloads the binary with checksum verification, and installs to `~/.local/bin`.
23
+
This script is safe to run—it auto-detects your platform, verifies checksums, and installs the latest CLI to `~/.local/bin`.
22
24
23
25
For Windows or manual installation, see [CLI Installation](/cli/installation) or download from [GitHub Releases](https://github.com/superfly/sprite-env/releases).
**Auto-wakeup magic**: When you're not using your Sprite, it shuts down to save resources. When you run a command or hit its URL, it wakes up instantly—like magic. No manual starting or stopping required.
78
+
</Callout>
79
+
74
80
## See Persistence in Action
75
81
76
82
Your Sprite comes pre-configured with common development tools (Node.js, Python, Go, Git, and more). Here's the magic: **everything you install or create persists between commands**.
77
83
84
+
### Check available runtimes
85
+
86
+
See what's already installed and ready to use:
87
+
78
88
```bash
79
-
# Check available runtimes
80
89
sprite exec"node --version && python3 --version && go version"
90
+
```
91
+
92
+
### Install a package
93
+
94
+
Install dependencies just like you would locally—they'll stick around:
81
95
82
-
# Install a Python package
96
+
```bash
83
97
sprite exec"pip install requests"
98
+
```
99
+
100
+
### Create and read files
101
+
102
+
Files you create persist across sessions. Write once, read anytime:
84
103
104
+
```bash
85
105
# Create a file
86
106
sprite exec"echo 'Hello from my persistent Sprite!' > /home/sprite/greeting.txt"
87
107
@@ -95,7 +115,11 @@ Unlike containers that reset on each run, your Sprite keeps your installed packa
95
115
96
116
## Start a Web Server
97
117
98
-
Every Sprite has a unique HTTP URL and can serve traffic. Let's see it in action by starting a simple Python server:
118
+
Every Sprite has a unique HTTP URL and can serve traffic. This makes it perfect for testing APIs, hosting prototypes, or running background services.
119
+
120
+
### Serve HTTP
121
+
122
+
Start a simple Python server and get your public URL:
Now visit the URL in your browser—you'll see Python's directory listing page. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests.
132
+
Visit the URL in your browser—you'll see Python's directory listing page. Your Sprite automatically routes HTTP traffic to port 8080 and wakes up to handle requests.
133
+
134
+
### Test on-demand wakeup
109
135
110
-
Try this: close your terminal, wait a minute, then visit the URL again. Your Sprite wakes up automatically to serve the request. That's the magic of on-demand wakeup.
136
+
Here's where it gets cool. Close your terminal, wait a minute, then visit the URL again. Your Sprite wakes up automatically to serve the request. That's the magic of on-demand wakeup—no manual starting or stopping required.
111
137
112
138
<Callouttype="tip">
113
139
**Managing Sprites**: Use `sprite list` to see all your Sprites, or `sprite destroy my-first-sprite` when you're done with one. You can have multiple Sprites running simultaneously—each with its own isolated environment.
114
140
</Callout>
115
141
116
142
<Callouttype="success">
117
-
**You've got a working Sprite!** You've created a persistent environment, installed packages, created files, and served HTTP traffic—all of which will be there next time you connect. Everything from here is optional, but worth exploring when you're ready.
143
+
**You've got a working Sprite!** You've created a persistent environment, installed packages, created files, and served HTTP traffic—all of which will be there next time you connect. Try cloning a repo, running a build, or deploying a tiny HTTP service to see what else you can do.
0 commit comments