Skip to main content
Follow the steps below to install the CodeAnt AI CLI:
  1. Install CodeAnt CLI: Install CodeAnt CLI globally using npm:
    npm install -g codeant-cli
    
    Alternatively, install from source for local development:
    git clone https://github.com/codeantai/codeant-cli.git
    cd codeant-cli
    npm install
    npm link
    
  2. Authenticate: Login to your CodeAnt account:
    codeant login
    
    This will open a browser window for authentication.
  3. Verify Installation: Confirm the CLI is installed correctly:
    codeant --version
    codeant --help
    
  4. Test Functionality: Scan your staged files for secrets:
    codeant secrets
    
The CLI is now ready to scan your code for security vulnerabilities and exposed secrets.