# How to include additional packages using CLI without going to "make menuconfig"?

**URL:** <https://forum.openwrt.org/t/how-to-include-additional-packages-using-cli-without-going-to-make-menuconfig/88558>\
**Category:** For Developers\
**Created:** [February 14, 2021, 1:24pm UTC](https://forum.openwrt.org/t/how-to-include-additional-packages-using-cli-without-going-to-make-menuconfig/88558 "2021-02-14T13:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hnyman](https://forum.openwrt.org/user_avatar/forum.openwrt.org/hnyman/32/19_2.png) [@hnyman](https://forum.openwrt.org/u/hnyman)\
**Post date:** [February 14, 2021, 1:33pm UTC](https://forum.openwrt.org/t/how-to-include-additional-packages-using-cli-without-going-to-make-menuconfig/88558/2 "2021-02-14T13:33:03Z")

</div>

Just add properly formatted lines to the end of your .config

(And after that you should run "make defconfig" to pull in possible dependencies)

> [@Programmatically (non-interactively) configure the OpenWrt build](https://forum.openwrt.org/t/programmatically-non-interactively-configure-the-openwrt-build/60512/3):
>
> The easiest thing is probably to manually craft a short .config recipe for each target, and then tailor it for each OpenWrt version. The .config recipe can easily be originally based on ./scripts/diffconfig.sh output I am building several community builds with that approach. (WNDR3700 with ar71xx and ath79 , R7800 ipq806x), and privately also WRT3200ACM mvebu, and I build master and 19.07 for all of them. Pretty easy, once you get the .config recipe for master. It usually needs only slight ch…

> [@Using config diffs in buildroot without needing to manually track depedencies](https://forum.openwrt.org/t/using-config-diffs-in-buildroot-without-needing-to-manually-track-depedencies/85870/2):
>
> Usually I just edit config\_seed directly and enable only "direct packages" in there. Then cp config\_seed .config make defconfig It should bring in all current dependencies of those "direct packages"

---

_[View the full topic](https://forum.openwrt.org/t/how-to-include-additional-packages-using-cli-without-going-to-make-menuconfig/88558)._
