Skip to main content

What is nwm?

nwm, the nanos world manager, is a command line tool for Linux and Windows that takes the busywork out of running nanos world servers. It installs and updates servers through SteamCMD, starts and stops them, manages packages and asset packs from the vault, installs NanosSharp and runs databases and other services next to your server.

The core idea is the recipe: a single Recipefile that describes a complete server. Check it into git, share it as a gist or publish it to the registry, and anyone can recreate the same server with one command:

nwm server create rp --recipe @dasdarki/roleplay

What nwm does for you​

AreaWhat you get
ServersInstall, update and run servers, switch Steam branches, follow logs
ConfigurationRead and change Config.toml without breaking it
Packages and assetsInstall, update and enable resources from the vault
NanosSharpAdd C# scripting to a server in one step
C modulesShip native modules as packages, with a safety prompt for unsafe libraries
RecipesDescribe a whole server as code, with variables, files and hooks
ServicesPostgres, MySQL, Redis and friends as Docker containers, wired into .env
SecretsGenerated or prompted passwords, kept out of recipes and server folders
RegistryPublish and find recipes as @scope/name, versioned with git tags

How the pieces fit together​

Recipefile ──────────────┐
(folder, git repo, URL, gist, │ nwm server create --recipe
or @scope/name from the registry) ▼
┌───────────────┐
SteamCMD ──── install ─────▶ │ your server │ ◀── nwm package / assets
│ Config.toml │
~/.nwm/secrets ── values ──▶ │ .env │ ◀── nwm secret
│ nwm.toml │
└───────┬───────┘
│ nwm server start
▼
Docker services (postgres, redis, ...)
then the nanos world server itself

Next steps​

note

nwm is a community project and is not affiliated with the nanos world team.