Quick start
Go from zero to running code in an isolated VM. Each step builds on the previous. The entire flow takes about 60 seconds. Available for TypeScript and Python.
01Install the SDK
Install the SDK and set your API key. The SDK reads OMNIRUN_API_KEY from your environment.
shell
$ npm install @omnirun/sdk02Create and run
This example runs inside a real microVM. Edit it and press Run, or try it in the playground.
Create & Run
03Files
Write input into the sandbox and read results back. See File transfer.
typescript
await sandbox.files.write('/tmp/data.csv', content)04Teardown
Kill the sandbox when you are done.
typescript
await sandbox.kill()