# Is there an easy way to search the code in unloaded SWI-Prolog packs?

**URL:** <https://swi-prolog.discourse.group/t/is-there-an-easy-way-to-search-the-code-in-unloaded-swi-prolog-packs/2843>\
**Category:** General\
**Created:** [August 29, 2020, 2:04pm UTC](https://swi-prolog.discourse.group/t/is-there-an-easy-way-to-search-the-code-in-unloaded-swi-prolog-packs/2843 "2020-08-29T14:04:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [August 29, 2020, 2:04pm UTC](https://swi-prolog.discourse.group/t/is-there-an-easy-way-to-search-the-code-in-unloaded-swi-prolog-packs/2843/1 "2020-08-29T14:04:20Z")

</div>

When searching for example SWI-Prolog code I typically search the GitHub SWI-Prolog [repositories](https://github.com/SWI-Prolog).  
At times I will then extend the search to all GitHub repositories knowing that the chance of finding what I need and being well written code is less likely.

However I know the SWI-Prolog packs often contain useful code that is well written but the only way I know to search the code is to do it by hand or install the pack then search the directory. While I am starting to think I will have to install the packs to search them, before taking that path it is wise to seek the answer to this question.

Is there a simple way to search the code in the various SWI-Prolog packs with out first installing them?
