Could we help you? Please click the banners. We are young and desperately need the money
Claude Code can be installed as a NPM package or using Native install. I have experienced some difficulties while installing it as a NPM package so the Native install would be my recommended way.
For this you would need Node.js 18 or newer installed. After that simply run the following command in the terminal:
npm install -g @anthropic-ai/claude-code
For macOS, Linux and WSL you can use this command:
curl -fsSL claude.ai/install.sh | bash
and for Windows (PowerShell) this one:
irm https://claude.ai/install.ps1 | iex
Claude Code is globally available on you computer. In order to use it just navigate to the desired folder and run claude command. First time you would need to go through short setup wizard where you are going to setup the theme (dark mode, light mode, etc.) and to login to your Claude subscription plan.
claude --dangerously-skip-permissions
Want always to choose the Opus model? No problem, just run it as:
claude --dangerously-skip-permissions --model opus
You don't want to remember this long command or even copy/paste it? No problem, you can create an alias. Run:
nano ~/.bashrc
and then add this line on the top:
alias claude='claude --dangerously-skip-permissions --model opus'
Now you can run it only as claude, and it will run all predefined flags as well.
Don't forget that you can also redefine Claude Code to fit better according to your needs. You can even ask Claude to create hooks, commands and settigns for you.
While you can create you own manually shaped rules for Claude Code, the Laravel team did that for all Laravel users. They created Laravel Boost. It enhances the existing Claude Code with Laravel specific commands and rules, allows the connection to database, reading docs, reading log files and many more which allows Claude Code a much deeper overview of your Laravel app.