Environment
C++
# Windows
scoop install mingw
# Linux
scoop install gcc
Directly download via:
- https://www.mingw-w64.org
- (windows) https://winlibs.com
Java
Manage with Home | SDKMAN! the Software Development Kit Manager
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
# install specific version
sdk install java 21.0.2-open
NodeJS using NVM
Manage with https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# install specific version
nvm install --lts
Go https://nodejs.org/en/download to get the specific version you want and download / install it.
Python
Golang
# macos
brew install go
# windows
scoop install go
Download portable version via: https://go.dev/dl/
Ruby on ubuntu
Running following1
sudo apt-get install ruby-full build-essential zlib1g-dev
Configure and source .bashrc
:
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"
Windows need install MSYS2, so not recommand
Jetbrains
Activate using ja-netfilter
Go https://3.jetbra.in download the ja-netfilter.zip
.
Unzip file to the specific location. Append the following config if on China:
# https://zhile.io/2024/09/05/jetbrains-2024-2-region.html
[URL]
PREFIX,https://account.jetbrains.com.cn/lservice/rpc/validateKey.action
Run script/install.sh
on unix, or install-current-user.vbs
on windows2.
Copy code and paste on IDE. Enjoy!