Skip to main content

System Requirements

Node.js

Version 14.0.0 or higher

npm

Comes with Node.js

Operating System

Windows, macOS, or Linux

Disk Space

~50MB for installation

Installation Methods

Install KafkaCode globally to use it anywhere on your system:
Verify the installation:
Global installation is recommended if you plan to use KafkaCode across multiple projects.

Platform-Specific Instructions

First, ensure Node.js is installed:
Then install KafkaCode:

Permissions Issues?

If you encounter permission errors, use one of these solutions:Option 1: Use a version manager like nvm (recommended)
Option 2: Configure npm to use a different directory

Ubuntu/Debian

Fedora/RHEL/CentOS

  1. Download Node.js from nodejs.org
  2. Run the installer (.msi file)
  3. Open Command Prompt or PowerShell
  4. Install KafkaCode:

Using Windows Package Manager (winget)

Using Chocolatey

On Windows, you may need to run your terminal as Administrator for global installations.

Verifying Installation

After installation, verify that KafkaCode is working correctly:
1

Check Version

Should output: 1.2.0 (or your installed version)
2

View Help

Should display the help menu with available commands
3

Run Test Scan

Should detect the AWS key and display a report

Updating KafkaCode

Keep KafkaCode up to date to get the latest features and security improvements:

Uninstallation

If you need to remove KafkaCode:

Troubleshooting

If you get command not found: kafkacode after installation:
  1. Check your PATH includes npm’s global bin directory:
  2. Add npm’s bin directory to your PATH:
  3. Alternatively, use npx:
If you encounter EACCES permission errors:
  1. Never use sudo with npm - This can cause permission issues
  2. Use nvm (Node Version Manager) instead:
  3. Or configure npm to use a different directory (see platform-specific instructions)
If installation fails due to network issues:
  1. Configure npm proxy:
  2. Or disable SSL verification (not recommended for production):
  3. Clear npm cache:
If you’re running an old version of Node.js:
  1. Check your current version:
  2. KafkaCode requires Node.js 14.0.0 or higher
  3. Update Node.js:
    • Using nvm: nvm install node
    • Using package manager: Reinstall from nodejs.org

Next Steps

Quickstart Guide

Run your first scan in 5 minutes

CLI Options

Learn about all available options

CI/CD Integration

Integrate into your pipeline

Troubleshooting

Solve common issues