diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index c6d845fc..d1aa1b1c 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -24,7 +24,6 @@ use tree_sitter_cli::{
     input::{get_input, get_tmp_source_file, CliInput},
     logger,
     parse::{self, ParseDebugType, ParseFileOptions, ParseOutput, ParseTheme},
-    playground,
     query::{self, QueryFileOptions},
     tags::{self, TagsOptions},
     test::{self, TestOptions, TestStats, TestSummary},
@@ -1933,16 +1932,8 @@ impl Tags {
 
 impl Playground {
     fn run(self, current_dir: &Path) -> Result<()> {
-        let grammar_path = self.grammar_path.as_deref().map_or(current_dir, Path::new);
-
-        if let Some(export_path) = self.export {
-            playground::export(grammar_path, &export_path)?;
-        } else {
-            let open_in_browser = !self.quiet;
-            playground::serve(grammar_path, open_in_browser)?;
-        }
-
-        Ok(())
+        println!("ERROR: web-ui is not available in this nixpkgs build; enable the webUISupport");
+        std::process::exit(1);
     }
 }
 
diff --git a/crates/cli/src/tree_sitter_cli.rs b/crates/cli/src/tree_sitter_cli.rs
index 3960d961..55f8e2e4 100644
--- a/crates/cli/src/tree_sitter_cli.rs
+++ b/crates/cli/src/tree_sitter_cli.rs
@@ -6,7 +6,6 @@ pub mod init;
 pub mod input;
 pub mod logger;
 pub mod parse;
-pub mod playground;
 pub mod query;
 pub mod query_testing;
 pub mod tags;
