Skip to content

Instantly share code, notes, and snippets.

@shawngmc
Created November 14, 2022 21:26
Show Gist options
  • Save shawngmc/b2fc5bac5fd285d6ed45a340a38cd82c to your computer and use it in GitHub Desktop.
Save shawngmc/b2fc5bac5fd285d6ed45a340a38cd82c to your computer and use it in GitHub Desktop.
Chromebook packages
# Updates
sudo apt-get update
# Prereqs
# Gnome-keyring - vscode uses, local secrets management
sudo apt-get install -y \
gnome-keyring
# Node/NPM/NVM
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
source .bashrc
nvm install node
npm update -g npm
# Python/Pipx
sudo apt-get install python-pip python3-pip
pip install -U pip
py -m pip install --user pipx
py -m pipx ensurepath
pip install --user virtualenv
echo "Adding virtualenv to your local PATH ..."
[[ -f ~/.profile ]] || touch ~/.profile
if grep -Fq ".local/bin" ~/.profile
then
echo "Path already seems to exist in ~/.profile. Skipping this step."
else
echo -e '\nexport PATH="$PATH:$HOME/.local/bin"' >> ~/.profile
fi
# SQLite
sudo apt-get install -y sqlite3
# VSCode
wget -q -O vscode.deb https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64
sudo sudo apt install ./vscode.deb
rm ./vscode.deb
# Notes
# External Drives: https://www.makeuseof.com/use-external-drives-in-chromebook-linux/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment