CreateScript.mdx•984 B
---
title: Create Script snippet
description: Learn how to create a new script using Visual Studio Code or other editors with GenAIScript commands.
keywords: create script, VSCode, command palette, CLI, script generation
---
import { Tabs, TabItem } from "@astrojs/starlight/components"
<Tabs>
<TabItem label="Visual Studio Code, Cursor">
Use the `> GenAIScript: Create new script...` command in the [command palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette)
(`Ctrl+Shift+P` on Windows/Linux, `⇧⌘P` on Mac)
to create a new script.

</TabItem>
<TabItem label="Other Editors">
Run the [cli](/genaiscript/reference/cli/) `script create` command with the name of the script you want to create.
```bash
npx genaiscript script create proofreader
```
</TabItem>
</Tabs>