# Installation

There are several ways for you to install ls-lint without any dependencies.
Linux, MacOS & Windows support out of the box

# cURL

# Linux

curl -sL -o ls-lint https://github.com/loeffel-io/ls-lint/releases/download/v1.11.2/ls-lint-linux && chmod +x ls-lint && ./ls-lint

# MacOS

curl -sL -o ls-lint https://github.com/loeffel-io/ls-lint/releases/download/v1.11.2/ls-lint-darwin && chmod +x ls-lint && ./ls-lint

# Windows

Download the .exe manually from GitHub (opens new window)

ls-lint-windows.exe

# NPM Package (opens new window)

npm install -g @ls-lint/ls-lint # global
npm install @ls-lint/ls-lint # local

# Run

ls-lint # global
node_modules/.bin/ls-lint # local - use backslashs for windows

# NPX

npx @ls-lint/ls-lint

# Docker Image (opens new window)

Based on Google Distroless (opens new window)

docker run --rm -v /path/to/project:/data lslintorg/ls-lint:1.11.2