← 全部工具

Hy4ri/kimicode-flake

热度 70 更新于 开发与构建

Nix flake for Kimi Code — AI-powered coding assistant CLI

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

Kimi Code Flake

Nix flake for Kimi Code — AI-powered coding assistant CLI by Moonshot AI.

Installation

Try it out

nix run github:Hy4ri/kimicode-flake

NixOS / Home Manager

  • Add the flake input:
{
  inputs.kimi-code.url = "github:Hy4ri/kimicode-flake";
}
  • Add the overlay:
nixpkgs.overlays = [ inputs.kimi-code.overlays.default ];
  • Install the package:
# NixOS
environment.systemPackages = with pkgs; [
  kimi-code
];

# Home Manager
home.packages = with pkgs; [
  kimi-code
];

Project Structure

| File | Purpose | |---|---| | flake.nix | Flake entry point — exposes package and overlay | | package.nix | Derivation — fetches the prebuilt binary and patches it for NixOS | | update-version.sh | CLI tool to update to a new version: ./update-version.sh [version] | | version.json | Version metadata (used by README badge) | | flake.lock | Pinned nixpkgs revision |

Manual Updates

If a new release is out and the auto-update CI hasn't caught it yet:

# Update to latest
./update-version.sh

# Update to a specific version
./update-version.sh 0.15.0

The script will: