Created
August 9, 2019 01:56
-
-
Save kuhnza/99cde0196bd0467b6fe1ffb99481caaf to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# | |
# Configure Chrome OS Linux env just the way I like it. Must be run as sudo. | |
# | |
set -ex | |
# Install Powerline fonts | |
apr install fonts-powerline | |
# Install ZSH and Oh My Zsh | |
apt install -y zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
echo "\nDEFAULT_USER=$(whoami)" >> ~/.zshrc | |
# Install nodejs | |
curl -sL https://deb.nodesource.com/setup_12.x | bash - | |
apt install -y nodejs | |
mkdir ~/.npm-global | |
npm config set prefix '~/.npm-global' | |
echo "\nexport PATH=~/.npm-global/bin:$PATH" >> ~/.zshrc | |
# Download VSCode deb | |
wget -O vscode.deb https://go.microsoft.com/fwlink/?LinkID=760868 | |
apt install ./vscode.deb | |
# Reload ZSH config | |
source ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment