-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update docs for installation instructions
- Loading branch information
1 parent
307a35f
commit f576280
Showing
3 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
# ad2bs date conversion | ||
|
||
Convert a given AD date in the format YYYY-MM-DD to BS date in the same format. | ||
|
||
To convert your birthday on 1999-10-29 AD to nepali, run\ | ||
`ad2bs 1999-10-29` | ||
|
||
## Installing / Updating `ad2bs` | ||
|
||
### For macOS/Linux | ||
|
||
```sh | ||
rm -f `which ad2bs` | ||
curl -s https://raw.githubusercontent.com/opensource-nepal/ad2bs/main/scripts/install.txt | sh | ||
``` | ||
|
||
### For Windows | ||
|
||
Have go >= 1.21 installed. Clone the repo, then run `go install .` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters