Related articles

*   [Diaspora](/index.php/Diaspora "Diaspora")
*   [Rbenv](/index.php/Rbenv "Rbenv")
*   [Ruby](/index.php/Ruby "Ruby")

[Mastodon](https://mastodon.social/) is a free, open-source social network, written in Ruby. A decentralized alternative to commercial platforms, it avoids the risks of a single company monopolizing your communication. Pick a server that you trust — whichever you choose, you can interact with everyone else. Anyone can run their own Mastodon instance and participate in the social network seamlessly.

## Install

### Prerequisites

Add new user `mastodon`

Check [build environment](https://github.com/rbenv/ruby-build/wiki#suggested-build-environment) and then the [Official Install guide](https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md) and prepare your setup by following:

*   [https://github.com/rbenv/rbenv#installation](https://github.com/rbenv/rbenv#installation)
*   [https://github.com/rbenv/ruby-build#installation](https://github.com/rbenv/ruby-build#installation)