# Greetings from [$_] CodePay, fellow developer! CodePay is a service that allows for you to distribute and sell your code, securely and easily. It allows you to sell code, dependencies, or programs that can be downloaded in any computer terminal. You have available one-time payment downloads or subscription-based downloads. With a subscription a customer can ensure to have access to the latest version of your code, and you can ensure a steady income. One-time payments allow for a customer to download the last version of your code only. ## How to download a package To download a package your customer must have npm installed in your computer. If he don't have it installed, he can download it [here](https://nodejs.org/en/download/). After you have npm installed, he can easily download a package just by running the following command in his terminal: `npx codepay ` We will ask for the customer e-mail to send a one-time 6-digit code to log in his terminal. If the customer already paid for your package, the download and install process will happen immediately after. If not, we present the pricing options and links to buy the package. Soon after the download and installation process will happen automatically. ## How to sell a package To sell a package you must have a Stripe account. If you don't have it, you can create one free [here](https://stripe.com/). After you, you can publish a package for sale by running the following command in your terminal: `npx codepay publish ` We will ask for your e-mail to send a one-time 6-digit code to log in to your terminal. Then, you will be asked to connect your Stripe account to CodePay (if you didn't do it before). You will be asked to set the price and the type of sale (one-time or subscription). And thats it! Your package will be published and you will receive the install command to share with your customers. Happy coding! Bruno @ Yumankind.com twitter.com/youfoundbruno February 2024 Know more about CodePay [here](https://codepay.run)