---
title: Install 2fa on Linux | Snap Store
description: Get the latest version of 2fa for Linux - Two-factor authentication agent
url: https://snapcraft.io/2fa
---

# 2fa

[Snapcrafters](https://snapcraft.io/publisher/snapcrafters "View all snaps from Snapcrafters")

* [Snapcrafters](https://snapcraft.io/publisher/snapcrafters "View all snaps from Snapcrafters")

latest/stable 1.0.0

Install latest/stable of 2fa

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 2fa
```

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

---

### Package name

* 2fa

---

### License

* MIT

---

### Last updated

* 12 December 2017 - latest/stable
* 19 February 2019 - latest/candidate

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

---

### Report a bug

* [github.com/konrad11901/2fa-snap/issues](https://github.com/konrad11901/2fa-snap/issues "https://github.com/konrad11901/2fa-snap/issues")

---

##### Report a Snap Store violation

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

---

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

#### Two-factor authentication agent

2fa is a tool which provides two-factor authentication on the command line.

**How to use**

```
2fa -add [-7] [-8] [-hotp] name
2fa -list
2fa name
```

Unofficial snap of <https://github.com/rsc/2fa>

---

## Install 2fa 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/2fa/arch)

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

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

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

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

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

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

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

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

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

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

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

[### Raspberry Pi](https://snapcraft.io/install/2fa/raspbian)

---

## More from Snapcrafters

[#### terragrunt

build, change, and version infrastructure safely and efficiently](https://snapcraft.io/terragrunt "terragrunt – build, change, and version infrastructure safely and efficiently")

[#### ddgr

DuckDuckGo from the terminal](https://snapcraft.io/ddgr "ddgr – DuckDuckGo from the terminal")

[#### ScummVM

ScummVM is a program which allows you to run numerous classic graphical point-and-click adventure games and role-playing games](https://snapcraft.io/scummvm "ScummVM – ScummVM is a program which allows you to run numerous classic graphical point-and-click adventure games and role-playing games")

[#### Spelunky

Spelunky Classic HD](https://snapcraft.io/spelunky "Spelunky – Spelunky Classic HD")

[View all snaps](https://snapcraft.io/publisher/snapcrafters "View all snaps from Snapcrafters")
