Should not be confused with the volitional form (〜oう), which conjugates to 〜よう for 一段 verbs, e.g. 食べよう = let's eat.

"In order to do (...)"

when combined with the particle , it shows a requirement. denotes that an actions is taken in order to get closer to an objective.
It's like 'for the purpose of', 'for the sake of', 'in order to'
ように is used when there is no freedom of decision, ために is used when someone can choose.

風邪を引かないように、暖かい服装をする。 So that I don't catch a cold, I wear warm clothes.

約束の時間に間に合うように、急いで行きます。 In order to be in time for the appointment, I will hurry.

ために vs ように

(...)-like

it can also be used to describe that something is like another. This is when it isnoun+ , going with a particle.

彼は君のようだ He is just like you.

ヨーダは宇宙人のようだ。 Yoda appears to be like an alien

魚のように泳ぐ To swim like a fish

ように思う

Also often used in conjunction with 思う. Here the meaning is along the lines of "To think it is like that", denoting you are not entirely sure.

名刺は大切なように思う。 I think that business cards are important

ラーメンは中国の料理のように思う。 I think that ramen is a Chinese food.

ようになる

Combined with なる it implies that something has become (...)-like

君のようになりました He became just like you

野菜だけ食べるようになりました。 I started to eat only vegetables (lit. I became as one who only eats vegetables)

ようにする

combining with する is a very often used construction to indicate that you will 'make it to be a certain way'.

明日早く起きるようにする I will try to make sure that I wake up early tomorrow

それを忘れないようにするI'll be sure to remember that.

Requests and Commands

Specifically when receiving commands, ように denotes what you are told to do.

毎日勉強するように言われました。 I was told to study daily.

本を買うように頼まれた I was requested to buy that book.

It seems that (...)

it can also be used to denote uncertain observations. よう(だ) is usually based on direct information/experience, so they are very confident.

  • 例え - Using (A) as an example to highlight the way that (B) looks/is acting.
  • 推定 - Using (A) as a reason for an assumption made about (B).
  • {例示|れいじ} - Presenting (A) as an example of what (B) is.

It goes directlyverb+ and形容詞+ .

ここに大きなビルが出来るようだIt looks like a big building will be built here.

あそこのプールは深い様だ。 That pool appears to be deep.

形容動詞+, the な must still be used.

本当は==不安ようだ==。 In reality, he seems anxious.

そうだ vs らしい vs みたい vs ようだ vs なんだって jlpt sensei ようにする bunpro ようだ