Skip to content

Commit 910baad

Browse files
authored
Merge pull request #24208 from sap-tutorials/fix/cp-prepare-local-dev-refresh
Refresh cp-prepare-local-dev: fix broken installers, rebrand tag, pin Node LTS
2 parents 294fc96 + c8da5ef commit 910baad

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

tutorials/cp-prepare-local-dev/cp-prepare-local-dev.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ parser: v2
33
auto_validation: true
44
author_name: Thomas Jung
55
author_profile: https://github.com/jung-thomas
6-
primary_tag: products>sap-cloud-platform
7-
tags: [ products>sap-cloud-platform, topic>cloud, tutorial>beginner, programming-tool>node-js ]
6+
primary_tag: products>sap-business-technology-platform
7+
tags: [ products>sap-business-technology-platform, topic>cloud, tutorial>beginner, programming-tool>node-js ]
88
time: 20
99
---
1010

@@ -33,16 +33,16 @@ We recommend using a package manager on your OS.
3333

3434
[OPTION BEGIN [Windows]]
3535

36-
**Install** the Windows package manager [Chocolatey](https://chocolatey.org/).
36+
**Install** the Windows package manager [Chocolatey](https://chocolatey.org/) by running the following in an **administrative** PowerShell:
3737

3838
```Terminal
39-
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
39+
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
4040
```
4141

42-
**Install Node.js**
42+
**Install Node.js** (the current Long-Term Support release)
4343

4444
```Terminal
45-
choco install nodejs
45+
choco install nodejs-lts
4646
```
4747

4848

@@ -53,20 +53,20 @@ choco install nodejs
5353
**Install** the Mac package manager [Homebrew](https://brew.sh/).
5454

5555
```Terminal
56-
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
56+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
5757
```
5858

5959
**Install Node.js**
6060

6161
```Terminal
62-
brew install nodejs
62+
brew install node
6363
```
6464

6565

6666
[OPTION END]
67-
[OPTION BEGIN [Other]]
67+
[OPTION BEGIN [Linux]]
6868

69-
**Install** the Node.js from the [official website](https://nodejs.org/en/download/).
69+
**Install Node.js** via your distribution's package manager, or download the current LTS build from the [official website](https://nodejs.org/en/download).
7070

7171
[OPTION END]
7272

@@ -81,6 +81,8 @@ node -v
8181
npm -v
8282
```
8383

84+
> This tutorial requires **Node.js 20 LTS or later**. If `node -v` reports an older version, install a current Long-Term Support release before continuing.
85+
8486
### Install the cloud MTA build tool
8587

8688

@@ -100,10 +102,12 @@ npm install -g mbt
100102
[OPTION END]
101103
[OPTION BEGIN [Mac]]
102104

105+
> This tool depends on [GNU make](https://www.gnu.org/software/make/). On macOS it is provided by the Xcode Command Line Tools — run `xcode-select --install` if it is not already installed.
106+
103107
[OPTION END]
104-
[OPTION BEGIN [Other]]
108+
[OPTION BEGIN [Linux]]
105109

106-
> This tool depends on [GNU make](https://www.gnu.org/software/make/) that is most likely already installed when you use a Unix-based OS. In case this tool is not installed on your machine, install it from [here](http://ftp.gnu.org/gnu/make/).
110+
> This tool depends on [GNU make](https://www.gnu.org/software/make/), which is most likely already installed on a Unix-based OS. If it is missing, install it with your distribution's package manager (for example, `sudo apt install make`).
107111
108112

109113
[OPTION END]
@@ -130,9 +134,9 @@ brew install git
130134

131135

132136
[OPTION END]
133-
[OPTION BEGIN [Other]]
137+
[OPTION BEGIN [Linux]]
134138

135-
**Install** the git from the [official website](https://git-scm.com/downloads).
139+
**Install** git with your distribution's package manager (for example, `sudo apt install git`), or download it from the [official website](https://git-scm.com/downloads).
136140

137141

138142
[OPTION END]

0 commit comments

Comments
 (0)