Note: Currently you will need the Go toolchain installed as we don’t publish binaries yet.
Client-side
- Run
go install go.salty.im/saltyim/cmd/salty-chat@latest
- Add
$GOPATH/bin
to your$PATH
with:
1# This is most likely already set by the toolchain itself
2export $GOPATH="$HOME/go"
3
4# This is what you should actually do
5export PATH="$PATH:$GOPATH/bin"
- Run
salty-chat make-user <username> <broker-url>
or if asaltyd
endpoint exists, then usesalty-chat register <username>@<host> <broker-url>
instead
or
- Install
msgbus
,salty
andsalty-keygen
with:
1go install git.mills.io/prologic/msgbus/cmd/msgbus@latest
2go install go.salty.io/salty/cmd/salty@latest
3go install go.salty.io/salty/cmd/salty-keygen@latest
-
Install
jq
either from source or from your distribution’s or OS’s package manager. -
Fetch the salty-chat.sh script and place it somewhere accessible into your
$PATH
with the proper execution bit set (mode 0755) -
Run
salty-chat.sh make-user <username>@<host>
or if asaltyd
endpoint exists, then usesalty-chat.sh register <username>@<host>
instead.
Server-side
Deployment of a saltyd
broker may vary between platforms, the following being listed below:
How to request SSL/TLS certificates and such won’t be covered by this guide.