·6分で読めます
私の開発環境 2025
はじめに
開発環境は生産性に直結する大事な要素です。この記事では、私が日々の開発で使用しているツールや設定を紹介します。
エディタ
Cursor
メインエディタとして Cursor を使用しています。VS Code ベースで、AI アシスタント機能が統合されています。
よく使う機能:
- Cmd + K: コード生成・編集
- Cmd + L: チャットパネル
- Tab: インラインサジェストの適用
おすすめ拡張機能:
- Tailwind CSS IntelliSense
- Pretty TypeScript Errors
- Error Lens
- GitLens
フォント
プログラミング用フォントは JetBrains Mono を使用しています。
{
"editor.fontFamily": "JetBrains Mono",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.lineHeight": 1.6
}ターミナル
Warp
ターミナルエミュレータは Warp を使用しています。
気に入っている点:
- モダンな UI
- コマンド履歴のブロック表示
- AI コマンド検索
- 補完が高速
シェル
シェルは zsh を使用し、プラグインマネージャーに sheldon を採用しています。
# ~/.config/sheldon/plugins.toml
[plugins.zsh-autosuggestions]
github = "zsh-users/zsh-autosuggestions"
[plugins.zsh-syntax-highlighting]
github = "zsh-users/zsh-syntax-highlighting"
[plugins.zsh-completions]
github = "zsh-users/zsh-completions"Starship
プロンプトは Starship でカスタマイズしています。
# ~/.config/starship.toml
[character]
success_symbol = "[❯](green)"
error_symbol = "[❯](red)"
[directory]
truncation_length = 3
truncate_to_repo = true
[git_branch]
symbol = " "CLI ツール
必須ツール
| ツール | 用途 | 代替 |
|---|---|---|
| eza | ls の代替 | ls |
| bat | cat の代替 | cat |
| fd | find の代替 | find |
| ripgrep | grep の代替 | grep |
| zoxide | cd の代替 | cd |
| fzf | ファジーファインダー | - |
エイリアス設定
# ~/.zshrc
alias ls="eza --icons"
alias ll="eza -la --icons"
alias cat="bat"
alias find="fd"
alias grep="rg"
alias cd="z"Git 関連
# Git エイリアス
alias g="git"
alias gs="git status"
alias ga="git add"
alias gc="git commit"
alias gp="git push"
alias gl="git log --oneline -10"
alias gd="git diff"
alias gco="git checkout"
alias gb="git branch"lazygit も便利です:
alias lg="lazygit"パッケージマネージャー
Homebrew
macOS のパッケージ管理には Homebrew を使用。
# よく使うコマンド
brew install <package>
brew upgrade
brew cleanup
brew listBun
JavaScript/TypeScript プロジェクトでは Bun を使用。
bun install # パッケージインストール
bun run dev # スクリプト実行
bun add <pkg> # パッケージ追加
bun remove <pkg> # パッケージ削除その他のツール
Docker Desktop
コンテナ管理に Docker Desktop を使用。
Raycast
ランチャーとして Raycast を使用。Spotlight の代替として便利です。
よく使う機能:
- アプリケーションランチャー
- クリップボード履歴
- スニペット
- ウィンドウ管理
Arc Browser
ブラウザは Arc を使用しています。
気に入っている点:
- スペース機能でタブを整理
- サイドバーのピン機能
- ミニマルな UI
ドットファイル管理
設定ファイルは GitHub で管理しています。新しいマシンでも簡単にセットアップできます。
# ドットファイルのセットアップ
git clone https://github.com/username/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.shまとめ
開発環境は常に進化させています。新しいツールを試しながら、自分に合った環境を構築していくことが大切です。
おすすめのツールがあれば、ぜひ教えてください!