how to configure it in alacritty or related documents that I can read, or maybe another terminal that is almost the same iterm2 that can be used in linux
If you are interested in tiling window managers like dwm, you may not need tabs as dwm handles windows differently. Instead, you can manage multiple terminals using workspaces. To launch a new terminal, you can open it within the same workspace and switch between them using keybindings defined in dwm's configuration file.
Keep in mind that another versatile option is using tmux, a terminal multiplexer, which can provide tab-like functionality and much more. It allows you to split your terminal into multiple panes and manage multiple sessions.
Ultimately, the best choice depends on your preferences and workflow. I recommend trying out different options to see which one suits you best.