New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

codex-kimi-hardwarex

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codex-kimi-hardwarex

Complete standalone Codex CLI with Kimi K2 model integration - no external dependencies needed

latest
Source
npmnpm
Version
1.2.5
Version published
Maintainers
1
Created
Source

Codex Kimi HardwareX

A complete standalone Codex CLI with Kimi K2 model integration. No external dependencies required - just install and use!

Quick Start

  • Install the package:
npm install -g codex-kimi-hardwarex
  • Get your API key:

    • Visit https://platform.moonshot.cn
    • Create an account if you don't have one
    • Generate your API key from the dashboard
  • Set your API key:

export MOONSHOT_API_KEY="sk-your-actual-api-key-here"
  • Start using it:
codex-kimi

Features

  • Complete standalone package - No external dependencies needed
  • Automatic Kimi K2 configuration - Pre-configured with --provider moonshot --model kimi-k2-0711-preview
  • Node.js compatibility - Works with Node.js v18+ (bypasses v22 requirement)
  • 16MB complete bundle - Includes entire codex-cli with all dependencies

Usage

Basic usage:

codex-kimi

With custom API key:

MOONSHOT_API_KEY="your-key" codex-kimi

With additional arguments:

codex-kimi --help
codex-kimi "Write a hello world program"

Configuration

The package automatically configures:

  • --provider moonshot
  • --model kimi-k2-0711-preview
  • Uses your MOONSHOT_API_KEY environment variable

Requirements

Troubleshooting

API Key Issues

If you see "Invalid Authentication" errors:

  • Verify your API key is valid:
  • Check your environment variable:
    echo $MOONSHOT_API_KEY  # Should show your key
    
  • Re-export if needed:
    export MOONSHOT_API_KEY="sk-your-actual-key"
    

Installation Issues

If you get permission errors during installation:

sudo npm install -g codex-kimi-hardwarex

License

Apache-2.0

Author

HardwareX yecaoyc2019@gmail.com

Keywords

ai

FAQs

Package last updated on 24 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts