JSPM

  • Created
  • Published
  • Downloads 734
  • Score
    100M100P100Q92448F
  • License MIT

Code Forge CLI - an AI-powered coding assistant

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (forgecode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Code Forge CLI

    Code Forge is an AI-powered coding assistant CLI that helps you write, review, and understand code.

    Installation

    You can install Code Forge globally to use it with the simple forge command:

    npm install -g forgecode

    After installation, you can run the command from anywhere:

    forge --help

    Using npx (No Installation)

    If you prefer not to install anything globally, you can use npx to run Code Forge directly:

    npx forgecode

    Both methods will automatically download the appropriate binary for your platform.

    Supported Platforms

    • macOS (Intel, Apple Silicon)
    • Linux (x64, ARM64)
    • Windows (x64, ARM64)

    Usage

    Once installed, you can use the forge command:

    # If installed globally
    forge --version
    
    # Or with npx
    npx forgecode --version

    Troubleshooting

    Linux glibc Compatibility Issues

    If you encounter errors like:

    /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.XX' not found

    This means the binary requires a newer version of glibc than what's available on your system. You can use one of these solutions:

    1. Force using the musl binary (recommended for environments like Codespaces):

      # Set environment variable to force musl before installing
      export FORCE_MUSL=1
      npm install -g forgecode
    2. Update your system's glibc (if you have administrative access)

    3. Use a Docker container with a newer Linux distribution

    The musl binary has fewer system dependencies and should work on most Linux systems regardless of glibc version.

    License

    MIT