---
title: "Discussion on \"how to install yarn for a Ruby on Rails application?\" | Hashnode"
description: "Discussion on \"how to install yarn for a Ruby on Rails application?\". Open a terminal\n\nInsert the keys\ncurl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -\necho \"deb https://dl.yarnpkg.com/debian/ stable main\" | sudo tee /etc/apt/sources.list.d/yarn.list\n\n\nUpdate the repository\nsudo apt update\n\n\nInsta..."
url: "https://hashnode.com/posts/how-to-install-yarn-for-a-ruby-on-rails-application/66423f3208e56f95e3cf3cc2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [how to install yarn for a Ruby on Rails application?](https://blog.alexandrecalaca.com/how-to-install-yarn-for-a-ruby-on-rails-application?utm_source=hashnode&utm_medium=feed)

Open a terminal Insert the keys curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list Update the repository sudo apt update Insta...

May 13, 2024 · 1 min read · blog.alexandrecalaca.com  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#alexandrecalaca](https://hashnode.com/tag/alexandrecalaca)
-   [#yarn](https://hashnode.com/tag/yarn)

## Written by

[Alexandre Calaça](https://hashnode.com/@alexandrecalaca)

@alexandrecalaca

  
[View profile](https://hashnode.com/@alexandrecalaca)

I'm a passionate software developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
