markdown init for mac
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown init for mac相关的知识,希望对你有一定的参考价值。
# Init
## brew
```sh
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
## git
```sh
$ brew install git
```
## tig
```sh
$ brew install tig
```
## gsed and gls
```sh
$ brew install coreutils
$ brew install gnu-sed
```
## zsh
```sh
$ brew install zsh
$ echo "/usr/local/bin/zsh" >> /etc/shells
$ chsh -s /usr/local/bin/zsh
$ curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh| zsh
$ # brew install zplug # Not recommended
$ cd ~
$ git clone https://github.com/isuke/functions.git
$ cd functions
$ zsh functions.zsh
$ cd ~
$ git clone https://github.com/isuke/dotfiles.git
$ cd dotfiles
$ source dotfiles.zsh
```
## anyenv
```sh
$ # git clone https://github.com/anyenv/anyenv ~/.anyenv
$ brew install anyenv
$ exec $SHELL -l
$ anyenv install --init
$ anyenv install rbenv
$ anyenv install ndenv
$ exec $SHELL -l
$ # mkdir -p $(anyenv root)/plugins
$ # git clone https://github.com/znz/anyenv-update.git $(anyenv root)/plugins/anyenv-update
$ anyenv update
```
## other lang
### rust
```sh
$ curl https://sh.rustup.rs -sSf | sh
$ rustup install stable
$ rustup default stable
```
### nim
```sh
$ curl https://nim-lang.org/choosenim/init.sh -sSf | sh
```
## yarn
```sh
$ brew install yarn --ignore-dependencies
```
## jq
```sh
$ brew install jq
```
## tree
```sh
$ brew install tree
```
## terminal-notifier
```sh
$ brew install terminal-notifier
```
## fonts
```sh
$ brew tap sanemat/font
$ brew install ricty --with-powerline
$ cp -f /usr/local/opt/ricty/share/fonts/Ricty*.ttf ~/Library/Fonts/
$ fc-cache -vf
```
- Ricty Discord
- Ricty Discord for Powerline
## pgweb
```sh
$ brew install pgweb
$ # brew cask install pgweb # old
```
## fzf
```sh
$ brew install fzf
$ $(brew --prefix)/opt/fzf/install
```
## git-consistent
```sh
$ yarn global add git-consistent
```
## vue-cli
```sh
$ yarn global add @vue/cli
```
## netlify-cli
```sh
$ yarn global add netlify-cli
```
## direnv
```sh
$ brew info direnv
```
## httpie
```sh
$ brew install httpie
```
## asciidoctor
```sh
$ brew install asciidoctor
```
## asciinema
```sh
$ brew install asciinema
```
## mkcert
```sh
$ brew install mkcert
$ brew install nss # if you use Firefox
$ mkcert -install
$ mkcert localhost
```
# mac setting
## finder setting
```sh
$ defaults write com.apple.finder AppleShowAllFiles -boolean true
$ rm ~/{Downloads,Documents,Applications,Desktop,Library,Movies,Pictures,Music,Public}/.localized | rm /Applications/.localized
$ killall Finder
$ open ~/.Trash
```
## screenshot setting
```sh
$ defaults write com.apple.screencapture location ~/Downloads
$ killall SystemUIServer
```
---
# apps
## karabiner-elements
https://pqrs.org/osx/karabiner/
## google IME
https://www.google.co.jp/ime/
## google Drive
https://www.google.com/intl/ja_ALL/drive/download/
## vscode
https://code.visualstudio.com/
## divvy
http://mizage.com/divvy/
## cacher
https://www.cacher.io/
## clipy
https://clipy-app.com/
## skitch
https://evernote.com/intl/jp/products/skitch
## GIPHY Capture
https://giphy.com/apps/giphycapture
## sequel pro
http://www.sequelpro.com/
## boostnote
https://boostnote.io/
## kindle
https://www.amazon.co.jp/gp/digital/fiona/kcp-landing-page/ref=klp_mn
## Docker
https://docs.docker.com/docker-for-mac/install/#download-docker-for-mac
## Table Tool
https://itunes.apple.com/app/table-tool/id1122008420?mt=12
---
# experimental
## fish
```sh
$ brew install fish
$ echo "/usr/local/bin/fish" >> /etc/shells
$ chsh -s /usr/local/bin/fish
$ curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman
```
以上是关于markdown init for mac的主要内容,如果未能解决你的问题,请参考以下文章
markdown Android Studio for MAC终端机套件
Byword for Mac(Markdown编辑器)中文版
markdown 在Docker for Mac Moby VM中获取Shell
MarkMyWords for mac(高级Markdown编辑器)v1.12.0