<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Keanu Dirkse</title>
    <description>The latest articles on DEV Community by Keanu Dirkse (@naicigam28).</description>
    <link>https://dev.to/naicigam28</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F522306%2F79d77841-bc89-4c4d-8d49-1ecdf5b1bc13.png</url>
      <title>DEV Community: Keanu Dirkse</title>
      <link>https://dev.to/naicigam28</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naicigam28"/>
    <language>en</language>
    <item>
      <title>How to Set Up a Blog for Free Powered by Hugo</title>
      <dc:creator>Keanu Dirkse</dc:creator>
      <pubDate>Fri, 13 Nov 2026 15:09:59 +0000</pubDate>
      <link>https://dev.to/naicigam28/how-to-set-up-a-blog-for-free-powered-by-hugo-47b9</link>
      <guid>https://dev.to/naicigam28/how-to-set-up-a-blog-for-free-powered-by-hugo-47b9</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://tangent-labs.co.za/posts/hugo-setup/" rel="noopener noreferrer"&gt;Off on a tangent&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here is how to get a fast, free, and low-maintenance blog up and running using Hugo—based on the exact steps I took to build my new site.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Hugo?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://gohugo.io/" rel="noopener noreferrer"&gt;Hugo&lt;/a&gt; is one of the fastest open-source static site generators available. Instead of querying a database and rendering pages on the fly on every request like traditional CMS platforms, Hugo takes your Markdown files, applies HTML templates, and compiles your entire site into static HTML, CSS, and JavaScript in milliseconds.&lt;/p&gt;

&lt;p&gt;Even better: Hugo is written in &lt;a href="https://go.dev/" rel="noopener noreferrer"&gt;Go (Golang)&lt;/a&gt;, which is currently my favourite programming language! Because it's built in Go, Hugo ships as a single, dependency-free binary with blazing-fast build times and rock-solid tooling. If you're a fellow Go fan—or curious to see what a large, high-performance real-world Go codebase looks like—I highly recommend checking out the &lt;a href="https://github.com/gohugoio/hugo" rel="noopener noreferrer"&gt;Hugo source code on GitHub&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Initializing the Site &amp;amp; Adding a Theme
&lt;/h2&gt;

&lt;p&gt;Once you have &lt;a href="https://gohugo.io/installation/" rel="noopener noreferrer"&gt;Hugo installed&lt;/a&gt;, scaffolding a new site and initializing Git takes just a few commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hugo new site blog
&lt;span class="nb"&gt;cd&lt;/span&gt; blog
git init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Rather than copying theme files directly into the project, adding your theme as a &lt;strong&gt;Git submodule&lt;/strong&gt; makes it easy to pull upstream updates later without cluttering your repository history. For my blog, I used the &lt;a href="https://github.com/math-queiroz/rusty-typewriter" rel="noopener noreferrer"&gt;Rusty Typewriter&lt;/a&gt; theme:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git submodule add https://github.com/math-queiroz/rusty-typewriter themes/rusty-typewriter
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Configuring &lt;code&gt;hugo.toml&lt;/code&gt; and Client-Side Search
&lt;/h2&gt;

&lt;p&gt;Your site's global settings live in &lt;code&gt;hugo.toml&lt;/code&gt;. Beyond setting your &lt;code&gt;baseURL&lt;/code&gt;, &lt;code&gt;title&lt;/code&gt;, and author details, this is where you configure menus, taxonomies, and theme parameters.&lt;/p&gt;

&lt;p&gt;Rusty Typewriter also includes built-in client-side search powered by &lt;a href="https://github.com/nextapps-de/flexsearch" rel="noopener noreferrer"&gt;FlexSearch&lt;/a&gt;. To enable it, you configure Hugo to output a &lt;code&gt;searchindex.json&lt;/code&gt; file at build time alongside the standard HTML and RSS outputs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="na"&gt;baseURL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'https://tangent-labs.co.za/'&lt;/span&gt;
&lt;span class="na"&gt;locale&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'en-US'&lt;/span&gt;
&lt;span class="na"&gt;title&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Off on a tangent'&lt;/span&gt;
&lt;span class="na"&gt;theme&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'rusty-typewriter'&lt;/span&gt;

&lt;span class="k"&gt;[rusty_typewriter]&lt;/span&gt;
 &lt;span class="k"&gt;[params.rtwt]&lt;/span&gt;
  &lt;span class="na"&gt;sidePane&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;countPageItems&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;
  &lt;span class="na"&gt;searchPath&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'search'&lt;/span&gt;
 &lt;span class="k"&gt;[params.rtwt.home]&lt;/span&gt;
  &lt;span class="na"&gt;showBio&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showAuthorImg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;sidePaneTags&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showFeatured&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showRecent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;hideRecentWhenFeatured&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;countRecent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
 &lt;span class="k"&gt;[params.rtwt.side.home]&lt;/span&gt;
  &lt;span class="na"&gt;sidePaneSticky&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;taxonomies&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'tags'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;countTaxonomy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;
 &lt;span class="k"&gt;[params.rtwt.side.list]&lt;/span&gt;
  &lt;span class="na"&gt;sidePaneSticky&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
 &lt;span class="k"&gt;[params.rtwt.side.single]&lt;/span&gt;
  &lt;span class="na"&gt;sidePaneSticky&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showDetails&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showTableOfContents&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showAttachments&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;showRelated&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;countRelated&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;

&lt;span class="k"&gt;[related]&lt;/span&gt;
 &lt;span class="na"&gt;includeNewer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
 &lt;span class="k"&gt;[[related.indices]]&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'tags'&lt;/span&gt;
  &lt;span class="na"&gt;weight&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;

&lt;span class="k"&gt;[taxonomies]&lt;/span&gt;
 &lt;span class="na"&gt;tag&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'tags'&lt;/span&gt;

&lt;span class="k"&gt;[params]&lt;/span&gt;
 &lt;span class="na"&gt;summaryLength&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
 &lt;span class="na"&gt;dateFormat&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'2 Jan 2006'&lt;/span&gt;
 &lt;span class="na"&gt;searchLimit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;

&lt;span class="k"&gt;[params.author]&lt;/span&gt;
 &lt;span class="na"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Keanu Dirkse'&lt;/span&gt;

&lt;span class="k"&gt;[params.links]&lt;/span&gt;
 &lt;span class="na"&gt;hugo&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'https://gohugo.io/'&lt;/span&gt;
 &lt;span class="na"&gt;theme&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'https://github.com/math-queiroz/rusty-typewriter'&lt;/span&gt;

&lt;span class="k"&gt;[[menus.main]]&lt;/span&gt;
 &lt;span class="na"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Posts'&lt;/span&gt;
 &lt;span class="na"&gt;pageRef&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'/posts'&lt;/span&gt;
 &lt;span class="na"&gt;weight&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;

&lt;span class="k"&gt;[[menus.main]]&lt;/span&gt;
 &lt;span class="na"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'About'&lt;/span&gt;
 &lt;span class="na"&gt;pageRef&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'/about'&lt;/span&gt;
 &lt;span class="na"&gt;weight&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;

&lt;span class="k"&gt;[outputFormats]&lt;/span&gt;
 &lt;span class="k"&gt;[outputFormats.SearchIndex]&lt;/span&gt;
  &lt;span class="na"&gt;mediaType&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'application/json'&lt;/span&gt;
  &lt;span class="na"&gt;baseName&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'searchindex'&lt;/span&gt;
  &lt;span class="na"&gt;isPlainText&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;notAlternative&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;

&lt;span class="k"&gt;[mediaTypes]&lt;/span&gt;
 &lt;span class="k"&gt;[mediaTypes.'application/json']&lt;/span&gt;
  &lt;span class="na"&gt;suffixes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'json'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;[outputs]&lt;/span&gt;
 &lt;span class="na"&gt;home&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'HTML'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'RSS'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'SearchIndex'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip on Go Date Formatting:&lt;/strong&gt; Notice &lt;code&gt;dateFormat = '2 Jan 2006'&lt;/code&gt;. Because Hugo uses Go's &lt;code&gt;time&lt;/code&gt; package under the hood, layouts are formatted using Go's reference time (&lt;code&gt;Mon Jan 2 15:04:05 MST 2006&lt;/code&gt;) rather than &lt;code&gt;YYYY-MM-DD&lt;/code&gt; tokens.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Home Page Data &amp;amp; Static Pages
&lt;/h3&gt;

&lt;p&gt;For the Rusty Typewriter home page bio, create &lt;code&gt;data/rtwt/content.yaml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;home&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;greetings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Off on a tangent'&lt;/span&gt;
  &lt;span class="na"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Notes and experiments from Tangent Labs.'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And create an About page at &lt;code&gt;content/about.md&lt;/code&gt; (make sure to include a &lt;code&gt;date&lt;/code&gt; in the front matter so the search index doesn't fall back to &lt;code&gt;1 Jan 0001&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;+++
title = 'About'
date = 2026-11-11T18:00:00+02:00
type = 'blank'
+++

&lt;span class="gu"&gt;# About
&lt;/span&gt;
Hi, I'm Keanu Dirkse. This is where I write about things I'm building and learning.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can now preview your site locally with live reload by running:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hugo server -D
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Continue Reading on My Blog
&lt;/h2&gt;

&lt;p&gt;That covers the initial local setup! In the &lt;strong&gt;full article on my blog&lt;/strong&gt;, I walk through the rest of the production setup and day-to-day workflow, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Locking down &lt;code&gt;.gitignore&lt;/code&gt; so build artifacts and service account keys never get committed&lt;/li&gt;
&lt;li&gt;Configuring &lt;strong&gt;Firebase Hosting&lt;/strong&gt; for static Hugo sites (and why you shouldn't enable SPA mode)&lt;/li&gt;
&lt;li&gt;Automating builds and deployments on every push to &lt;code&gt;main&lt;/code&gt; using &lt;strong&gt;GitHub Actions&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Day-to-day commands for writing posts, previewing drafts, and updating theme submodules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://tangent-labs.co.za/posts/hugo-setup/" rel="noopener noreferrer"&gt;Read the full guide on Off on a tangent →&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>go</category>
      <category>hugo</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>What IDE do you use?</title>
      <dc:creator>Keanu Dirkse</dc:creator>
      <pubDate>Sun, 28 Jul 2024 17:03:54 +0000</pubDate>
      <link>https://dev.to/naicigam28/what-ide-do-you-use-1j2n</link>
      <guid>https://dev.to/naicigam28/what-ide-do-you-use-1j2n</guid>
      <description>&lt;p&gt;Hi everyone!&lt;/p&gt;

&lt;p&gt;I'm curious to see what IDEs are popular in the community right now. I'm currently using VS Code and enjoying it, but I'm also learning how to use neovim&lt;/p&gt;

&lt;p&gt;I'd love to hear about your experiences with different IDEs. What are you using? What do you love about it? Any recommendations for someone trying to decide between a few options?&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Python virtual Environments</title>
      <dc:creator>Keanu Dirkse</dc:creator>
      <pubDate>Sat, 27 Jul 2024 16:39:00 +0000</pubDate>
      <link>https://dev.to/naicigam28/python-virtual-environments-pl2</link>
      <guid>https://dev.to/naicigam28/python-virtual-environments-pl2</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;Essentially this allows you to create an isolated environment for each python application you create. Meaning each application can use difference libraries or even different version of the same library without interfering with each other.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is VENV
&lt;/h2&gt;

&lt;p&gt;A python virtual environment or VENV is a lightweight self-contained directory tree that contains a Python installation for a particular version of python, plus a number of additional packages.&lt;/p&gt;

&lt;p&gt;Each python application you create can use its own virtual environment. This resolves the problem of conflicting requirements between applications.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://docs.python.org/3/library/venv.html" rel="noopener noreferrer"&gt;venv module&lt;/a&gt; is used to create the virtual environment. &lt;/p&gt;

&lt;h2&gt;
  
  
  How to install venv
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;virtualenv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Create a virtual environment
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python &lt;span class="nt"&gt;-m&lt;/span&gt; venv /path/to/new/virtual/environment
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use a virtual environment
&lt;/h2&gt;

&lt;p&gt;For Linux or Mac OS your new venv can be activated by using this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; /path/to/new/virtual/environment/bin/activate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For windows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;\path\to\new\virtual\environment\Scripts\activate.bat
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once activated you should be able to install libraries via pip like you normally would but it will now be installed into you virtual environment&lt;/p&gt;

&lt;h2&gt;
  
  
  Exiting your virtual environment
&lt;/h2&gt;

&lt;p&gt;Just like with activation venv provides a handy deactivate script. For Linux or Mac OS your new venv can be deactivated by using this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;deactivate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or if that does not work:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; /path/to/new/virtual/environment/bin/deactivate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For windows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;\path\to\new\virtual\environment\Scripts\deactivate.bat
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why should you use a virtual environment
&lt;/h2&gt;

&lt;p&gt;When you run Python and its libraries from the system, you are restricted to a specific Python version chosen by your operating system. This approach can lead to version conflicts among the libraries when running multiple Python applications on the same installation. Additionally, modifying the system Python may disrupt other OS features that rely on it. Using a virtual environment isolates each application thus solving this problem.&lt;/p&gt;

</description>
      <category>python</category>
    </item>
    <item>
      <title>How to update your npm packages with npm-check</title>
      <dc:creator>Keanu Dirkse</dc:creator>
      <pubDate>Sun, 21 Jul 2024 12:32:03 +0000</pubDate>
      <link>https://dev.to/naicigam28/update-your-npm-packages-with-npm-check-45ii</link>
      <guid>https://dev.to/naicigam28/update-your-npm-packages-with-npm-check-45ii</guid>
      <description>&lt;p&gt;A quick guide to updating all of your outdated npm packages using  &lt;a href="https://www.npmjs.com/package/npm-check" rel="noopener noreferrer"&gt;npm-check&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use npm-check
&lt;/h2&gt;

&lt;h3&gt;
  
  
  See what is outdated
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx npm-check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;npm-check is a tool that checks for outdated, incorrect, and unused dependencies. This will tell you if anything needs updating. The above command will run the tool via npx. &lt;/p&gt;

&lt;p&gt;NPX stands for Node Package execute. It allows developers to run any Javascript package on NPM without needing to install the package first&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg9nha5faajjfmmr3ltin.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg9nha5faajjfmmr3ltin.png" alt="screenshot of npx npm-check output" width="800" height="132"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Update packages via npm-check
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Interactive update
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx npm-check -u
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This allows you to choose which packages to update&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgj15lo6ueycx4xw0kqn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgj15lo6ueycx4xw0kqn.png" alt="screenshot of npx npm-check -u output" width="800" height="192"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Update all
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx npm-check -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will update all your packages without prompting you. Use with caution as some updates may include breaking changes&lt;/p&gt;

&lt;h2&gt;
  
  
  Updating using npm update
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm update --save
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This updates the package.json to use the latest versions of their dependencies. It is worth noting that this will avoid updating to a major breaking change version.&lt;/p&gt;

</description>
      <category>npm</category>
      <category>node</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
