Install NodeJS

winget install OpenJS.NodeJS.LTS

Install serverless framework

npm install serverless -g

Get latest scaleway-cli exe from Scaleway Github and copy the exe to somewhere on path as scaleway-cli.exe

Login to Scaleway Console API Keys and create a new user and run the command it gives you such as

scaleway-cli.exe init -p myprofile access-key=MYACCESSKEY secret-key=MYSECRETKEY organization-id=MYORGID project-id=MYPROFILEID

Create our function

scaleway-cli.exe function function create name=MYFUNCTIONNAME namespace-id=MYNAMESPACEID runtime=python310

Deploy our function

scaleway-cli.exe -p myprofile function deploy name=MYFUNCTIONNAME namespace-id=MYNAMESPACEID runtime=python310 zip-file=app.zip