$ xcode-select --install
ℹ️ Keep Terminal open as we will use the command-line interface extensive to setup our environment
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install \
bash \
git \
howdoi \
jq \
kubectl \
kyma-cli \
int128/kubelogin/kubelogin \
nmap \
node@16 \
openjdk@11 \
sqlite3 \
tmux \
tree \
virtualenvwrapper
$ brew install --cask \
chromium \
docker \
firefox \
postman \
visual-studio-code
⚠️ When building container images in your M1, using the traditional docker build command, you need to know these images will be built on the arm architecture of your M1... meaning that the images will not run on a x86_64 processor. To create container images that run on multiple architectures you will need to use docker buildx command.
$ docker buildx build --platform linux/amd64,linux/arm64 -t ajmaradiaga/s4-mock-server . --push
# Go to the folder where the file was downloaded
$ cd Downloads
# Expand the .tar.gz file
$ tar -xzf btp-cli-darwin-amd64-latest.tar.gz
# Move the file to a different location, e.g. /opt
$ mv darwin-amd64/ /opt/btp-cli
# Add the executable to PATH and reload .bash_profile
$ echo 'export PATH="/opt/btp-cli:$PATH"' >> /Users/[your_user_name]/.bash_profile
$ source ~/.bash_profile
# Login to BTP
$ btp login --sso
# Install CLI using brew
$ brew install cloudfoundry/tap/cf-cli@8
$ npm i -g @sap/cds-dk
For a complete list of the extensions published by SAP, visit https://marketplace.visualstudio.com/publishers/SAPSE.
# Python
$ pip install hdbcli
# Node.js
$ npm install @sap/hana-client
Additional Tools:
# Provision a cluster locally
$ kyma provision k3d
# Deploy Kyma
$ kyma deploy -p evaluation
I’ve covered most of the steps that I carried out to setup my local environment. As mentioned before, depending on the type of SAP development you do, your setup may vary. It took me far longer than what I was expecting to setup my new laptop, which made me realise how easy and fast it is to spin up a cloud environment, like the SAP Business Application Studio, and once it is running, it will be ready with all the tools that I need to solve problems with code :-). Remember to share in the comments section any tools that you use on your personal setup, so that others can benefit from it.
Happy coding 👩💻👨💻!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
13 | |
11 | |
9 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 |