multiplatform unix cal command alternative with multiplatform support written in python named caln
caln
- show the current monthcaln y
- show the current year's calender with all the 12 monthscaln 2018
- show the calender with all 12 months in the given year
- Download and install python3. Make sure to check
ADD TO PATH
in the first screen of the python3 installer - Run
pip3 install pyinstaller
- Download this file and save it as
caln.py
- Run
pyinstaller caln.py --onefile --noconfirm
- Wait until it is completed
- Open the
.\dist
folder (in the current working directory) - Copy the
caln.exe
to the%system32%
folder or add the current folder to PATH - restart the shell and you can now run
caln
to start the program
-
Install dependencies
- Ubuntu/Debian
sudo apt update && sudo apt install curl python3 python3-pip -y
- Arch Linux
sudo pacman -Syy curl python3 python3-pip --noconfirm
- Red Hat
dnf install curl python3 python3-pip
-
Install the script
curl "https://raw.githubusercontent.com/hirusha-adi/calendar-multi-platform/main/caln" >> caln
chmod +x ./caln
sudo mv ./caln /usr/local/bin
- run
caln
in the terminal to start the program