<?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: Eray Chumak</title>
    <description>The latest articles on DEV Community by Eray Chumak (@eray_chumak).</description>
    <link>https://dev.to/eray_chumak</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1535695%2Fe88a6f7a-07ff-45f3-8120-8ea455a7ca73.png</url>
      <title>DEV Community: Eray Chumak</title>
      <link>https://dev.to/eray_chumak</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eray_chumak"/>
    <language>en</language>
    <item>
      <title>How to install Aseprite on Windows 11 (2024 - Guide)</title>
      <dc:creator>Eray Chumak</dc:creator>
      <pubDate>Mon, 27 May 2024 19:38:38 +0000</pubDate>
      <link>https://dev.to/eray_chumak/how-to-install-aseprite-on-windows-11-2024-guide-4ea</link>
      <guid>https://dev.to/eray_chumak/how-to-install-aseprite-on-windows-11-2024-guide-4ea</guid>
      <description>&lt;p&gt;This guide is intended for users of Windows 11/10 and assumes prior experience with the terminal and Git.&lt;/p&gt;




&lt;h2&gt;
  
  
  Motivation
&lt;/h2&gt;

&lt;p&gt;I had a rocky experience following the &lt;code&gt;INSTALL.md&lt;/code&gt; guide to install Aseprite on Windows. At the time of writing, it was updated 8 months ago. I tried contributing an update to help organise it with tables and dropdowns but it was rejected for valid reasons &lt;em&gt;(&lt;a href="https://github.com/aseprite/aseprite/pull/4463"&gt;see original PR&lt;/a&gt;)&lt;/em&gt;. Not wanting to go through the long process of starting an issue and discussion on their repo, I thought it best to simplify even more and just publish a brief article guide on how to install Aseprite on Windows 11 in 2024 from my own experience.&lt;/p&gt;

&lt;p&gt;Hopefully, you find this useful 😁&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Get the source code
&lt;/h2&gt;

&lt;p&gt;Clone the repository and all its submodules using the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone &lt;span class="nt"&gt;--recursive&lt;/span&gt; https://github.com/aseprite/aseprite.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To update an existing clone:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pull
git submodule update &lt;span class="nt"&gt;--init&lt;/span&gt; &lt;span class="nt"&gt;--recursive&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Dependencies
&lt;/h2&gt;

&lt;p&gt;To compile Aseprite you will need:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dependency&lt;/th&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Note&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://cmake.org"&gt;CMake&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Latest &lt;em&gt;(minimum v3.16)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;Make available in PATH&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://ninja-build.org"&gt;Ninja&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Latest&lt;/td&gt;
&lt;td&gt;Make available in PATH&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/aseprite/skia/releases"&gt;aseprite/Skia&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Skia-m102&lt;/td&gt;
&lt;td&gt;Follow their release notes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;Visit the links for more information on how to download pre-built packages or compile them yourself.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;You will also need:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://visualstudio.microsoft.com/downloads/"&gt;Visual Studio Community 2022&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Using &lt;code&gt;Visual Studio Installer&lt;/code&gt;, install the &lt;code&gt;Desktop development with C++&lt;/code&gt; item with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Windows 10 SDK (10.0.18362.0)&lt;/li&gt;
&lt;li&gt;MSVC v143 - VS 2022 C++ x64/x86 build tools &lt;em&gt;(or later version)&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Compiling
&lt;/h2&gt;

&lt;p&gt;For some of the commands below, make sure they point to the correct paths as they can be different on your system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.1 Create a build folder inside &lt;code&gt;./aseprite&lt;/code&gt;&lt;/strong&gt;&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;cd&lt;/span&gt; ./aseprite
&lt;span class="nb"&gt;mkdir &lt;/span&gt;build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Remove &lt;code&gt;build&lt;/code&gt; folder and start again if you want fresh copy of Aseprite.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;3.2 Enter the VS 2022 Dev CMD Env.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;call &lt;span class="s2"&gt;"C:&lt;/span&gt;&lt;span class="se"&gt;\P&lt;/span&gt;&lt;span class="s2"&gt;rogram Files&lt;/span&gt;&lt;span class="se"&gt;\M&lt;/span&gt;&lt;span class="s2"&gt;icrosoft Visual Studio&lt;/span&gt;&lt;span class="se"&gt;\2&lt;/span&gt;&lt;span class="s2"&gt;022&lt;/span&gt;&lt;span class="se"&gt;\C&lt;/span&gt;&lt;span class="s2"&gt;ommunity&lt;/span&gt;&lt;span class="se"&gt;\C&lt;/span&gt;&lt;span class="s2"&gt;ommon7&lt;/span&gt;&lt;span class="se"&gt;\T&lt;/span&gt;&lt;span class="s2"&gt;ools&lt;/span&gt;&lt;span class="se"&gt;\V&lt;/span&gt;&lt;span class="s2"&gt;sDevCmd.bat"&lt;/span&gt; &lt;span class="nt"&gt;-arch&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;x64
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3.3 Run cmake inside &lt;code&gt;./aseprite/build&lt;/code&gt;:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cmake &lt;span class="nt"&gt;-DCMAKE_BUILD_TYPE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;RelWithDebInfo &lt;span class="nt"&gt;-DLAF_BACKEND&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;skia &lt;span class="nt"&gt;-DSKIA_DIR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;C:&lt;span class="se"&gt;\d&lt;/span&gt;eps&lt;span class="se"&gt;\s&lt;/span&gt;kia &lt;span class="nt"&gt;-DSKIA_LIBRARY_DIR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;C:&lt;span class="se"&gt;\d&lt;/span&gt;eps&lt;span class="se"&gt;\s&lt;/span&gt;kia&lt;span class="se"&gt;\o&lt;/span&gt;ut&lt;span class="se"&gt;\R&lt;/span&gt;elease-x64 &lt;span class="nt"&gt;-DSKIA_LIBRARY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;C:&lt;span class="se"&gt;\d&lt;/span&gt;eps&lt;span class="se"&gt;\s&lt;/span&gt;kia&lt;span class="se"&gt;\o&lt;/span&gt;ut&lt;span class="se"&gt;\R&lt;/span&gt;elease-x64&lt;span class="se"&gt;\s&lt;/span&gt;kia.lib &lt;span class="nt"&gt;-G&lt;/span&gt; Ninja ..
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;No MinGW support. See info within &lt;a href="https://github.com/aseprite/aseprite/issues/2449"&gt;Issue #2449&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;3.4 Run ninja in &lt;code&gt;aseprite/build&lt;/code&gt; folder&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ninja aseprite
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can find the executable inside &lt;code&gt;./aseprite/build/bin/aseprite.exe&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Attributions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The official &lt;code&gt;INSTALL.md&lt;/code&gt; guide can be found on their &lt;a href="https://github.com/aseprite/aseprite/blob/main/INSTALL.md"&gt;official repository&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;The cover image is a screenshot from their &lt;a href="https://www.aseprite.org/"&gt;official website&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Hopefully, this guide helps you install Aseprite locally on your machine.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
