Skip to content

Instantly share code, notes, and snippets.

@CrustyBarnacle
Last active May 29, 2023 06:02
Show Gist options
  • Save CrustyBarnacle/d21252366fccd873bec70469e986a0b7 to your computer and use it in GitHub Desktop.
Save CrustyBarnacle/d21252366fccd873bec70469e986a0b7 to your computer and use it in GitHub Desktop.
Get that new Ubuntu-based install configured!
#!/bin/bash
# APT packages to install
echo 'Installing apt packages...'
sudo apt install -y bat python3 python3-pip python3.10-venv xclip zsh
# Flatpak apps
echo 'Installing flatpak applications...'
flatpak install -y foliate joplin
# python pip pipx poetry
echo 'Installing pip/x, poetry...'
python3 -m pip install --user pipx
python3 -m pipx ensurepath
# reload zsh to get updated PATH
# But... we're in BASH :-p
#. ~/.zshrc
. ~/.bashrc
pipx install poetry
# Create custom dirs
echo 'Creating ~/Bin, ~/Projects'
mkdir ~/Bin ~/Projects
# Other install methods (curl/Git/Wget)
# oh-my-zsh
echo 'oh-my-zsh install...'
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@CrustyBarnacle
Copy link
Author

CrustyBarnacle commented May 26, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment