how I setup my computer for development
I spend some time to set up my computer to make it easier to write programs
what is covered?
These chapters show how I setup any computer for development
they cover the following
Windows requirements
If you are using a Windows computer, install Windows Subsystem for Linux
If you cannot install Windows Subsystem for Linux, do not worry, every chapter of the book has something for you
Linux/Windows Subsystem for Linux requirements
Attention
Do this only if you are using Linux or Windows Subsystem for Linux. MacOS users should not do this section
Open a terminal then type this to update the Linux package manager
sudo apt updateTip
you can do a full upgrade if you want
sudo apt full-upgrade --yestype this in the terminal to install Python
sudo apt install python3 python3-venv curl --yestype this to install the uv Python package manager
curl -LsSf https://astral.sh/uv/install.sh | shafter it installs, there is a message about adding it to your path, run this in the terminal
source $HOME/.local/bin/envuv is a program that is used to install Python packages
-
sudo apt install tree --yestree is a program for showing directory structure as a tree
-
sudo apt install git --yesgit is a program for keeping track of changes I make in a project, it might already be installed
Click HERE to see how I setup my Integrated Development Environment (IDE)
Windows without Windows Subsystem Linux requirements
Attention
Do this only if you are using Windows and could not install Windows Subsystem for Linux
download and install git, git is a program for keeping track of changes I make in a project
open PowerShell and copy and paste the text below to install the uv Python package manager
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"uv is a program that is used to install Python packages
Click HERE to see how I setup my Integrated Development Environment (IDE)
MacOS requirements
copy and paste this in a terminal to install brew (The Missing Package Manager for MacOS), if you do not have it already
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"the terminal shows instructions about how to add brew to your path
after installation it has instructions, copy and paste the 3 lines it shows in the terminal then use return on the keyboard to run it, the terminal will not show anything if the commands run successfully
Open a terminal then type this to install the uv Python package manager
brew install uvuv is a program that is used to install Python packages
-
brew install treetree is a program for showing directory structure as a tree
install git with Xcode Command Line Tools
xcode-select --installgit is a program for keeping track of changes I make in a project
Click HERE to see how I setup my Integrated Development Environment (IDE)
what is next?
Click Here to setup your Integrated Development Environment the same way I set mine up