-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptional_installs.sh
executable file
·48 lines (34 loc) · 1.38 KB
/
optional_installs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env bash
set -e # Exit immediately if a command exits with a non-zero status
log() {
echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')] $*"
}
# Install GTFOB lookup
log "Installing GTFOB..."
pipx install git+https://github.com/nccgroup/GTFOBLookup.git
# Binsider
cargo install binsider
# Install kanata for home row mods
cargo install kanata
#Install tgpt
curl -sSL https://raw.githubusercontent.com/aandrew-me/tgpt/main/install | bash -s /usr/local/bin
# Install atuin
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
# Download the Mullvad signing key
sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
# Add the Mullvad repository server to apt
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$(dpkg --print-architecture)] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list
# Install the package
sudo apt update
sudo apt install mullvad-vpn
# Install ollama & install deepseek-coder-v2
curl -fsSL https://ollama.com/install.sh | sh
ollama run deepseek-coder-v2
# Final update and clean up
log "Final update and clean up..."
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y
# Source .bashrc
log "Sourcing .bashrc..."
source $HOME/.bashrc
# Display message
figlet h4ck3r m4ch1n3 | lolcat