Assuming you have node
installed, I would give wscat
a shot; it is simple, intuitive, and powerful. Otherwise, @Pavel's answer has an abundance of venerable websocket client alternatives.
# install
npm install -g wscat
# use
wscat -c "wss://ws-feed.gdax.com"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…