system-uname
Version, currently 0.2.05 versions
- 0.3.0latestMay 22, 2026
- 0.2.2not indexedMay 22, 2026
- 0.2.1not indexedMay 22, 2026
- 0.2.0not indexedMay 22, 2026
- 0.1.0not indexedMay 22, 2026
github.com/djberg96/crystal-sys-uname
An interface for getting OS information
Nothing has been indexed for 0.2.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
system-uname:
github: djberg96/crystal-sys-uname
version: ~> 0.2.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
system-uname
Description
A Crystal interface for getting operating system information. The name comes from the Unix 'uname' command.
Installation
Add this to your shard.yml file:
dependencies:
system-uname:
github: djberg96/crystal-sys-uname
Synopsis
require "system-uname"
# Get full information about your system.
p System.uname
# Get individual bits of information about your system.
p System.sysname
p System.nodename
p System.release
p System.version
p System.machine
p System.model # Darwin and FreeBSD only
p System.domainname # Linux only
Supported Platforms
- Linux
- Darwin
- FreeBSD
Future Plans
Add MS Windows support
Copyright
(C) 2021-2026, Daniel J. Berger All Rights Reserved
Author
Daniel J. Berger
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- May 22, 2026
- Commit
13b8984f6788- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/djberg96/crystal-sys-uname
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 5