Skip to content
On this page

Getting Started with Servemon

So servemon is a CLI that can serve your static site. With files such as html, css, javascript. It does not require any other libraries. Just run servemon and start serving your site.

Step 1

Install servemon

pnpm add -g servemon
yarn add -g servemon
npm install -g servemon
1
2
3

Step 2

Then you can use the command --init to create a config file.

servemon --init
1

Its will ask if you wan't to use these following options:

  • port
  • directory
  • watch
  • open
  • logger

image info

Step 3

Start the serve process

servemon dev
1

And then you are good to go. Your server starts under 10ms. 🥳

Examples

You can view an example of how to use servemon here