Skip to content

Commit 467fc18

Browse files
authored
Merge pull request #1 from abhicris/contrib-bot/2026-04-21-solscript
docs: replace deprecated `init` subcommand with `new` in README
2 parents 6b82b97 + e450d69 commit 467fc18

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ contract Token {
9191
cargo install --git https://github.com/cryptuon/solscript solscript-cli
9292

9393
# Create a project
94-
solscript init my-token
94+
solscript new my-token
9595
cd my-token
9696

9797
# Build and deploy
@@ -215,7 +215,7 @@ export LLVM_SYS_180_PREFIX=$(brew --prefix llvm@18)
215215
## CLI Reference
216216

217217
```bash
218-
solscript init <name> # Create new project
218+
solscript new <name> # Create new project
219219
solscript build <file> # Generate Rust/Anchor code
220220
solscript build-bpf <file> # Compile to deployable .so
221221
solscript build-bpf --llvm # Direct LLVM compilation

0 commit comments

Comments
 (0)