On this page

    MapTiler Server command line interface (CLI)

    Start MapTiler Server

    maptiler-server --workDir=~/maptilerServer
    maptiler-server starts maptiler server [default]
    maptiler-server init initialize working directory

    General Options

    --version
    (Show version number [boolean])
    --help
    (Show help [boolean])

    Working directory

    --workDir <PATH>
    (working directory where config.json and tile sets are placed) [string] [required]
    [default: “/home/miki/Downloads/MTServer/betabin”])

    Port

    --port
    ([string] [required] [default: “3650”])

    Administration

    --withAdmin
    (set to false for start without administration
    [boolean] [required] [default: true])
    --adminPassword
    (administration will be protected with provided password
    instead of configured (or generated in case of start
    without config file) [string])

    License activation

    --licenseKey <PATH>
    (license key for activation during start, preferred over
    environment variable MAPTILER_SERVER_LICENSE [string])

    Rasterization

    --rasterization
    (turns on/off map rasterization [boolean] [default: true])
    --shutdownCleanup
    (set to false for troubleshooting startup issues
    [boolean] [default: true])

    Help

    For detailed info, run `maptiler-server --help` in the terminal.

    Was this helpful?

    Map server guides
    MapTiler Server command line interface (CLI)
    Server CLI