Last active
February 16, 2022 12:39
-
-
Save justmiles/6977095686a5ef63dd50b31ef938a63d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
set -ex | |
mkdir -p $HOME/.local/bin | |
# Install https://github.com/justmiles/go-get-ssm-params | |
curl -sfLo $HOME/.local/bin/get-ssm-params https://github.com/justmiles/go-get-ssm-params/releases/download/v1.7.0/get-ssm-params.v1.7.0.linux-amd64 && | |
chmod +x $HOME/.local/bin/get-ssm-params | |
# Install https://github.com/justmiles/ssm-parameter-store | |
curl -sfLo - https://github.com/justmiles/ssm-parameter-store/releases/download/v0.0.6/ssm-parameter-store_0.0.6_Linux_x86_64.tar.gz | tar -xzvf - -C $HOME/.local/bin ssm-parameter-store | |
# Install https://github.com/justmiles/ecs-deploy | |
curl -sfLo - https://github.com/justmiles/ecs-deploy/releases/download/v0.2.5/ecs-deploy_0.2.5_Linux_arm64.tar.gz | tar -xzvf - -C $HOME/.local/bin ecs-deploy | |
# Install https://github.com/justmiles/athena-cli | |
curl -sfLo - https://github.com/justmiles/athena-cli/releases/download/v0.1.8/athena-cli_0.1.8_linux_x86_64.tar.gz | tar -xzvf - -C $HOME/.local/bin athena | |
# Install https://github.com/justmiles/ecs-cli | |
curl -sfLo - https://github.com/justmiles/ecs-cli/releases/download/v0.0.20/ecs_0.0.20_Linux_x86_64.tar.gz | tar -xzvf - -C $HOME/.local/bin ecs | |
# Install https://github.com/justmiles/jumpcloud-cli | |
curl -sfLo - https://github.com/justmiles/jumpcloud-cli/releases/download/v0.0.2/jumpcloud-cli_0.0.2_Linux_x86_64.tar.gz | tar -xzvf - -C $HOME/.local/bin jc | |
# Install https://github.com/mithrandie/csvq | |
curl -sfLo - https://github.com/mithrandie/csvq/releases/download/v1.15.2/csvq-v1.15.2-linux-amd64.tar.gz | tar -xzvf - -C $HOME/.local/bin --strip-components=1 csvq-v1.15.2-linux-amd64/csvq | |
# Install https://github.com/pemistahl/grex | |
curl -sfLo - https://github.com/pemistahl/grex/releases/download/v1.3.0/grex-v1.3.0-x86_64-unknown-linux-musl.tar.gz | tar -xzvf - -C $HOME/.local/bin grex | |
# Install gron | |
curl -sfLo - https://github.com/tomnomnom/gron/releases/download/v0.6.1/gron-linux-amd64-0.6.1.tgz | tar -xzvf - -C $HOME/.local/bin | |
# Install whois | |
curl -sfLo - https://github.com/likexian/whois/releases/download/v1.12.1/whois-linux-amd64.zip | busybox unzip -qd $HOME/.local/bin/ - && | |
chmod +x $HOME/.local/bin/whois | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
curl -sfLO https://raw.githubusercontent.com/justmiles/docker-shell-sandbox/master/.zshrc | |
# Install golang | |
export GOLANG_VERSION="1.17" | |
curl -sLO https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz && | |
tar -xzvf go${GOLANG_VERSION}.linux-amd64.tar.gz -C $HOME/.local && | |
echo 'export PATH=$PATH:$HOME/.local/go/bin' >>.zshrc && | |
rm -rf go*.tar.gz | |
# Install kpwgen | |
$HOME/.local/go/bin/go install github.com/lpar/kpwgen@latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment