system-uname
Version, currently 0.3.05 versions
github.com/djberg96/crystal-sys-uname
An interface for getting OS information
4 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
system-uname:
github: djberg96/crystal-sys-uname
version: ~> 0.3.0Then run:
shards installshard.yml
- Crystal
>= 1.2.0- License
- MIT
- Author
- Daniel Berger
Dependencies
This version declares no dependencies.
README
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.3.0- Tagged
- May 22, 2026
- Commit
44dc3a7f93bd- Crystal
>= 1.2.0- Indexed
- yes
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