How do I install Ubuntu on a new machine?
· 1 min read · 189 words
Viet-Anh maintains this note as an instruction to install Ubuntu on a new machine and setup development environment as fast as possible. This note contains my autonomous scripts, and instructions to install necessary packages that I often use.
- Supported Ubuntu versions: 20.04 -> 24.04. These instructions may work with other versions too.
Install most packages using a script
Below is my script to quickly install my environment with popular packages. You can copy and modify it a little to fit yours. You can save this script as install_ubuntu_packages.sh and use command sh install_ubuntu_packages.sh to install these packages.
Setup other packages
- Cursor AI IDE: https://gist.github.com/vietanhdev/ebe561753d32b76730a880f8a5018227.
- Fira Code - my favorite font for VS Code /notes/installation/install-firacode-fonts.
- ZSH - my favorite shell: /notes/installation/zsh-on-ubuntu.
Keep reading
- My development environment on macOS - Macbook Air M1
My macOS setup note for a Macbook Air M1: Homebrew, daily apps, coding IDEs, and a ZSH plus iTerm2 terminal for a full development environment.
- Install Zsh and Auto suggestion plugin for Ubuntu
Replacing bash with Zsh on Ubuntu: install the shell, add Oh My Zsh, and wire up the zsh-autosuggestions plugin. Three steps, and the shell setup I keep coming back to.
