Skip to content

Installation

khanhas edited this page Jun 7, 2019 · 3 revisions

Homebrew/LinuxBrew

brew install khanhas/tap/spicetify-cli

AUR

yay -S spicetify-cli

Windows (pre-built)

Open Powershell, run:

Invoke-WebRequest "https://raw.githubusercontent.com/khanhas/spicetify-cli/master/install.ps1" | Invoke-Expression

Linux or MacOS (prebuilt)

  1. Download linux or darwin package from: https://github.com/khanhas/spicetify-cli/releases
  2. In terminal, run following commands:
mkdir ~/spicetify
tar xzf ~/Downloads/spicetify-x.x.x-linux-amd64.tar.gz -C ~/spicetify

with ~/Downloads/spicetify-x.x.x.tar.gz is direct path to just downloaded package.

Optionally, run:

sudo ln -s ~/spicetify/spicetify /usr/bin/spicetify

Now you can run spicetify everywhere.

Note for Linux users

Spotify installed from AUR

Before applying Spicetify, you need to gain write permission on Spotify files, by running command:

sudo chmod 777 /opt/spotify -R

Note: Your Spotify client location might be different.

Spotify installed from Snap

Apps installed from Snap cannot be modified so you need to follow these steps to get Spicetify working:

  1. Uninstall Spotify in Snap or run command snap remove spotify
  2. Remove spicetify folder: rm -r ~/.config/spicetify
  3. Open http://repository.spotify.com/pool/non-free/s/spotify-client/
    You can see there are 2 deb files, for i386 and amd64. You should pick amd64 if your distro is 64bit version because seems like they stopped upgrading the client for i386.
  4. Install deb file you just download. Might take a bit.
  5. After Spotify's installed successfully, you need to gain write permission on Spotify files, by running command:
sudo chmod 777 /usr/share/spotify -R

Note: Your Spotify client location might be different.

Spotify installed from Flatpak

  • You need to find where Flatpak stores your Spotify client. As in Manjaro, it stores mine in:
/var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/
  • Yours might be different, try these steps:
  1. Find flatpak installation place with command: flatpak --installations
  2. Go to that directory and dig in until you find folder which contain items like these:
img

After you have Spotify location, set spotify_path in config file to that directory:

img
  • Finally in terminal, set read/write permission for it:
sudo chmod 777 -R /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/
You can’t perform that action at this time.