jquery через CDN можно так подключить:
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Styles -->
<link rel="stylesheet" href="style.css">
<title>Hello, world!</title>
</head>
<body>
<div>Hello</div>
<!-- Подключение jquery через CDN -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
</body>
</html>
Через nodejs (npm) можно так jquery, есть в видео:
/ru/courses/modern-javascript/how-to-use-nodejs-and-npm-example/