# beatcode > A rhythm game for the terminal. The notes are the tokens of real source code, and clearing a song types out a function. beatcode is proprietary software. See LICENSE for the complete terms. ## Install Homebrew: ```sh brew tap yukihirop/beatcode https://github.com/yukihirop/beatcode brew trust --formula yukihirop/beatcode/beatcode brew install beatcode ``` npm: ```sh npx beatcode ``` curl: ```sh curl -fsSL https://beatcode.run/install.sh | sh ``` Runs without installing. Node.js 18 or later. macOS 11+ · Apple silicon / Intel ## Guides - [Requirements](/guide/environment/): What you need to play beatcode, and what makes it nicer: the OS, where songs play, which terminal, fonts and the extras. - [How to play](/guide/): How to play beatcode, screen by screen: song select, playing, results, lanes and difficulty, history and setup. - [More](/guide/more/): Have an AI write a chart, let Claude Code or Codex set beatcode up, pass charts around as gists, change config.toml and add languages. - [Settings](/guide/config/): Every section of beatcode’s config.toml: effects, sound, display, music, AI, voice, keys, theme, plugins, repos and sharing. - [Plugins](/guide/plugins/): Add 53 programming languages, 46 written languages, two AI providers and beatcode record to beatcode with one command. - [Skills](/guide/skills/): Three skills for Claude Code and Codex: set beatcode up, tidy it away, and hear when work you handed off is done while you play. - [Writing prompts](/guide/prompts/): How to write your own prompt for AI charts: where {xray} goes, what beatcode adds for you, how to read the text that is actually sent, and what to avoid. - [Ranking server](/guide/ranking-server/): Run your own ranking server for beatcode from one Docker image: the ranking page and the API, with the plays in SQLite. - [Philosophy](/philosophy/): Why beatcode exists: old code found while tidying a PC, and a habit of listening to Spotify in the terminal. ## Optional - [Everything in one file](/llms-full.txt): the top page and every guide above, written out - [日本語のトップページ](/ja/): ターミナルで遊ぶ音ゲー。落ちてくるノーツは本物のソースコードのトークンで、1 曲叩き切ると関数が 1 つ書き上がります。 - [推奨環境(日本語)](/ja/guide/environment/): beatcode を遊ぶのに要るものと、あると快適なもの。OS・曲を流す先・端末・フォント・あると楽しいもの。 - [使い方(日本語)](/ja/guide/): beatcode の遊び方を画面つきで。曲選び・プレイ・結果・列と難しさ・履歴・setup。 - [詳しい使い方(日本語)](/ja/guide/more/): AI に譜面を書いてもらう、Claude Code・Codex に設定を頼む、gist で譜面を渡す、config.toml、言語を足す。 - [設定(日本語)](/ja/guide/config/): beatcode の config.toml の段をすべて解説します。効果・効果音・画面・曲・AI・声・キー・色・プラグイン・repo・ランキング。 - [プラグイン(日本語)](/ja/guide/plugins/): コードの言語 53・文章の言語 46・AI の頼む先 2 つ・beatcode record を、コマンド 1 つで beatcode に足せます。 - [スキル(日本語)](/ja/guide/skills/): Claude Code と Codex のスキルが 3 つ。beatcode を整える・片付ける、頼んだ仕事が終わったら遊んでいる間に知らせる。 - [プロンプトの書き方(日本語)](/ja/guide/prompts/): AI に譜面を書いてもらう自分のプロンプトの書き方。{xray} を置く場所、beatcode が足してくれるもの、本当に送られる文の見方、避けること。 - [ランキングサーバー(日本語)](/ja/guide/ranking-server/): beatcode のランキングのサーバーを、Docker の image 1 つで自分で立てます。ランキングのページと API、記録は SQLite に。 - [フィロソフィー(日本語)](/ja/philosophy/): beatcode が生まれたわけ。PC の整理で出てきた昔のコードと、ターミナルで Spotify を聴く毎日の習慣。 - [GitHub](https://github.com/yukihirop/beatcode) - [Releases](https://github.com/yukihirop/beatcode/releases) - [LICENSE](https://github.com/yukihirop/beatcode/blob/main/LICENSE)