1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MSYS2 のセットアップ

Last updated at Posted at 2020-03-22

MSYS2 のセットアップ

Download

Windows環境変数の設定

コントロールパネル - システム - システムの詳細設定
環境変数
xxxのユーザー環境変数
変数名:MSYS2_PATH_TYPE
変数値:inherit
を追加

MSYS2 のセットアップ

pacman -Syu
pacman -S vim base-devel msys2-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain mingw-w64-x86_64-boost
pacman -S openssh sshpass git zip unzip rsync tmux wget 
pacman -S mingw-w64-x86_64-jq
tree

vim ~/.bash_profile

~/.bash_profile
alias ls='ls --color=auto --show-control-chars --time-style=long-iso --human-readable --classify'
alias ll='ls -l'                        # long list
alias la='ls -A'                        # all but . and ..
alias grep='grep --color'               # show differences in colour
alias less='less --raw-control-chars'   # raw control characters
alias whence='type -a'                  # where, of a sort
source ~/.bash_profile

Windowsのホームディレクトリとを利用する。
vim /etc/fstab
以下を追加

/etc/fstab
C:/Users /home

Python のインストール

pacman -S python python-pip python-setuptools

bashのprompt文字列をgit statusの状態で色変えする

参考

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?