Setup Nanos for your production app Hack on Nanos

Getting Started

Nanos runs your code faster and more secure. Plus, it’s super easy to set up and start running your app. Let’s get you started with a few easy steps.

Setup Nanos for your production app

TL;DR: Check out OPS - the official Nanos orchestrator.

Want more info? Read on!

Install OPS && Nanos:

curl -sSfL | sh
Download a Node package and run a simple webserver:

ops pkg load eyberg/node:v14.2.0 -p 8083 -n -a hi.js
var http = require('http');
http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Hello World\n');
}).listen(8083, "");
console.log('Server running at');

If you'd like to install OPS via package management you can use:

Arch Linux



Once you run this example you'll instantly get a feel for things. the OPS documentation is a great place to find more in-depth examples and documentation. Also you can find examples for your favorite language/tool at the ops examples repo.

Hack on Nanos

If you wish to hack on Nanos, then our GitHub is the place to be.

You can find the build envs here:

Hack on Nanos

The filesystem currently used by Nanos is TFS. Nanos isn't opposed to other file systems but hasn't identified a large need yet either. As with most of these sections if your team requires different filesystem support please reach out to the NanoVMs team for a support subscription.

For more info on the TFS filesystem.