π¦ Installation
Woosh is a CLI tool used for automated token operations on Solana. Below are instructions tailored to each major operating system. Woosh is built as an npm package, so the first requirement is Node.js. It comes bundled with npm (Node Package Manager), which is required to install Woosh.
β Step-by-Step Guide to Install & Use Wooshβ
πͺ Windowsβ
1. Install Node.jsβ
-
Go to https://nodejs.org
-
Download the LTS version for Windows.
-
Run the installer (
.msi
file) and follow the default prompts. -
After installation, open Command Prompt (search for
cmd
) and run:node -v
npm -vYou should see version numbers for both.
2. Install Visual Studio Codeβ
- Download from https://code.visualstudio.com
- Install using the default options.
- Open VS Code after installation.
3. Create a Woosh Projectβ
-
Open Command Prompt or PowerShell.
-
Navigate to your desired folder using:
cd path\to\your\project
Example:
cd C:\Users\YourName\Documents
-
Create a new Woosh config:
npx create-woosh my-woosh-project
cd my-woosh-project
4. Install Woosh CLI Globallyβ
npm install -g woosh-cli
π§ Note: On Windows, even after installing globally, the CLI might not be available directly in terminal due to path issues. If this happens, just run Woosh using:
npx woosh
5. Open Project in VS Codeβ
code .
If
code
command doesn't work, open VS Code manually βFile > Open Folder
β choose your project folder.
π§ Ubuntu / Linuxβ
1. Install Node.js & npmβ
Open your terminal and run:
sudo apt update
sudo apt install nodejs npm -y
Check versions:
node -v
npm -v
2. Install Visual Studio Codeβ
-
Download
.deb
from https://code.visualstudio.com -
Or install via terminal:
sudo snap install code --classic
3. Create a Woosh Projectβ
Open terminal:
mkdir my-woosh-project
cd my-woosh-project
npx create-woosh .
4. Install Woosh CLI Globallyβ
sudo npm install -g woosh-cli
If global install doesn't link correctly, use:
npx woosh
5. Open in Visual Studio Codeβ
code .
π macOSβ
1. Install Node.jsβ
-
Go to https://nodejs.org
-
Download and install the macOS Installer (.pkg) for LTS version.
-
After installation, open Terminal (press
Cmd + Space
, type βTerminalβ) and run:node -v
npm -v
2. Install Visual Studio Codeβ
-
Download from https://code.visualstudio.com
-
Drag the app into your
Applications
folder. -
To use the
code
command in terminal:- Open VS Code
- Press
Cmd + Shift + P
β Typeshell command
β Select "Install 'code' command in PATH"
3. Create a Woosh Projectβ
In Terminal:
mkdir my-woosh-project
cd my-woosh-project
npx create-woosh .
4. Install Woosh Globallyβ
sudo npm install -g woosh-cli
If the global CLI doesnβt work, use:
npx woosh
5. Open in Visual Studio Codeβ
code .
β Final Notes for All OSβ
- After setup, you should see a
woosh.config.json
file in your project directory. you need to configure thewoosh.config.json
file