LoginSignup
6
11

More than 1 year has passed since last update.

最初に入れるやつら

Last updated at Posted at 2021-08-16

Summary

最近、MacやWindowsの容量が減ってきたので、
使用頻度の高い低いを考慮しつつ断捨離してます。
新しいPCのセットアップ用もかねてメモを残します。
メインはMacで、自動化したものをWindowsとかRaspberry Piとかで動かしてます。

基本方針

  • オフィスは、基本的にGoogleDriveを使い、数式が多い時はOverleafでLaTeXを回す。
  • 解析は、Jupyter Labで、PythonとWolfram Engineを使う。

CUI

MacではZshを、WindowsではPowerShell。
パッケージ管理は、MacではHomebrew、WindowsではScoop (CUI)+Chocolatey (GUI)。
Python管理は、Macではpyenv、Windowsではpyenv-win
Macではエスケープキーが\だが、Windowsでは`

  • fzf: 検索ツール。選択するCUIをお手軽に作れる。
  • ghq: gitの管理ツール。ghq.root以下に全てのフォルダを置く。
  • pasteboard Windows: macOSではデフォルトで入っているpbpastepbcopyを含む。

CUIインストール on Mac

Homebrewのインストール

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap buo/cask-upgrade

CUIのインストール

brew install fzf ghq git pyenv rclone rsync pipx

パスの確認

echo ${PATH//:/\\n}

shell

echo $SHELL # 現在使用しているshell
cat /etc/shells # 利用可能なshell
chsh -s /bin/zsh # shellをzshに変更

zsh

テーマはPowerlevel10k

condazsh補完

ghq get https://github.com/esc/conda-zsh-completion.git

~/.zshrcで設定を反映する

~/.zshrc
fpath+=$(ghq root)/github.com/esc/conda-zsh-completion
fpath+=$(brew --prefix)/share/zsh/site-functions
compinit

CUIインストール on Windows

Scoopのインストール

Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iwr -useb get.scoop.sh | iex

Chocolateyのインストール

Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iwr -useb community.chocolatey.org/install.ps1 | iex

CUIのインストール

scoop install git sudo
scoop bucket add extras
scoop install fzf ghq pasteboard pyenv

パスの確認

echo $ENV:Path.Split(";")

Git

Gitを使用する場合は、Git from 最初に入れるやつらを参照。

SSH

サーバーに接続する場合は、SSH from 最初に入れるやつらを参照。

Python

Pythonを使用する場合は、Python from 最初に入れるやつらを参照。

LaTeX

LaTeXを使用する場合は、LaTeX from 最初に入れるやつらを参照。

GUI

ブラウザ

  • Brave: Chrominumベースのブラウザ

クラウド

  • iCloud
  • Google ドライブ
  • Dropbox

セキュリティ

  • Bitwarden: パスワード管理
  • Authy: 2段階認証

文献管理

  • Zotero + ZotFile

テキストエディタ

  • Sublime Text: 爆速
  • Visual Studio Code: コーディング
  • MarkText: Markdownの閲覧用

Web会議

  • Zoom
  • Cisco Webex
  • Microsoft Teams

Terminal

  • iTerm macOS
  • Windows Terminal Windows

Launcher

  • Alfred macOS
  • PowerToys Windows

Documentation Browser

  • Dash macOS
  • Zeal Windows

Communication Tool

  • Slack
  • Discord

Remote Desktop

  • Microsoft Remote Desktop: Windows Proへのリモートアクセス
  • VNC Viewer: Windows Home、macOS、Linuxへのリモートアクセス

モニタ制御

  • MonitorControl macOS
  • Monitorian Windows

その他

  • LTspice
  • mpv
  • Docker
  • BetterTouchTool macOS
  • Tot macOS: 付箋アプリ、iCloudで同期
  • PDF Expert macOS
  • Logicool G HUB macOS
  • Home macOS

GUIインストール on Mac

Homebrew

brew install --cask \
    alfred \
    authy \
    autodesk-fusion360 \
    bestres \
    bettertouchtool \
    bitwarden \
    blackhole-16ch \
    blackhole-2ch \
    blender \
    brave-browser \
    burn \
    cheatsheet \
    chromedriver \
    dash \
    db-browser-for-sqlite \
    discord \
    djview \
    docker \
    dropbox \
    gimp \
    google-drive \
    google-japanese-ime \
    grammarly \
    inkscape \
    iterm2 \
    libreoffice \
    libreoffice-language-pack \
    ltspice \
    mark-text \
    michaelvillar-timer \
    microsoft-remote-desktop \
    microsoft-teams \
    monitorcontrol \
    mpv \
    obs \
    onedrive \
    qt-creator \
    raspberry-pi-imager \
    shotcut \
    slack \
    sourcetree \
    stationtv-link \
    steam \
    sublime-text \
    the-unarchiver \
    typora \
    vesta \
    visual-studio-code \
    vnc-viewer \
    webex \
    wolfram-engine \
    zoom \
    zotero \
    --language=ja

Appstore

Easy CSV Editor
Image2Icon
JSON Editor
LINE
Notability
PDF Expert
Tot
Xcode

Dock
スクリーンショット 2021-08-04 11.38.43.png

GUIインストール on Windows

環境変数でSCOOPC:\ProgramData\scoopとかにするとglobalにできる。
GUI系はchocolateyで入れる。PATHにC:\Program Files\Sublime Textを追加するとsublコマンドが使えるようになる

choco install 7zip bitwarden brave gimp GoogleJapaneseInput microsoft-windows-terminal powershell-core powertoys pyenv-win slack sourcetree sublimetext4 vscode 

Sublime Text

Alfred

今後に期待

See Also

GoogleDrive

  • Mermaid
  • Articul8
  • MindMup

アップデート

softwareupdate --all --install

Note

google-backup-and-syncが廃止になるので、Homebrewではgoogle-drive、Chocolateyではgoogle-drive-file-streamを使うこと。この二つは、同じものだけど名称が異なる。

6
11
1

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
6
11