Spotify Client which runs in the terminal.
- Linux/MacOS operating system
- Google Chrome browser installed
- Premium Spotify Account
- Created Spotify Application under https://beta.developer.spotify.com/dashboard/applications (set redirect URI to http://localhost:8888/spotify-cli)
Go to https://beta.developer.spotify.com/dashboard/applications, find created earlier Spotify Application, find Client ID and Client Secret, and put them in environment variables
export SPOTIFY_CLIENT_ID=xxxxxxxxxxxxx
export SPOTIFY_SECRET=yyyyyyyyyyyyyyyy
- Download release for your OS/architecture under https://github.com/jedruniu/spotify-cli/releases
- Unpack it (i.e. with
tar -xvf spotify-cli_1.0.1_Darwin_x86_64.tar spotify
) - Run it (
./spotify-cli
)
- Go language installed
- Get repository
go get github.com/jedruniu/spotify-cli
- Go to directory with spotify-cli
cd $GOPATH/src/github.com/jedruniu/spotify-cli
- Install application
go install
- Run application
spotify-cli
go test -v