This project is a PowerShell script for automatically installing Spotify and Spicetify along with some useful extensions.
- Automatic installation of Spotify
- Installation of Spicetify CLI
- Configuration of Spicetify extensions
- PowerShell 5.0 or higher
- Internet access to download the software
- Download the
install_spotify.ps1
file. - Right-click the
install_spotify.ps1
file and select Run with PowerShell. (Be sure its NOT running as administrator.) - Select your desired options from the displayed menu.
- download the
Spotify marketplace configs.json
file and import it to Marketplace Settings after you install Spicetify. This file includes premium features that can be only enable on premium account.
In windows 11 there is an issue in PowerShell that occurs when script execution is restricted due to the system's execution policy. By default, Windows applies an execution policy that prevents untrusted scripts from running to protect system security. The error message typically looks like this:
File C:\path\to\script.ps1 cannot be loaded because running scripts is disabled on this system.
This happens because of the Execution Policy settings in PowerShell. The execution policy determines what kinds of scripts can run and under what conditions. Common execution policy modes are:
- Restricted (default): No scripts are allowed to run.
- AllSigned: Only scripts with a valid digital signature can run.
- RemoteSigned: Local scripts run without a signature, but scripts downloaded from the internet require a signature.
- Unrestricted: All scripts are allowed to run, but you'll get a warning for those downloaded from the internet.
- Bypass: No restrictions; everything can run.
To change the execution policy, you can use the Set-ExecutionPolicy command. Follow these steps:
-
Open PowerShell as Administrator.
-
Run one of the following commands based on your needs:
-
USE THIS LINE !!!! - To allow all scripts (not secure, recommended only for testing or personal use):
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
-
To allow safer scripts:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
-
-
If prompted for confirmation, type
A
and If prompted for Install.all.in.one.ps1, typeR
.
To see the current Execution Policy settings, use this command:
Get-ExecutionPolicy -List
- Always use RemoteSigned or AllSigned policies unless you're in a testing environment.
- If you set the policy to Unrestricted, remember to revert it to a safer policy after completing your work.
If spotify shows a black screen, on the taskbar right click on spotify and on the Troubleshooting section click reload.(This is spicetify bug)