Add your private key and rpc endpoint to .env file. npm install Swap SOL for token node index Input Token - Output Token - Amount node index So11111111111111111111111111111111111111112 2HoVyeK6jGJ2oDhTNYH3GkY5JjhdBAXcJmeVssQotT7c 0.0001 Sell all of a token node index sell-all 2HoVyeK6jGJ2oDhTNYH3GkY5JjhdBAXcJmeVssQotT7c Ape in on token Set amount of SOL to spend in .env APE_IN_AMOUNT node index ape-in 2HoVyeK6jGJ2oDhTNYH3GkY5JjhdBAXcJmeVssQotT7c