Become an NFT Developer with Best Practice Way Part 4: Generate NFT Image

Feri Lukmansyah
2 min readNov 18, 2021


Okay in this part I will show you how to practically become an NFT developer, and here I will create a program to generate NFT images. here is the table of content

  • NFT at a glance
  • Preparation for using a template
  • Install the tools
  • Getting Started with Template
  • How to get Unique Content

Now let’s check the first chapter

NFT at a glance

if you read the first chapter (The Fundamental), the chapter discusses what preparations must be prepared and what things must be mastered to master blockchain.

Preparation for using a Template

I have prepared a template to get NFT images, for that, we need to prepare some prerequisites to run these tools, let’s check this out

  • Install homebrew
  • Install Nodejs (stable version, LTS)
  • Install Yarn

Install Homebrew

Homebrew is available for cross-platform for example Windows, Mac, or Linux, you can refer to the docs

Install Node.js (Stable Version)

the next step is to install the node.js stable version, from the node.js official site the stable version is 16, so we can install that, with this command

brew install node@16

That installs the yarn package manager getting info from the documentation or install using brew

brew install yarn

The next step is to unlink the latest node version

brew unlink --force node --dry-run

after unlink link the latest brew from yarn, linking brew stable version which we just installed

brew link --force node --dry-run

Okay now let’s check the version of the node with this command

node --version
node version

Getting Started with NFT Template

Now in this step, we will use the template for generating nft, make sure git is installed on your computer,

in this template change the image to your own image and run with this command

yarn install
installing process

and then run with this command

node index.js

this command will generate results, like this

sample result