30 November 2026

Turtle: Charm’s Shell Toolkit

Our cross-platform coreutils implementation in Go.

By Andrey Nering

We wanted coreutils in Go, so we just made it.

Hey all, Andrey here!

I’ve been looking for this day for a long time! As the maintainer of Task, I always wish I could ship proper support for all the core utilities: things like cp, rm, mv, mkdir and many, many more. Why it matters? Because those are not really available by default on Windows, for example. Also, platform differences might mean certain tasks run differently depending on the operating system and more.

After releasing Crush to the world, we followed Task by adopting this brilliant shell interpreter as part of the agent. Why? Ensuring the same behavior everywhere and having proper support to Windows. But guess what? Something was still missing: core utilities.

At some point, we just decided to fix it once for all…

Cross-platform core utilities for Go, finally!

The time has come! They’re generally compatible with POSIX and GNU, they’re importable as Go packages, and they were thought to be libraries from the start. Under the hood, their state is completely isolated from the system: ENV, file system, etc., so you can even run them in-memory or compile them to WASM if you want.

As part of this repository you’ll have:

  • charm.land/turtle/coreutils: the actual implementation for the core utilities
  • charm.land/turtle/shcoreutils: a middleware to plug it into the shell interpreter
  • charm.land/turtle/fsx: a file system abstraction, superset of the Go’s standard library’s

I hope this is useful to the Go community! Check out the GitHub repository and the compatibility table. We also have more plans for this repository in the future. 👀

If you’re curious, this project was made possible by Crush and our Prism models via Hyper.

If you want to chat about it with me, feel free to ping @andreynering on our community Discord or Slack servers.

EOF

Read this post in your terminal with Glow:

glow -p https://charm.land/blog/turtle-charms-shell-toolkit.md Copied!

By Andrey Nering

30 November 2026

Andrey Nering is a developer at Charm, working on the many open source projects. He loves building tools that make developers' lives easier.

Let’s chat!

Have a question about a command line thing you’re building? Got an idea for a new feature? Just wanna hang out? You’re always welcome in the Charm Discord.