Skip to main content

Environment variables

nwm​

VariableDefaultEffect
NWM_HOME~/.nwmFolder for state, secrets, logs, caches, SteamCMD and default server installs
NWM_REGISTRY_URLthe official indexURL or file path of the registry index.json
NWM_NO_UPDATE_CHECKunsetAny value disables the daily update hint
GITHUB_TOKENunsetUsed for gist requests to raise GitHub's rate limit

Install scripts​

VariableDefaultEffect
NWM_VERSIONlatestRelease to install, e.g. 0.2.2
NWM_INSTALL_DIR~/.local/bin or %LOCALAPPDATA%\Programs\nwmInstall folder

Passed to processes​

VariableWhereValue
Everything in .envthe nanos world server processValues from recipes (env) and service presets
NWM_SERVERrecipe hooksName of the server
NWM_SERVER_DIRrecipe hooksServer folder
NWM_RECIPE_DIRrecipe hooksFolder of the recipe (a cache folder for remote recipes)