How to install develop environment
Environment
C++
scoop install mingw
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"
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
nvm install --lts
Go https://nodejs.org/en/download to get the specific version you want and download / install it.
Python
Golang
brew install go
scoop install go
Download portable version via: https://go.dev/dl/
Ruby
on ubuntu:
Running following[1]
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
Mac please use rvm, running following:
curl -sSL https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable
source ~/.rvm/scripts/rvm
rvm install ruby@latest
Rust
curl https://sh.rustup.rs -sSf | sh
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 to config-jetbrains/url.conf if on China:
[URL]
PREFIX,https://account.jetbrains.com.cn/lservice/rpc/validateKey.action
Run script/install.sh on unix, or install-current-user.vbs on windows.[2]
Copy code and paste on IDE. Enjoy!
Source via: https://note.bgzo.cc/how-to/install-develop-environment

浙公网安备 33010602011771号