# unix (Haskell)

> POSIX functionality for Haskell

Source: https://talira.ai/catalog/unix-haskell-je0cqvg0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / system bindings](https://talira.ai/categories/libraries/system-bindings), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]

unix is the Haskell package that gives access to the operating system services standardised by POSIX.1-2008 (IEEE Std 1003.1). Its System.Posix modules cover files and directories, file descriptors and I/O, processes and signals, users and groups, terminals, environment variables, resource limits, semaphores, shared memory, temporary files and the dynamic linker. It is published on Hackage, maintained by a small group of volunteers in the haskell GitHub organization, and is BSD-3-Clause licensed. It does not support Windows.

## Links

- GitHub: https://github.com/haskell/unix
- Docs: https://hackage.haskell.org/package/unix

## Problems it solves

- call POSIX system functions like fork or chmod from Haskell
- handle Unix signals in a Haskell program
- read file permissions and owners in Haskell

## Features

- POSIX.1-2008 services from Haskell
- Files, directories and file descriptors
- Processes, signals, users and groups
- Terminals, environment and resource limits
- Semaphores, shared memory and the dynamic linker

## Limitations

- It isn't supported on Windows.[^1]

## Trust

Overall: 0.33 out of 1.
Signals: maintenance 0.46, adoption 0.42, momentum 0.08, community 0.81, backing 0.00, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- latest release v2.8.8.0 14 months ago
- 125 GitHub stars
- 105 contributors

## Alternatives

- [unix-compat](https://talira.ai/catalog/unix-compat-917e7sfv.md): A portable POSIX-compatibility layer for Haskell

## Sources

[^1]: https://github.com/haskell/unix/blob/master/unix.cabal (checked 27 Nov 2026)
[^2]: https://github.com/haskell/unix/blob/master/LICENSE (checked 27 Nov 2026)
