Skip to content

Instantly share code, notes, and snippets.

@davidmukiibi
Last active December 4, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidmukiibi/9f23d55ba9b94cc986a96f3b1db5ab7f to your computer and use it in GitHub Desktop.
Save davidmukiibi/9f23d55ba9b94cc986a96f3b1db5ab7f to your computer and use it in GitHub Desktop.
This bash script only installs k6
#!/bin/bash
set -ex
install_k6() {
apt-get update
apt-get install dirmngr --install-recommends
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
echo "deb https://dl.bintray.com/loadimpact/deb stable main" | sudo tee -a /etc/apt/sources.list
apt-get update
apt-get install k6
}
main() {
install_k6
}
main "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment