sudo apt update
sudo apt upgrade
sudo apt install unzip
curl -s https://ohmyposh.dev/install.sh | bash -s
(exit and login again so that oh-my-posh is now in path)
Add this line to .profile
eval "$(oh-my-posh --init --shell bash --config /mnt/c/Users/david/OneDrive/Documents/ohmyposh.json)"
# Install pre-requisite packages.
sudo apt-get install -y wget apt-transport-https software-properties-common
# Get the version of Ubuntu
source /etc/os-release
# Download the Microsoft repository keys
wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb
# Register the Microsoft repository keys
sudo dpkg -i packages-microsoft-prod.deb
# Delete the Microsoft repository keys file
rm packages-microsoft-prod.deb
# Update the list of packages after we added packages.microsoft.com
sudo apt-get update
sudo apt-get install -y powershell
https://git-scm.com/downloads/linux
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt upgrade
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
(exist and login)
nvm install --lts