From 2f940c0cb99125aa6185a0fb32af26a1b8beae74 Mon Sep 17 00:00:00 2001 From: bobwen-dev <77950078+bobwen-dev@users.noreply.github.com> Date: Mon, 25 Jan 2021 16:42:03 +0800 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6810508..f43bb5d 100644 --- a/README.md +++ b/README.md @@ -81,14 +81,15 @@ htpdate -s www.pool.ntp.org Default: false ``` -## Install +## Install Precompiled package -- Precompiled package +Download the precompiled binary package from [Releases page](https://github.com/bobwen-dev/htpdate/releases), uncompress it, and run it independently as an executable - Download the precompiled binary package from [Releases page](https://github.com/bobwen-dev/htpdate/releases), uncompress it, and run it independently as an executable +## Compile from source code -- Install by npm - - ```bash - npm i -g https://github.com/bobwen-dev/htpdate - ``` +```bash +git clone https://github.com/bobwen-dev/htpdate +cd htpdate +npm install +npm run build +```