Skip to content

indexable-inc/ix-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ix-cli

This is the official ix-cli binary published at ix.dev so you can install it with Nix instead of the curl https://ix.dev/install.sh | sh installer.

The binary is self-contained (static-pie on Linux), so the flake just fetches it and puts ix on your PATH.

Supported platforms

Nix system ix.dev binary
aarch64-darwin darwin-arm64
x86_64-linux linux-x86_64

linux-arm64 is not yet published upstream, and Intel macOS is unsupported - so neither is offered here.

Usage

Run without installing:

nix run github:indexable-inc/ix-cli -- --help
nix run github:indexable-inc/ix-cli -- ls

Install into your profile:

nix profile install github:indexable-inc/ix-cli

As a flake input:

{
  inputs.ix.url = "github:indexable-inc/ix-cli";
  # then use: ix.packages.${system}.default  (or ix.apps.${system}.default)
}

Updating

End users upgrade with nix profile upgrade ix or nix flake update.

ix.dev/cli/<platform>/ix is an unversioned "latest" URL, so this flake pins the binary by content hash.

A daily GitHub Action runs update.sh, which re-fetches the binaries, and - if they changed - re-pins the hashes, refreshes the version label from ix --version, and opens a PR.

See also

About

Nix flake packaging the Ix CLI from official prebuilt releases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors