Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

コピペ爆速で各言語環境を構築する方法

More than 1 year has passed since last update.

とりあえずさくっと言語環境だけ入れたいことはままある。ググるのすらめんどくさい!なので、各言語ごとにコピペ(大事!)で出来る環境構築方法をまとめる。※随時更新予定

対応言語

  • Node.js
  • Ruby

Node.js

git clone git://github.com/creationix/nvm.git ~/.nvm
echo 'source ~/.nvm/nvm.sh' >> ~/.bashrc
nvm help
nvm ls-remote
nvm install v10.16.3
node -v
npm install yarn -g

Ruby

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build 
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
rbenv --version
rbenv install --list
rbenv install 2.6.5
rbenv global 2.6.5

参考サイト

qeema
NW→PHP/JS→クラウド開発→Railsとやってきました。今はブロックチェーンの現場でアプリ動かしたりしてます。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away