---
title: Install Rubocop on Linux | Snap Store
description: Get the latest version of Rubocop for Linux - A Ruby linter and formatter
url: https://snapcraft.io/rubocop
---

# Rubocop

[Federico Quattrin (federicoquattrin)](https://snapcraft.io/publisher/federicoquattrin "View all snaps from Federico Quattrin (federicoquattrin)")

* [Federico Quattrin (federicoquattrin)](https://snapcraft.io/publisher/federicoquattrin "View all snaps from Federico Quattrin (federicoquattrin)")
* [Security](https://snapcraft.io/search?categories=security)

latest/edge 1.65.1

Install latest/edge of Rubocop

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install rubocop --edge
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

Rubocop is only available on the unstable edge channel. It could break and change often.

---

### Package name

* rubocop

---

### License

* unset

---

### Last updated

* 7 August 2024 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/rubocop#report-snap-modal)

---

* [Description](https://snapcraft.io/rubocop#tab-description)
* [Security](https://snapcraft.io/rubocop#tab-security)

#### A Ruby linter and formatter

Rubocop is a Ruby linter and formatter. It has a series of checks for aspects
such as style, code metrics, and naming. Rubocop also verifies for security
concerns: unsafe evaluation, YAML deserializations, and many more. The
formatter capability can be used to fix many of the issues automatically.

---

## Install Rubocop on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/rubocop/arch)

[### CentOS](https://snapcraft.io/install/rubocop/centos)

[### Debian](https://snapcraft.io/install/rubocop/debian)

[### elementary OS](https://snapcraft.io/install/rubocop/elementary)

[### Fedora](https://snapcraft.io/install/rubocop/fedora)

[### KDE Neon](https://snapcraft.io/install/rubocop/kde-neon)

[### Kubuntu](https://snapcraft.io/install/rubocop/kubuntu)

[### Manjaro](https://snapcraft.io/install/rubocop/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/rubocop/pop)

[### openSUSE](https://snapcraft.io/install/rubocop/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/rubocop/rhel)

[### Ubuntu](https://snapcraft.io/install/rubocop/ubuntu)
