Last active
March 31, 2025 15:43
-
-
Save nyteshade/f5bb148285f1bcaed1788999aae10309 to your computer and use it in GitHub Desktop.
ALS AWS Quick Setup Script
This file contains hidden or 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
# Setup nodejs | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash | |
source $HOME/.bashrc | |
nvm install 23 | |
# Setup prompt | |
git clone https://github.com/nyteshade/niceps1 | |
cd niceps1/source | |
sudo gcc -o /usr/local/bin/getCIP getcip.c | |
cd .. | |
source niceps1 | |
cd | |
printf "\n# niceps1\nsource ~/niceps1/niceps1\n" >> ~/.bashrc | |
# 1Password | |
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc | |
sudo sh -c 'echo -e "[1password]\nname=1Password\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://downloads.1password.com/linux/keys/1password.asc" > /etc/yum.repos.d/1password.repo' | |
sudo yum install -y 1password | |
# Download 1Passsword CLI | |
sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc | |
sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"https://downloads.1password.com/linux/keys/1password.asc\"" > /etc/yum.repos.d/1password.repo' | |
sudo dnf check-update -y 1password-cli && sudo dnf install -y 1password-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment