Skip to main content
Version: bleeding-edge 🩸

Command Line Interface

How to use nanos world CLI to install packages and update the server.

nanos world provides a CLI (Command Line Interface) to help updating the server, packages and assets and also downloading them!

Starting the CLI​

To run the cli, start the server with --cli argument:

./NanosWorldServer.exe --cli

After started, if you type help you can see all the available commands:

CLI Commands​

install package [PACKAGE_NAMES...]Install Packages
update package [PACKAGE_NAMES...]Update Packages
install assets [ASSET_NAMES...]Install Asset Packs
update assets [ASSET_NAMES...]Update Asset Packs
add package [PACKAGE_PATH]Creates a new Package in a interactive way
add assets [ASSET_PATH]Creates a new Asset Pack in a interactive way
checkCheck for Updates
helpDisplay all Commands
stopStops the CLI

One-Liner CLI​


It is also possible to run the CLI in a non-interactive mode, just run the command together after the --cli.

./NanosWorldServer.exe --cli update package sandbox

You can also install/update several Packages/Assets in a single command, separating them by spaces:

install package sandbox battlefield-kill-ui