Setting up Local Scanner on your Mac
Sander Keymeulen avatar
Written by Sander Keymeulen
Updated over a week ago

The Aikido Security Local Scanner is a tool that enables you to perform Aikido Security scans within your environment, ensuring your code never leaves your premises. The scans take place locally, and the results are then uploaded to the Aikido Security platform. This setup allows you to scan any repos locally own your own machine.


We currently support the ARM64 operating system architecture. This is used on newer Macs built on Apple Silicon, shipped in late 2020 and beyond.

Temporary folder​

The scanner creates a temporary local folder (default .aikidotmp) to perform certain actions:

  • Copy certain lockfiles to run efficient scanning.

  • Write the results of the scanners.

This folder is cleaned up after the scanning is finished.

In addition, some files are copied to the temporary operating directory. Ensure that enough space is available; we recommend a minimum of 250MB.​

How to set up Local Scanning

1. Get your authentication token

  1. Generate an authentication token and copy. Note that you will only be able to view this token once.

  2. Add this token as argument --apikey when running the Local Scanner in your project .

2. Adding the Local Scanner to your project

Download the local scanner binary from the Aikido UI.

3. Running the Local Scanner

Now all that is left to run the scanner on your repository.

./aikido-local-scanner scan ./ --apikey AIK_CI_xxx --repositoryname DemoApp --branchname main

4. Check your scanning results

After your first scan is done, you can go to the Aikido Feed to check out your results. A repository with the name you specified will have been created, containing all results from the scanning.

Did this answer your question?