I am going to make a 2D game, I need free software for my team of five or less people. I should be able to sell in-game currency but the game will be free. The software should be able to compile the game for a windows, linux(debian), Mac, Android and IOS. I have windows and dont want software which needs .net framework or sort of. I need something similar to visual basic but for commercial uses by an organisation. I also will need software for creating open-source server which users can download and monetize themselves(selling stuff or currency in their server). Edit: it will be in-brouser game with node-js but still thanks.
According to your requirement you should go through Unity (Game Engine) and you can feature it with Visual Studio Tools.
As Unity has Free version as well as Licensed Version but you can develop your game in free version as well. And you will able to compile the game for so many platform as you mentioned in your question. So best luck :)
MonoGame meets all of your requirements: http://www.monogame.net/
Unity free edition does as well, though if your organization makes more than $100,000 a year, you can no longer use unity without paying.