Skip to content

Instantly share code, notes, and snippets.

@ObserverOfTime
Last active April 13, 2024 17:54
Show Gist options
  • Star 251 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save ObserverOfTime/d7e60eb9aa7fe837545c8cb77cf31172 to your computer and use it in GitHub Desktop.
Save ObserverOfTime/d7e60eb9aa7fe837545c8cb77cf31172 to your computer and use it in GitHub Desktop.
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

Install dependencies

Curl

Install using your package manager

Install betterdiscordctl

$ curl -O https://raw.githubusercontent.com/bb010g/betterdiscordctl/master/betterdiscordctl
$ chmod +x betterdiscordctl
$ sudo mv betterdiscordctl /usr/local/bin

You can then keep betterdiscordctl up to date with this command:

$ sudo betterdiscordctl self-upgrade

Install BetterDiscord

Replace [COMMAND] with install to install BD for the first time, reinstall to reinstall BD after a Discord update, or uninstall to uninstall an existing installation.

  • For Stable
$ betterdiscordctl [COMMAND]
  • For PTB
$ betterdiscordctl --flavor PTB [COMMAND]
  • For Canary
$ betterdiscordctl --flavor Canary [COMMAND]
  • For Snap
$ betterdiscordctl --d-install snap [COMMAND]
  • For Flatpak
$ betterdiscordctl --d-install flatpak [COMMAND]

Credits

BetterDiscord by Jiiks

Bandaged BD by Zerebos (rauenzi)

@sayand0122
Copy link

Thanks @ljcoogan and @Saniee for pointing those out and here i was thinking there is something wrong with my linux version or something

@c8hunderscore
Copy link

:c

@Arcane-Cube
Copy link

I seem to be getting an error
Option

@alucardromero
Copy link

Looks like latest Discord update (at least for Linux) makes the application a ... web wrapper? I was given the orange banner advising I should install the desktop version...which I thought I did. :P This would also explain why BD says its installed while the options are nowhere to be found in the Settings. Don't know if that helps.

@HeyaGlitz
Copy link

I'm back again, forgot to mention that yes, I too do get an alert that I can download the desktop version, despite being on the desktop version, why and how would they include that in the desktop app anyways?

@SpectrixDev
Copy link

Looks like latest Discord update (at least for Linux) makes the application a ... web wrapper? I was given the orange banner advising I should install the desktop version...which I thought I did. :P This would also explain why BD says its installed while the options are nowhere to be found in the Settings. Don't know if that helps.

Same thing for me, running on Arch with flatpak

2021-04-05-113428_1864x109_scrot

@Saniee
Copy link

Saniee commented Apr 5, 2021

Screenshot_20210405_114440
Please all people here that are experiencing problems, download the Beta version/installer which works here = https://github.com/BetterDiscord/Installer/releases/latest

@SpectrixDev
Copy link

This resolves all the problems. This gist is now out of date, rather just use the installer.

@Mimich-FR
Copy link

Yes, the new official installer works perfectly.
In the past i use betterdiscordctl(thanks for work bb010g) but is finish.

@ObserverOfTime
Copy link
Author

betterdiscordctl and this gist have now been updated.

@eiglow
Copy link

eiglow commented May 27, 2021

The gist says to use betterdiscordctl -i flatpak install.
I tried to run that, and I just got ERROR: Unknown top-level option: -i.

EDIT: betterdiscordctl --d-install flatpak install works. Took me a few tries to figure it out though, imo it's a bit unclear.

@8jd
Copy link

8jd commented May 28, 2021

i need help when i do betterdiscordctl --flavor Canary install it says ERROR: Unknown top-level option: --flavor
Use betterdiscordctl --help for more information. any fix? btw i installed the appimage
.

@HeyaGlitz
Copy link

@8jd --flavor is not a valid option, use -f
betterdiscordctl -f canary install

@RandomExplosion
Copy link

RandomExplosion commented Jul 21, 2021

is there any plan to make this work with discord_arch_electron

@RandomExplosion
Copy link

i'm referring to the official aur repo by that name

@SmolAlli
Copy link

SmolAlli commented Nov 3, 2021

Please update it to link to the current BetterDiscord repository (https://github.com/BetterDiscord/BetterDiscord)

@BLVCKLVND
Copy link

How do I put a theme on BetterDiscord Linux Version?

@SmolAlli
Copy link

SmolAlli commented Dec 9, 2021

@BLVCKLVND Join the BetterDiscord server for help on that regard here

@kyb3rcipher
Copy link

working on Ubuntu with flatpak
command:

betterdiscordctl --d-install flatpak install

@Hri7566
Copy link

Hri7566 commented Feb 8, 2022

using the snap version of discord, i have absolutely no clue where to find the plugins folder, and the button in the plugins menu does nothing

@Vcyberpunk
Copy link

betterdiscordctl, или как быстро сломать discord

@tw1nkey
Copy link

tw1nkey commented Mar 10, 2022

Ubuntu says i don't have discord install
image

@PedroMTSilva
Copy link

PedroMTSilva commented Mar 15, 2022

Hey, i had this problem too. To solve it download the file from their website, it will download as an .appImage file, it shoud be this: "BetterDiscord-Linux.AppImage" go to your downloads directory and do the following:
$ chmod +x BetterDiscord-Linux.AppImage
$ ./BetterDiscord-Linux.AppImage
And it should run the normal installer with no problems. Now the problem that i have is that it's not finding the discord install to install BD. :/

EDIT: after reading a bit up above, the command betterdiscordctl --d-install flatpak install works for me.

@saku-bruh
Copy link

Hey, i had this problem too. To solve it download the file from their website, it will download as an .appImage file, it shoud be this: "BetterDiscord-Linux.AppImage" go to your downloads directory and do the following: $ chmod +x BetterDiscord-Linux.AppImage $ ./BetterDiscord-Linux.AppImage And it should run the normal installer with no problems. Now the problem that i have is that it's not finding the discord install to install BD. :/

EDIT: after reading a bit up above, the command betterdiscordctl --d-install flatpak install works for me.

thats so god damn dumb lmao should revise the tutorial as its kind of useless aside from the install atm

@shinji257
Copy link

Thanks for this. I'm on Linux Mint and using the Flatpak version of Discord. Went and used betterdiscordctl and had it install for flatpak and it worked first try. You do not need to download the Better Discord AppImage installer as betterdiscordctl takes care of installing it for you. Yay!

This is all part of my (inevitable) transition to Linux Mint.

@teunissenstefan
Copy link

I'm getting "/bin/bash: error reading input file: Permission denied" when using betterdiscordctl --d-install snap install. Any ideas?

@soraA420
Copy link

betterdiscordctl --flavor does not work anymore. only betterdiscordctl -f does

@Danielk14565
Copy link

eay

@mtfy
Copy link

mtfy commented Jun 10, 2022

@teunissenstefan

I'm getting "/bin/bash: error reading input file: Permission denied" when using betterdiscordctl --d-install snap install. Any ideas?

Try running the command as super user. Simply prefix the command with sudo, for example betterdiscordctl --d-install snap install.

@Floofy09
Copy link

how to get plugins?

@kaosine
Copy link

kaosine commented Jul 19, 2022

This works better than the default installer for me except it's missing the beta branch of flatpak....

@hiromiya1
Copy link

7

@WalaGithub
Copy link

Installation process in terminal is normal but does not work at all after rebooting on my Debian 12 build after update

@Matty-exe
Copy link

i installed it on ubuntu 22.04.4, but the section betterdiscord don't apear, why and how can i solve ?

@ItsCDubb
Copy link

What's the theme folder location?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment