Step-by-Step Instructions for Spawning a Knife
Counter-Strike 2 has removed the need to fumble around with replacing a dropped knife on the ground. There is now a direct command to create the item. Just remember that you can only carry one knife at a time, so you will have to throw away the old one. Here is a step-by-step breakdown.
- Launch a local server. Enter Practice mode or pick any workshop map. Open the console (the ` or ~ key) and activate cheats with
sv_cheats 1. - Allow knife dropping. Type
mp_drop_knife_enable 1, then press G to throw your current default knife on the ground. Without this step, you will not be able to pick up a new knife. - Create the new knife. Enter
subclass_create 507into the console (507 is the Karambit ID; replace it with any other code from the table below). The chosen knife will appear on the ground next to you. - Pick it up. Simply walk over and press E (or your use key) to take the created knife. That is it – you now have your new knife.
Important: This method only works on a local server with cheats enabled. The knife will reset to the default one after you die or when a new round starts.
How to Create Any CS2 Knife via Console
To spawn any other knife, just replace the number in the subclass_create command with the corresponding code from the table. The command instantly generates the chosen model right at your feet. Do not forget to drop your current knife first.
How to Change Knives for All Players on the Server
If you want everyone on the server, including bots, to have the same knife, use the ent_fire command. It replaces the default knives for all players and bots simultaneously. There is no need to drop anything; the swap happens directly in the inventory. Just enter this into the console.
ent_fire weapon_knife changesubclass 507– where 507 is the Karambit ID. Change it to any other code from the table.
To make sure the changes apply properly, players need to switch to any other weapon and then back to the knife. After that, everyone will see the new knife in their hands.
Bindings for Swapping Knives in CS2
Knives reset to the default ones after you die or when a new round starts. To avoid typing commands every time, set up a bind – a key that executes the command for you. Here are two options.
- For yourself: Create a bind that drops your current knife and then spawns a new one. For example, for the i key:
bind "i" "mp_drop_knife_enable 1; drop; subclass_create 507". Pressing i will drop your old knife and instantly create a new one next to you – just pick it up. - For all players:
bind "z" "ent_fire weapon_knife changesubclass 507"– pressing z will change knives for everyone on the server.
For convenience, it is best to use the numeric keypad (NUMPAD) keys. They are rarely used in combat and work perfectly for bindings.
If you frequently test different models, create several binds for different keys. For example.
bind "kp_1" "mp_drop_knife_enable 1; drop; subclass_create 507"– Karambit on NUMPAD 1bind "kp_2" "mp_drop_knife_enable 1; drop; subclass_create 515"– Butterfly Knife on NUMPAD 2bind "kp_3" "mp_drop_knife_enable 1; drop; subclass_create 508"– M9 Bayonet on NUMPAD 3
This way you can instantly spawn any knife and pick it up without getting distracted by typing long commands.
Frequently Asked Questions (FAQ)
Why can I not pick up the spawned knife?
mp_drop_knife_enable 1 and press G).Can I spawn a knife with a skin (red, blue, etc.)?
Why does the subclass_create command not work?
sv_cheats 1). The command only works on a local server with cheats activated. Also make sure you are entering the correct ID without typos.Do these commands work on official servers (matchmaking, Premier)?
sv_cheats 1 is disabled on official servers. They only work in practice modes and on local servers.How can I quickly spawn a knife without typing the command every time?
Can I give a knife to other players on my server?
ent_fire weapon_knife changesubclass XXX command changes knives for all players and bots at once. Alternatively, you could spawn a knife next to each player, but that would require extra steps.Conclusion
Now you know the easiest and fastest way to spawn any knife in CS2 via the console. Use the subclass_create command, but do not forget to drop your current knife first – otherwise you will not be able to pick up the new one. For mass replacement on a server, use ent_fire weapon_knife changesubclass, and to avoid retyping commands after every death, set up binds with automatic dropping and spawning. All these tricks work in the current version of Counter-Strike 2 and let you test any knife model for free before deciding whether to buy it on the marketplace.
Useful CS2 Guides
Want to take a stylish screenshot with your knife like the one in our example? Check out our guide on hiding the HUD in CS2. We also recommend browsing other articles in the Guides section for fresh tutorials and helpful tips on the game.
We have prepared a large list of websites where you can get bonuses such as free cases, skins, or promo codes when topping up.
We compared the price of one skin on various trading platforms to help you choose the most suitable one.
We analyzed case opening sites and compiled a ranking, evaluating them from best to worst based on the quality and profitability of skin drops.






































