npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

grok-termux

v1.0.41-termux.1

Published

Unofficial Termux/Android build of Grok Build, xAI's terminal coding agent. Installs on stock Termux; run under termux-chroot for network access.

Readme

grok-termux

Unofficial Termux/Android build of Grok Build, xAI's terminal coding agent.

This package does not fork or modify Grok Build. It ships one thing: a statically linked aarch64 binary compiled from the upstream sources exactly as they are published.

Install

Installs directly on stock Termux. No PRoot, no Debian, no container.

npm install -g grok-termux@latest
grok --version          # grok 1.0.41

Termux on aarch64 only. The package declares os: android, linux and cpu: arm64, so npm refuses to install it anywhere else rather than leaving you a binary that cannot run.

Networking: run it under termux-chroot

Anything that talks to the network — signing in included — needs this:

termux-chroot grok

termux-chroot ships with termux-tools and is already there on a normal Termux install. Nothing to install, nothing to configure.

Why. This is a statically linked musl binary, and musl's resolver reads /etc/resolv.conf. On Termux that path belongs to Android, where the file does not exist: the real one is at $PREFIX/etc/resolv.conf. With no nameserver to read, musl falls back to 127.0.0.1, nothing answers there, and every request fails — you see error sending request for url (https://auth.x.ai/...) and an empty model catalogue. termux-chroot maps / onto $PREFIX, so musl finds the file that was there all along.

It is the classic static-musl-on-Termux problem, not a fault of this build: the same binary reaches the network normally in any environment that has /etc/resolv.conf.

Why this exists

The upstream project publishes binaries for macOS, Linux (glibc) and Windows — not for Termux. Building for Android natively is possible but expensive: Android is a distinct target_os for rustc, and a long tail of dependencies has no arm for it, so it takes a patch set that must be re-applied on every upstream sync.

This build sidesteps all of it by targeting aarch64-unknown-linux-musl instead: a fully static binary, no glibc, no dynamic loader — which is exactly what Termux can run. Upstream keeps that target first class, so the source tree is untouched.

What you are running

  • Built from xai-org/grok-build, source revision f0e3be1100ef5252488e3be8bb0e91cf68d8c305.
  • Upstream version 1.0.41.
  • Target aarch64-unknown-linux-musl, statically linked, stripped.
  • No install scripts: the grok command is the binary itself, so nothing is compiled, downloaded or rewritten at install time.

Verify what you got:

file "$(command -v grok)"     # ELF 64-bit ... ARM aarch64 ... statically linked

Licence and trademarks

Grok Build is Copyright 2023-2026 SpaceXAI, under the Apache Licence 2.0. See LICENSE and THIRD-PARTY-NOTICES.

Not affiliated with, endorsed by, or supported by xAI. "Grok" is a trademark of xAI; it is used here only to name the software this binary was built from, as permitted for descriptive reference — the Apache Licence grants no trademark rights (section 6). For the official CLI, see x.ai/cli.