OpenWrt has made a major change. It now includes a new package manager called apk instead of the older opkg https://forum.openwrt.org/t/major-change-notice-new-package-manager/215682
PS: you can learn about apk command here https://www.cyberciti.biz/faq/10-alpine-linux-apk-command-examples/