Update README.md

This commit is contained in:
bobwen-dev 2021-01-25 16:42:03 +08:00 committed by GitHub
parent c42416b29b
commit 2f940c0cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

View File

@ -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
```