Autar
Download the CLI, authenticate, connect your source provider, and scan your repositories from the terminal.
tar -xzf <downloaded-package>.tar.gz chmod +x autar sudo install autar /usr/local/bin/autar autar --version
On Windows, extract the ZIP file and add the directory containing autar.exe to your PATH.
Once installed, later versions are one command away. It verifies the download before replacing anything.
autar update
autar login
This opens browser login and saves a reusable local session. You can also launch the TUI with autar and press l to log in.
Create a personal access token in your Autar API token settings and provide it through the environment.
export AUTAR_TOKEN="your-token"
You must connect and synchronize a source provider before Autar can list your repositories. This example uses GitHub.
autar providers connect github autar providers sync github autar repos
Replace github with gitlab or bitbucket when appropriate.
Open the TUI, scan a repository or ZIP archive, inspect a result, or analyze commit history for recurring work.
autar autar scan owner/repo autar scan --zip ./project.zip autar status <job-id> autar report <job-id> --output md autar patterns owner/repo --transforms ./autar-transforms
The scan command returns the job ID used by status and report.
PACKAGE='{{ curlPackage }}'
curl --fail --location --globoff --proto '=https' --proto-redir '=https' \
--output "${PACKAGE}" \
'{{ curlUrl }}'
autar report <job-id> autar report <job-id> --output md autar report <job-id> --output json