
If you got the app from the Windows Store, here’s what to do: In the “Local” folder, click on “Spotify.”.
Go to your “local disk” (usually labeled C). If you have downloaded Spotify from the official website, do the following: The cache deletion process will depend on where you downloaded your Spotify version. Windows users can get Spotify from the streamer’s official website or the Windows store. To delete the offline cache, go into “Library.”. Delete the folder located inside “” Drag and drop the folder to the “Trash Bin” or use “Control+click” to access the menu and select “Delete.”. Search and select the “Cache” folder to open it. Double-click on your Macintosh and select “Users.” Then choose the h profile you’re clearing the cache on. Open Finder and click “Go” at the top of your Mac. Once you have your client access token, edit the ~/.spotify-cli-config.json with GeniusAPIClientKey keyĪlbum artwork will also be displayed if you're using iTerm 2.9+. In order to be able to use the lyrics command, you will need to get a Client Access Token for the Genius API. Options: -h, -help output usage information Lyrics|ly Display the lyrics of currently playing track Share|sh Display share and copy value to clipboard Position|pos Get or set player position, e.g: pos 1:23 Turn the volume down by given amount (0-100), default:10 + Turn the volume up by given amount (0-100), default:10 Play Continue playing current track or play the track with the provided URI Info|i Display information about the current track along with player status Recommend|rec Recommend other songs based on the song currently playing. Playlist|pl Get user's public playlists, by default use username in config.json DemoĬommands: search|s Search for a (searches tracks by default) Once you have created a new Spotify Application, just run the Spotify CLI with spotify token command to set your tokens. You can do this by going to developer dashboard and then creating a new application. In order to use the client, you'll need to set Spotify Credentials. Installation npm install spotify-cli-mac -gĬlient will be available under the alias spotify Set-up Only works with Mac Os as it relies on AppleScript behind the scenes to communicate with the Spotify app. A nodejs app to control Spotify without leaving your terminal.