In the documentation three.js found a mention of the support compression gltf through Draco Compressed. In principle, I do not care how it is compressed, I need to process only a few models. Searching, I found a project on the Gita written under the node https://github.com/AnalyticalGraphicsInc/gltf-pipeline.
It's the only thing I found close to my problem. It is written there the user has installed the package, but the commands are not executed.
I tried to specify absolute path names and just clicking in the correct directory, but the result is the same. Maybe I like the wrong point parameters. Or maybe you know some other simple way to compress gltf