# Building a space

The process of building a Space in Neverinstall involves launching a personalized Linux environment, configured according to the user's selected apps and extensions. Here's a step-by-step explanation of the process:

1. **Launching a Space**: When a user launches a Space, Neverinstall initiates a process on its remote servers to create a new Linux instance. This instance includes the apps and extensions that the user has chosen.
2. **Resource Allocation**: Neverinstall allocates the necessary resources, such as compute power and memory, for the Space. The platform chooses a cluster that is geographically closest to the user in order to minimize latency and optimize performance.
3. **Downloading and Running Images**: As part of the process, Neverinstall downloads and runs pre-configured application images on the remote servers. These images include the necessary software and settings for each of the user's chosen apps and extensions.
4. **Encoding and Streaming**: The remote servers then capture the display and audio output from the Linux instance, encode it into a video stream, and transmit it to the user's browser.
5. **User I/O Interaction**: The user interacts with the Space through their local input devices, such as the keyboard and mouse. These inputs are sent back to the remote server over a UDP connection, which then executes them in the Linux environment.

This entire process is designed to be fast and efficient, allowing users to start using their custom Linux environment in just a few moments. It's a seamless way to work in a Linux environment without having to worry about local machine constraints, installations, or configurations.

<figure><img src="/files/JN9zDGbSaozdJieXdpW5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neverinstall.com/spaces/building-a-space.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
