Skip to content

Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]

Notifications You must be signed in to change notification settings

nilp0inter/comma

 
 

Repository files navigation

comma

Comma runs software without installing it.

Basically it just wraps together nix shell -c and nix-index. You stick a , in front of a command to run it from whatever location it happens to occupy in nixpkgs without really thinking about it.

Installation

  • Nix with Flakes:

    $ nix profile install github:nix-community/comma
  • No flakes:

    $ nix-env -i -f "https://github.com/nix-community/comma/archive/master.tar.gz"

NixOS installation

  • No flakes:

    replace "v1.2.0" with the latest version

    environment.systemPackages =
    let
      comma = (import (pkgs.fetchFromGitHub {
        owner = "nix-community";
        repo = "comma";
        rev = "v1.2.0";
        sha256 = "0000000000000000000000000000000000000000000000000000";
      })).default;
    in [ comma ];

Usage

, cowsay neato

Prebuilt index

https://github.com/Mic92/nix-index-database

About

Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 66.8%
  • Nix 26.4%
  • Shell 6.8%