Claude Code on MacBooks
As I am using bash as my default shell tool, all commands mentioned in the post are bash-like.
If you want to set your shell to bash, it is straightforward : chsh -s /bin/bash
INSTALL CLAUDE CODE
To install Claude Code: curl -fsSL https://claude.ai/install.sh | bash
Wait for less than 2 minutes, once Claude Code is successfully installed, run this to add it to default shell paths: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
Now it is time to check to verify the installation: claude --version
SELECT LOGIN METHOD
Nhận xét
Đăng nhận xét