-
Notifications
You must be signed in to change notification settings - Fork 0
Requirements
- Python >= 3.10
- Angular = 18.2.x
- Node.js >= 18.9.1
- TypeScript >= 5.4.0, <5.6.0
-
Download the Python Installer:
- Visit the official Python website.
- Ensure you are downloading Python version 3.10 or higher (preferably 3.12).
- Download the
.exe
installer for your system.
-
Run the Installer:
- Open the downloaded Python installer.
- Check the box that says "Add Python to PATH" at the bottom of the installer window.
- Click "Customize Installation" if you want to select additional features like pip or IDLE, or simply click "Install Now" for the default options.
-
Verify Installation:
-
Open Command Prompt or PowerShell.
-
Run:
python --version
-
Ensure it returns Python version 3.10 or higher.
-
-
Verify pip installation:
-
Run:
pip --version
-
If pip is not installed, install it manually:
python -m ensurepip --upgrade
-
-
Download Node.js Installer:
- Visit the official Node.js website.
- Ensure you download a version >= 18.9.1 (LTS preferred).
-
Run the Installer:
- Open the
.msi
installer and follow the prompts. - Ensure "Add to PATH" is selected.
- Open the
-
Verify Installation:
-
Run the following to check versions:
node --version npm --version
-
-
Update npm (if necessary):
-
Run
npm install -g npm
-
-
Install TypeScript globally via npm:
-
Run
npm install -g typescript5.x.x
-
Replace
x.x
with the version (e.g., 5.5.4).
-
-
Verify Installation:
-
Run:
tsc --version
-
Ensure the version is >= 5.4.0 and < 5.6.0
-
-
Install Angular CLI:
-
Run:
npm install -g @angular/[email protected]
-
-
Verify Angular Installation:
-
Run:
ng --version
-
-
Update the package list:
-
Run:
sudo apt update
-
-
Install dependencies for building Python:
sudo apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git
-
Install Python using
pyenv
:-
Run:
curl https://pyenv.run | bash
-
Add the following lines to your
.bashrc
or.zshrc
:export PATH="$HOME/.pyenv/bin:$PATH" eval "$(pyenv init --path)" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"
-
Restart the terminal and install Python:
pyenv install 3.12.x pyenv global 3.12.x
-
-
Verify Installation:
python --version pip --version
-
Install Node.js using nvm
-
Run:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
-
Restart the terminal, then run:
nvm install 20
-
-
Verify Installation:
node --version npm --version
-
Install TypeScript:
- Run:
npm install [email protected]
- Run:
-
Verify Installation:
tsc --version
-
Install Angular CLI:
- Run:
npm install @angular/[email protected]
- Run:
-
Verify Angular Installation:
ng --version
Copyright © 2024 Fraunhofer SCAI