Installation
PakNet was made with the new luau type solver, so there will be type errors if you are not using it.
The new type solver can be enabled from beta features for studio and in luau-lsp settings for external editors.
Pesde
Get the latest version of PakNet from pesde.dev and add it to your pesde.toml.
You can do this from CLI with the following:
pesde add isoopod/paknet -a PakNet
Stand-alone
Download the latest PakNet.rbxm from releases and insert it into ReplicatedStorage